QCompleter: how to customize the prefix search to match either first or last name
Is is possible to customize the QCompleter matching function? I have a list of names (first and last) and I'd like the completer to accept matches against either the first or last name. For example, with given the following list of names:
I would like the completer to suggest both "Aaron" and "Bob Aaronson" as completions for "aar". Is this possible or do I have to write my own completer from scratch?
Anyone? Anyone? Bueller?