How is this handled for QTabWidget s? How is the tab order within them set? I'd like to tab into widgets contained within a QTabWidget, not past them.
How is this handled for QTabWidget s? How is the tab order within them set? I'd like to tab into widgets contained within a QTabWidget, not past them.
I find the docs pretty handy...
QTabWidget
count
current index
If you have a problem, CUT and PASTE your code. Do not retype or simplify it. Give a COMPLETE and COMPILABLE example of your problem. Otherwise we are all guessing the problem from a fabrication where relevant details are often missing.
You misunderstood my question or you don't know. Tab order is the order in which widgets obtain focus, when the user presses the tab key on the keyboard. I create the static part on my dialog, then add contents to the tab bar (contents = QWidget). Hence these contents are created last and hence are last in the tab order. I'd like to change this.
Here is the correct answer:
http://doc.qt.io/qt-4.8/http://qt-project.org/doc/qt-4.8/qwidget.html#setTabOrder
Bookmarks