[SOLVED]How to open specific tab on pushbutton clicked in tabwidget?
Ratzz last edited by Ratzz
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?
I think that will put the focus on the tab name.
Try setCurrentIndex(int index)
This post is deleted!
Ratzz last edited by
Thanks for the reply.
I tried using setCurrentIndex which helped me out .