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. QListview default key processing
Forum Updated to NodeBB v4.3 + New Features

QListview default key processing

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 152 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.
  • G Offline
    G Offline
    gahisee
    wrote on 23 Jul 2023, 10:31 last edited by
    #1

    In my tests, it looks like QListview processes both "s" and "c" as down-arrow; it selects the next item in the listbox.

    Is this built-in handling documented?
    This caused problems in my eventFilter for keyboard and doing searches.

    C 1 Reply Last reply 23 Jul 2023, 14:30
    0
    • G gahisee
      23 Jul 2023, 10:31

      In my tests, it looks like QListview processes both "s" and "c" as down-arrow; it selects the next item in the listbox.

      Is this built-in handling documented?
      This caused problems in my eventFilter for keyboard and doing searches.

      C Online
      C Online
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on 23 Jul 2023, 14:30 last edited by
      #2

      @gahisee said in QListview default key processing:

      In my tests, it looks like QListview processes both "s" and "c" as down-arrow; it selects the next item in the listbox.

      It does not. Please provide a minimal, compilable example for this behavior. Also since Qt is open source you can look by yourself what a keypress is doing for the QListView.

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      1 Reply Last reply
      1

      1/2

      23 Jul 2023, 10:31

      • Login

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