Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
[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?
Jeroen3 last edited by
I think that will put the focus on the tab name.
Try setCurrentIndex(int index)
Christopher last edited by
This post is deleted!
Ratzz last edited by
Thanks for the reply.
I tried using setCurrentIndex which helped me out .