QLineEdit && use popup similar to QCompleter



  • Hi all,
    I need to implement my own "completer" for a QLineEdit because QCompleter doesn't filter using QRegExp.
    I have a data model and a QSortFilterProxyModel to filter in data.
    I actually show filtered data in a QListView that is showed in the right of QLineEdit.

    How can I show the QListView as the QCompleter popup?

    I tried to read QLineEdit source but I think there isn't what I need.

    Thanks.


  • Moderators

    "Have a look at this post :":http://developer.qt.nokia.com/forums/viewthread/7719

    Edit : but you know that thread already because you started it...



  • Please don't open multiple topics on the same issue. I am closing this issue, please continue the discussion in the topic indicated by Eddy.



  • It doesn't seem to be a real duplicate, so I reopen it after discussion with other moderators. I'll edit the other thread to keep things clean.
    Thanks!



  • [quote author="Alexandra" date="1311153765"]It doesn't seem to be a real duplicate, so I reopen it after discussion with other moderators. I'll edit the other thread to keep things clean.
    Thanks![/quote]

    Thanks!


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.