Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
How to capture tab/tab icon click event in QToolBox to collapse/expand items
ManasQt last edited by
Is there a way to change QToolBox tab index by clicking on the tab/tab icon?
Here i am trying to collapse/expand tabs based on the tab's status weather it needs to be expanded or collapsed.
I didn't find any signal/slot for it which will help in my case. I see that tab indexes can be changed only by clicking on another tab other than the current one.
I am not able to figure it out on, how to make tabs to behave like expand and collapse when user clicks on it just like QTreeView nodes behavior.
Thanks in advance.