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. How to make QCompleter always emit activated on one click or one touch
Forum Updated to NodeBB v4.3 + New Features

How to make QCompleter always emit activated on one click or one touch

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 346 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.
  • D Offline
    D Offline
    developer-123 0
    wrote on last edited by
    #1

    I'm using QCompleter on Desktop and Android with sqlite database
    it works very well on Desktop however I'm facing some trouble on Android

    on windows the completer disappears when I click on a item and emits activated and this is very well
    but sometimes when I click on an item the item is highlighted only and the completer popup still visible and I need to click again to emit the activated signal

    on Android I always need to touch the item two times : the first highlights it and the second disappears the popup and emits signal activated

    I want the behavior to always be one click or one touch

    JonBJ 1 Reply Last reply
    0
    • D developer-123 0

      I'm using QCompleter on Desktop and Android with sqlite database
      it works very well on Desktop however I'm facing some trouble on Android

      on windows the completer disappears when I click on a item and emits activated and this is very well
      but sometimes when I click on an item the item is highlighted only and the completer popup still visible and I need to click again to emit the activated signal

      on Android I always need to touch the item two times : the first highlights it and the second disappears the popup and emits signal activated

      I want the behavior to always be one click or one touch

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

      @developer-123-0
      You say:

      it works very well on Desktop

      but also

      on windows [...] but sometimes when I click on an item the item is highlighted only and the completer popup still visible and I need to click again

      You seem to be saying it always works on desktop but sometimes it does not? Which is it?

      I don't know about Android, but it works consistently always for me on desktop (Linux & Windows).

      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