Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QCompleter substring queries

QCompleter substring queries

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 1.4k 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.
  • A Offline
    A Offline
    arnabkum
    wrote on last edited by
    #1

    I have a QCompleter with the wordlist

    @QStringList wordlist;
    wordlist << "a x" << "b x" << "c x" << "d y"@

    Which method would I need to reimplement to make the QCompleter suggest
    @
    "a x"
    "b x"
    "c x"@

    if I type "x" in a QLineEdit that has the custom QCompleter as it's completer?

    Note: I'm not looking for a solution here, but rather asking which method determines the results of the query. I need to manipulate the query method much further than this simple example.

    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