Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Autocomplete based on partial/mid-string matches for QComboBox



  • Hi guys, part of my program sends the current index string of a QComboBox to an excel file when the index is changed. I have a rather large list of items (~200) that I would like to have in the box, and accessible through autocomplete. The problem right now is that the autocomplete function only returns suggestions based on the beginning of a string, and I would like it to return matches based any part of a string (i.e. I would like 'bc' entered in ComboBox with item 'abc' to return 'abc').

    Is this possible?

    Thanks!



  • hi
    @GIkon said in Autocomplete based on partial/mid-string matches for QComboBox:

    autocomplete function

    Can you show that function ?


Log in to reply