View Full Version : How to determine which tab is selected from QTabWidget
sargeslash
18th January 2013, 12:58
I have 4 tabs in a QTabWIdget, I want to be notified each time I switch a tab.
I have to perform certain condition check with each tab switch, such as I can perform certain function if tab1 is selected and same for all four tabs.
Santosh Reddy
18th January 2013, 13:13
Use can use this signal
void QTabWidget::currentChanged ( int index ) [signal]
sargeslash
18th January 2013, 13:50
Yes thanks a lot, but I feel stupid now for posting here before searching a bit, I actually found the solution
Any how thanks for the reply
Santosh Reddy
18th January 2013, 13:53
I will say one won't even need to search for such simple things. They can be found stright away in Qt Documentation. :cool:
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.