[Development] Hiding Tabs in QTabWidget

Girish Ramakrishnan girish at forwardbias.in
Tue Mar 27 16:39:20 CEST 2012


Hi Jordi,
Please push the change to gerrit and put me in as the reviewer.

Girish

On Mon, Mar 26, 2012 at 10:51 PM, Jordi Pujol <pisoengracia at gmail.com> wrote:
> Sorry, answer sent only to Carsten ( my mistake... )
>
>> Afaik you only have the option to remove the tab . I've implemented
>> that functionality, but right now I cannot contribute it to Gerrit
>> ( no maintainer for QWidgets module & no plans... ).
>>
>> If someone can tell me how to do it I'll be glad to do it for
>> Qt5.1 ....
>>
>> El 26/03/2012 21:43, "Carsten Breuer" <CarstenBreuerQt at textwork.de>
>> escribió:
>>         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
>>         _______________________________________________
>>         Development mailing list
>>         Development at qt-project.org
>>         http://lists.qt-project.org/mailman/listinfo/development
>
>
> _______________________________________________
> Development mailing list
> Development at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/development



More information about the Development mailing list