The following class members are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.
bool | isTabEnabled ( const char * name ) const (obsolete) |
void | setTabEnabled ( const char * name, bool enable ) (obsolete) |
Returns true if the page with object name name is enabled and false if it is disabled.
If name is 0 or not the name of any of the pages, isTabEnabled() returns false.
See also setTabEnabled() and QWidget::isEnabled().
Finds the page with object name name, enables/disables it according to the value of enable and redraws the page's tab appropriately.
Q3TabDialog uses QWidget::setEnabled() internally, rather than keeping a separate flag.
Note that even a disabled tab/page may be visible. If the page is already visible Q3TabDialog will not hide it; if all the pages are disabled Q3TabDialog will show one of them.
The object name is used (rather than the tab label) because the tab text may not be invariant in multi-language applications.
See also isTabEnabled() and QWidget::setEnabled().
© 2008-2011 Nokia Corporation and/or its subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation in Finland and/or other countries worldwide.
All other trademarks are property of their respective owners. Privacy Policy
Licensees holding valid Qt Commercial licenses may use this document in accordance with the Qt Commercial License Agreement provided with the Software or, alternatively, in accordance with the terms contained in a written agreement between you and Nokia.
Alternatively, this document may be used under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.