how to change the "tab order"?
Hi all,
I want to reorder the "tab order" of my QMainWind's child widgets( like the widgets in all the dock widgets ).
One problem is that i don't know how to find all the children in the tab chain,
the other is that the tab order doesnt recycle.
Anybody tell me how to solve this2?
Thanks in advance.
Re: how to change the "tab order"?
for example:
Quote:
QTabWidget myTabWidget
for ( int i = 0 ; i < myTabWidget.count() ; i++ )
{
QWidget * yourWidget = myTabWidget.widget(i);
// do what you want to do here
}
// then you can call insertTab() to reorder them
Re: how to change the "tab order"?
I think he means "tab order" as in QWidget::setTabOrder(). :)