Hello all,
I had implemented my own vertical tabwidget for Qt3.3 using QPushButton & QWidgetStack and had given the option to switch off all tabs i.e all tabbuttons could be off at a time(hiding the widgetstack). This behaviour was mimicked from KDevelop and KMdi.
But I recently updated myself to Qt4.1( aslo experimenting with Qt4.2) and came across QTabWidget::setTabPosition() which supports vertical tabbars.
But the problem is I am unable to turn off all tabs
I want the the widget(in tabwidget) to be hidden and all tabs to be turned off when an active tab is clicked again.

So how can I subclass QTabWidget and get the above functionality ?