Qt 6.11 is out! See what's new in the release
blog
hide tab in Qt
General and Desktop
5
Posts
4
Posters
3.4k
Views
1
Watching
-
How to hide tab from Qtabwidget in Qt
-
Hi,
you can use removeTab() and then addTab() again to show it.
-
... and you can do your tabs "tabsClosable"
-
Apart from removing tabs, there currently is no function to hide a tab. A patch against Qt 5 to add this functionality was recently "welcomed":http://lists.qt-project.org/pipermail/development/2012-March/002828.html but it will only appear in Qt 5.1.
-
Thanks for the reply sir