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. Select table with tab key

Select table with tab key

Scheduled Pinned Locked Moved Solved QML and Qt Quick
4 Posts 3 Posters 977 Views 2 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.
  • SikarjanS Offline
    SikarjanS Offline
    Sikarjan
    wrote on last edited by
    #1

    Hi,

    I would like to select a table (tableView element) in my GUI but so far I can only switch between my comboboxes. How can I make a table accessible? Do I need to set a tab sequence or something like that?

    Thanks

    p3c0P 1 Reply Last reply
    0
    • SikarjanS Sikarjan

      Hi,

      I would like to select a table (tableView element) in my GUI but so far I can only switch between my comboboxes. How can I make a table accessible? Do I need to set a tab sequence or something like that?

      Thanks

      p3c0P Offline
      p3c0P Offline
      p3c0
      Moderators
      wrote on last edited by
      #2

      Hi @Sikarjan
      Try setting activeFocusOnTab.

      157

      1 Reply Last reply
      0
      • J Offline
        J Offline
        JordanHarris
        wrote on last edited by JordanHarris
        #3

        If you want to set up a custom tab focus chain, you can try to use KeyNavigation to do so. Something like this:

        ComboBox {
            id: combo1
            //... 
            KeyNavigation.tab: combo2
        } 
        
        ComboBox {
            id: combo2
            //... 
            KeyNavigation.tab: table
        } 
        
        TableView {
            id: table
            //... 
            KeyNavigation.tab: combo1
        } 
        
        1 Reply Last reply
        0
        • SikarjanS Offline
          SikarjanS Offline
          Sikarjan
          wrote on last edited by
          #4

          Thanks for the help!

          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