以下成员源于类 Q3TabDialog 已过时。 提供它们是为使旧源代码能继续工作。强烈建议不要在新代码中使用它们。
(obsolete)
bool
|
isTabEnabled (const char * name ) const |
(obsolete)
void
|
setTabEnabled (const char * name , bool enable ) |
Returns true if the page with object name name is enabled and false if it is disabled.
若 name is 0 or not the name of any of the pages, isTabEnabled () 返回 false。
另请参阅 setTabEnabled () 和 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 使用 QWidget::setEnabled () 在内部,而不是保持单独标志。
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 将展示它们之一。
The object name is used (rather than the tab label) because the tab text may not be invariant in multi-language applications.
另请参阅 isTabEnabled () 和 QWidget::setEnabled ().