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.
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.
Use can use this signal
Qt Code:
To copy to clipboard, switch view to plain text mode
When you know how to do it then you may do it wrong.
When you don't know how to do it then it is not that you may do it wrong but you may not do it right.
sargeslash (18th January 2013)
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
I will say one won't even need to search for such simple things. They can be found stright away in Qt Documentation.
When you know how to do it then you may do it wrong.
When you don't know how to do it then it is not that you may do it wrong but you may not do it right.
Bookmarks