[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: substring completion in KLineEdit
From: Oszkar Ambrus <oszkar.ambrus () deri ! org>
Date: 2009-10-23 19:32:00
Message-ID: 4AE204B0.4090700 () deri ! org
[Download RAW message or body]
On 23/10/09 20:14, Aleix Pol wrote:
> You can do quite a lot of things with QCompleter, you can check the
> ExpressionEdit class in KAlgebra
> (trunk/kdeedu/kalgebra/src/expressionedit.cpp). I'm not sure about what
> you mean by substringCompletion, but i think you can check in that code
> and you will find it.
Thanks for the example. But it uses QCompleter, and it only does prefix
completion.
KCompletion::substringCompletion() returns the completion list based on
sub-string checking. That means it doesn't just do prefix checking.
It's just what Firefox does: when you type something into the address
bar, it lists everything that has that expression in it.
>
> Enjoy,
> Aleix
>
>
> ------------------------------------------------------------------------
>
>
>>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
--
Oszkár Ambrus
"Whoever believes in the Son [Jesus Christ] has eternal life"
(John 3:36)
Masters Student, Digital Enterprise Research Institute, NUIG
[http://www.deri.ie]
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic