[SOLVED]How to open specific tab on pushbutton clicked in tabwidget?
-
I have a tabwidget . Which has Tab1 and Tab2. each tab has a Tableview.
How to make the tab1 to be opened on the pushbutton clicked ?
Is this the right way?ui->tab1->setFocus();
-
I think that will put the focus on the tab name.
Try setCurrentIndex(int index) -
This post is deleted!
2/4