[Qt-interest] Regarding QTabWidget::setTabEnabled()
Patric
userqt at gmail.com
Wed Jul 1 16:39:23 CEST 2009
Hello,
I'm reading the documentation for this method :
If enable is true, the page at position index is enabled; otherwise the page at position index is disabled. The page's tab is redrawn appropriately.
Note that even a disabled tab/page may be visible. If the page is visible already, QTabWidget will not hide it; if all the pages are disabled, QTabWidget will show one of them.
If I have tab widget with 5 tabs, and I want to make the 5th not visible, how to do it ?
According to this "If the page is visible already, QTabWidget will not hide it" I can't hide only one tab, am I right ?
Regards,
Patric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090701/e2383ba1/attachment.html
More information about the Qt-interest-old
mailing list