Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Unsolved QCompleter question

    General and Desktop
    2
    4
    170
    Loading More Posts
    • 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.
    • F
      Fuchsiaff last edited by

      Is there a way to have the completer pop up when the user has typed 3 words that are in an array that is passed to QCompleter?

      Going by example found here https://doc.qt.io/qt-5/qtwidgets-tools-customcompleter-example.html

      I tried something myself but I wasn't able to do it so could someone help? :)

      JonB 1 Reply Last reply Reply Quote 0
      • JonB
        JonB @Fuchsiaff last edited by

        @Fuchsiaff
        I think you should clarify just what you mean by "user has typed 3 words that are in an array that is passed to QCompleter"?

        1 Reply Last reply Reply Quote 1
        • F
          Fuchsiaff last edited by

          Well that is clarified in the example link I posted, its just there the completion popup is activated by a key shortcut like (Ctrl+E) but I want it to always suggest popups when the user is typing

          F 1 Reply Last reply Reply Quote 0
          • F
            Fuchsiaff @Fuchsiaff last edited by

            @Fuchsiaff

            When assigning true to isShortcut then the completer popup only appears when pressing CTRL or Shift

            1 Reply Last reply Reply Quote 0
            • First post
              Last post