PDA

View Full Version : changing default QCompleter ?



hicpalm
3rd March 2008, 07:15
hello,
how to get QCompleter giving possibilities "containing" a "word" and not only "begining" with "word" ?
thanks .

wysota
3rd March 2008, 07:21
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).

hicpalm
3rd March 2008, 10:49
thanks ... I'll try it !