Reputation: 605
Is there a way to get the currently selected tab's number/index? I have a dictionary of tabs but I need to be able to get the currently active one.
Upvotes: 5
Views: 12570
Reputation:
You can call currentIndex()
on the TabWidget to get the currently selected tab.
Upvotes: 8