Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Get current focus item
QtWS25 Last Chance

Get current focus item

Scheduled Pinned Locked Moved QML and Qt Quick
3 Posts 2 Posters 3.9k 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.
  • V Offline
    V Offline
    vulee
    wrote on last edited by
    #1

    Is there a way to query which item currently has focus? or I have to traverse the tree and ask which item has focus?

    Thanks

    1 Reply Last reply
    0
    • EddyE Offline
      EddyE Offline
      Eddy
      wrote on last edited by
      #2

      The idea is that you use an id in your model and in a signal you use that information.

      Have a look at "this learning guide":http://get.qt.nokia.com/developerguides/qtquicksymbian/ProgrammingQtQuick4SymbianHarmattanDevices.pdf

      Qt Certified Specialist
      www.edalsolutions.be

      1 Reply Last reply
      0
      • V Offline
        V Offline
        vulee
        wrote on last edited by
        #3

        Thanks for the link.

        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