How to create and delete QCompleter's same object multiple times?
Hello Everyone,
I don't know much more about QCompleter.
Can somebody help me to understand " How QCompleter exactly work"?
And how can I create and delete QCompleter's same object multiple times?
Thanks,
Re: How to create and delete QCompleter's same object multiple times?
QCompleter watches the widget it is attached to and looks up the value in the completer's model when the text changes. The completer then displays the result(s) in whatever format it has been configured to use.
Quote:
And how can I create and delete QCompleter's same object multiple times?
Sorry, no idea what you mean.
Re: How to create and delete QCompleter's same object multiple times?
Thanks for your reply,
Actually, I want a completer, set on Qlineedit.
Qlineedit should hold comma separated value like:
c,c++,php,python,qt........
when I enter c, the completer should give me list of both c and c++. On entering any of them(c/c++), then I want to enter "," and then "p".
So the completer should give me again two option(php and python).
That's why I'm asking to you that how to use QCompleter's same object many time?
Re: How to create and delete QCompleter's same object multiple times?