[Qt-creator] QCompleter with Regular Expresion

Freddy Martinez Garcia freddy311082 at gmail.com
Fri Jul 31 20:09:32 CEST 2015


I can't use combobox because the lineedit is used for searching...

about the QSirtFilterProxyModel, the problems is that QComplet build his
own model inside when you give him a model... is what i'm seeing in its
behavior...

for that is my question

regards




*============================================="El tamaño de tus logros
depende del tamaño de tus metas." *

*C++ and Qt Senior Developer*

*Lic. Computer Science*

*Buenos Aires, Argentina*


2015-07-31 13:29 GMT-03:00 Tomaz Canabrava <tcanabrava at kde.org>:

>
>
> On Fri, Jul 31, 2015 at 1:20 PM, Freddy Martinez Garcia <
> freddy311082 at gmail.com> wrote:
>
>> Hi guys... can I use regular expressions with QCompleter ???
>>
>
> You cant easily do that ( unless you override the model that QCompleter
> has ), but you can use a QSortFilterProxyModel and a QComboBox with the
> same effect.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20150731/397711f5/attachment.html>


More information about the Qt-creator mailing list