Details
-
Suggestion
-
Resolution: Out of scope
-
Not Evaluated
-
None
-
None
Description
Sometimes, when the user clicks on a new tab, it is necessary to know the tab that was previously selected. With the current implementation of QTabBar that's not possible. In Qt3, setCurrentTab() was virtual, so it could be worked around. The ideal solution is probably having a signal with two parameters, similar to the already existing one, but also carrying the old tab ID: QTabBar::currentChanged(int oldIndex, int newIndex)