PDA

View Full Version : hide QTabWidget?



mattia
20th February 2008, 07:06
Hello, is there a way to hide a QTabWidget?
I tried with setVisible(false) but it doesn't work and on doc page

http://doc.trolltech.com/4.2/qtabwidget.html

i did not find any suggestion.
thx

jpn
20th February 2008, 07:10
What is a "doc page"? QTabWidget is a QWidget and every QWidget can be hidden like you suggest. But it will hide entire tab widget, not just an individual page. You will have to temporarily removeTab() if you want to hide certain tab.

mattia
20th February 2008, 09:59
What is a "doc page"?
I meant the QTabWidget documentation page.