Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
qtws26_logo

The Qt Event of the Year: Qt World Summit 2026

Save Your Spot >
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. reading through view
Qt 6.12 LTS is out! See what's new in the release blog

reading through view

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 424 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.
  • NevezN Offline
    NevezN Offline
    Nevez
    wrote on last edited by
    #1

    hello, there is a tableview with a data model loaded in it.
    I want the keyboard to focus there by clicking on this view and depending on the letter I entered from the keyboard.

    If the letters I entered match the data on the view, that area should be blue as in the picture.

    In this way, I can find the data I want to find by pressing the letters on the view.
    How can I do this, can you give me an idea?
    0661d5f7-a607-4fd9-9901-363b27ea4447-image.png

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      One possible way could be to use an event filter with a search (or rather use the match method) applied to the column currently selected.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt
      • Unsolved