+ 1
QT Combobox | Editable but not able to filter based on text
Hi I have created a combo box using QT's QComboBox. I make it editable by setEditable and now it allows me to write any random value on combo box. What I need is filtrations. For example, I have a combo box with values filled as ketan, india, junagadh,kamal. If I type k, it should show me ketan and kamal as both of these two items are available in combo box. seteditable makes me type k now, but it still does not show applicable items present in combo based on typed text. Am i missing anything ? How to achieve this?
2 Réponses
+ 1
QCompleter?
https://doc.qt.io/qt-6/qcompleter.html
0
Let me check it.