And how it should work if the combo box would be not editable? Make it editable and, as wysota said, it would be working as a completer.How can I use completer in QComboBox when I use editable=false ?
And how it should work if the combo box would be not editable? Make it editable and, as wysota said, it would be working as a completer.How can I use completer in QComboBox when I use editable=false ?
I would like to be a "Guru"
Useful hints (try them before asking):
- Use Qt Assistant
- Search the forum
If you haven't found solution yet then create new topic with smart question.
olosie (16th May 2009)
You will need to write your own completer for that and set on combo box (QComboBox::setCompleter) .
You can have look at QCompleter examples in Tools section in Qt Demos.
olosie (16th May 2009)
You need to write to search, dont you ?
And by making combobox editable, it doesnt mean you can chage the existing entries. I guess combobox adds entries when u press return, but that behaviour can be easily overriden.
olosie (16th May 2009)
Can you explain what you try to achieve ?
You have told us what you have tried, but ur goals are still not clear. Might be there is a better way![]()
Bookmarks