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. QTreeView moves cursor between items when symbol keys are pressed: how to modify / override this behavior?

QTreeView moves cursor between items when symbol keys are pressed: how to modify / override this behavior?

Scheduled Pinned Locked Moved General and Desktop
2 Posts 1 Posters 586 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.
  • V Offline
    V Offline
    Violet Giraffe
    wrote on last edited by
    #1

    This is the desired behavior for my app, but there's a twist: some item names are decorated. For example, wrapped in brackets like so: [name]. Obviously, as I type "name" the cursor doesn't move since the actual item display name starts with a bracket. Can I somehow override this to operate on a non-decorated original name? Or better yet, to search with contains() instead of startsWith()?

    1 Reply Last reply
    0
    • V Offline
      V Offline
      Violet Giraffe
      wrote on last edited by
      #2

      Any advice?..

      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