[Development] Hiding Tabs in QTabWidget

Carsten Breuer CarstenBreuerQt at textwork.de
Mon Mar 26 21:43:41 CEST 2012


Hi guys,


i just spend some hours with trying to hide a tab in a QTabWidget
that was designed with QtCreator (ui).
After searching the web it seems to me that the only way to solve this
is to use the removeTab function.

I don't want to use removeTab, because this means that i have to save
the tab text somewherem, have to deal with translations and with tab
position dependencies and much more. All stuff, that smart Qt should do
for me.

Is there any other function that i can use to hide tabs?
Someone...please :-)


Best Regards,



Carsten



More information about the Development mailing list