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. Strange tab ordering
Forum Updated to NodeBB v4.3 + New Features

Strange tab ordering

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

    Ok, so I have some weird behavior that I cannot wrap my head around.

    I have a Form with a lineEditField at the top followed by a tab box form (defined in another ui file) containing children that are also lineEditFields. At the bottom of the form is a save button, reset button, and close button.

    I have no problem setting the tab order between the top lineEditField and three buttons on the bottom. I am comfortable doing that through code and qtDesigner.

    The tab box is populated when the form is opened by the user. You cannot set the tab ordering through qtDesigner or code beforehand because it is dynamically generated.

    The tab order acts oddly when I try to add the children of the tab box. I am trying to add them directly after the top lineEditField. They are added but they always occur after the close button of the main form. It is as if Qt always tabs through the top level form first and then tabs through the contained forms. Is there a known way to have tab ordering to jump in and out of two forms?

    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