以下成員源於類 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 ().