OK, now I see what you mean by "off". Unfortunately in QTabWidget one of the tabs is always active, so to do this you will have to use QStackedWidget and some custom widget that will imitate the tab bar.
OK, now I see what you mean by "off". Unfortunately in QTabWidget one of the tabs is always active, so to do this you will have to use QStackedWidget and some custom widget that will imitate the tab bar.
Hi Jacek,
Thats why I had to come with custom code.
But anyway , can't all tabs be made to be inactive even in QTabBar ?
Is any improvements ,about this, going on in Qt4.2 ?
Last edited by Gopala Krishna; 30th August 2006 at 14:57.
Unfortunately not, it always has one of the tabs active.Originally Posted by Gopala Krishna
Actually you are after a bit different widget --- something like KMdiDockContainer.
Thanks for your reply.
But unfortunately I am only after Qt only solution.Actually you are after a bit different widget --- something like KMdiDockContainer.![]()
- you can look for the QStackedWidget and hide it on demand. See the assistant code for some details (look to the tab widget implementation in that application)
- ideality -> http://www.qtcentre.org/forum/f-qt-s...rary-3286.html
Bookmarks