How to get currentTabName from QTabWidget on Qt?

Viewed 471

QTabWidget has a property called currentTabName.

enter image description here

How can I access the currentTabName by code?

I need to check what tab is selected, but I can't use the tab text (tabText) because it is translatable and may change and I don't want to use the tab index (currentIndex) because the index may change in the future.

I'm using Qt 5.3

1 Answers
Related