Results 1 to 3 of 3

Thread: changing default QCompleter ?

  1. #1
    Join Date
    Feb 2008
    Posts
    9
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default changing default QCompleter ?

    hello,
    how to get QCompleter giving possibilities "containing" a "word" and not only "begining" with "word" ?
    thanks .

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: changing default QCompleter ?

    I don't think QCompleter is able to handle that. I suggest you use a QSortFilterProxyModel and implement your own completer based on that (hard to call it a "completer" though... it's rather just an incremental searcher).

  3. #3
    Join Date
    Feb 2008
    Posts
    9
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: changing default QCompleter ?

    thanks ... I'll try it !

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.