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 question

QCompleter question

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 2 Posters 412 Views
  • 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 Offline
    F Offline
    Fuchsiaff
    wrote on last edited by
    #1

    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? :)

    JonBJ 1 Reply Last reply
    0
    • F Fuchsiaff

      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? :)

      JonBJ Offline
      JonBJ Offline
      JonB
      wrote on last edited by
      #2

      @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
      1
      • F Offline
        F Offline
        Fuchsiaff
        wrote on last edited by
        #3

        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
        0
        • F Fuchsiaff

          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 Offline
          F Offline
          Fuchsiaff
          wrote on last edited by
          #4

          @Fuchsiaff

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

          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