Re: [Development] Hiding Tabs in QTabWidget

2012-04-02 Thread André Pönitz
On Thu, Mar 29, 2012 at 09:42:43PM +0200, Carsten Breuer wrote: Hi Jordi, great :-) Good News :-). BTW: I guess in Qt style it should be bool tabVisible(int index) const; void setTabVisible(int index, bool); Jordi's bool isTabVisible(int index) const; was correct, as

Re: [Development] Hiding Tabs in QTabWidget

2012-03-29 Thread Carsten Breuer
Hi Jordi, thanks for the answer. Im looking forward to see you changes in QT 5.1 :-). Best Regards, Carsten Am 27.03.2012 07:51, schrieb Jordi Pujol: Sorry, answer sent only to Carsten ( my mistake... ) Afaik you only have the option to remove the tab . I've implemented that

Re: [Development] Hiding Tabs in QTabWidget

2012-03-27 Thread Diego Iastrubni
On Mon, Mar 26, 2012 at 9:43 PM, Carsten Breuer carstenbreue...@textwork.de wrote: Is there any other function that i can use to hide tabs? Use QTabWidget::tabBar()-hide() to hide all the tabs. ___ Development mailing list

[Development] Hiding Tabs in QTabWidget

2012-03-26 Thread Carsten Breuer
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