Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt for Python
  4. Autocomplete based on partial/mid-string matches for QComboBox

Autocomplete based on partial/mid-string matches for QComboBox

Scheduled Pinned Locked Moved Unsolved Qt for Python
2 Posts 2 Posters 452 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    GIkon
    wrote on last edited by
    #1

    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!

    ODБOïO 1 Reply Last reply
    0
    • G GIkon

      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!

      ODБOïO Offline
      ODБOïO Offline
      ODБOï
      wrote on last edited by
      #2

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

      autocomplete function

      Can you show that function ?

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved