How to capture tab/tab icon click event in QToolBox to collapse/expand tabs
-
Hi All, Is there a way to change QToolBox tab index by clicking on the tab/tab icon?
In QToolBox widget, i am trying to get the behavior of expand/collapse tabs based on the tab status weather it needs to be expanded or collapsed.
I didn’t find any signal/slot which will expand/collapse when i click on the current tab. I see that tab indexes can be changed only by clicking on another tab other than the current one.how to make tabs to behave like expand and collapse when user clicks on them just like QTreeView nodes behavior.
Thanks in advance.