3

We want to use QCompleter for searching in a list of items and everything is fine, except just one thing:

QCompleter does a search using "partial match at the beginning" instead of "partial match anywhere". IOW:

Actual: searching for 'doc' will return 'dock', 'doctor' etc.

Expected: searching for 'doc' will return 'dock' but also 'undocked' etc.

John Thomas
  • 4,075
  • 3
  • 29
  • 41
  • 1
    I just updated the solutions in the thread this one is marked as duplicate to. It simplifies the process a little and might be of use for you. – P.R. Oct 18 '14 at 13:24

0 Answers0