The standard QCompleter classs uses completionPrefix to search for all completions, so all the completions have the same prefix which is completionPrefix, what i want to achieve is this:if the string in the completion model contains the chars under the cursor,it should appear in the completion, and i also want to use different rules to decide which should appear in the completions.
For example:
the completion model:QListModel<<"manual"<<"anual"
When i type 'nual', i want both "manual" and "anual" appear in the completion, because they both contains "nual",so how can i achieve this?
I don't know how to change the completion rule,it seems that the standard QCompleter use prfix matching to find completions.
Any suggestions?
Bookmarks