Home · All Classes · All Functions · Overviews |
The following class members are part of the Qt 3 support layer. They are provided to help you port old code to Qt 4. We advise against using them in new code.
QTabWidget ( QWidget * parent, const char * name, Qt::WindowFlags f = 0 ) | |
void | changeTab ( QWidget * widget, const QString & label ) |
void | changeTab ( QWidget * widget, const QIcon & icon, const QString & label ) |
QWidget * | currentPage () const |
int | currentPageIndex () const |
void | insertTab ( QWidget * widget, const QString & label, int index = -1 ) |
void | insertTab ( QWidget * widget, const QIcon & icon, const QString & label, int index = -1 ) |
bool | isTabEnabled ( QWidget * widget ) const |
QString | label ( int index ) const |
int | margin () const |
QWidget * | page ( int index ) const |
void | removeTabToolTip ( QWidget * widget ) |
void | setMargin ( int margin ) |
void | setTabEnabled ( QWidget * widget, bool b ) |
void | setTabIconSet ( QWidget * widget, const QIcon & icon ) |
void | setTabLabel ( QWidget * widget, const QString & label ) |
void | setTabToolTip ( QWidget * widget, const QString & tip ) |
QIcon | tabIconSet ( QWidget * widget ) const |
QString | tabLabel ( QWidget * widget ) const |
QString | tabToolTip ( QWidget * widget ) const |
void | removePage ( QWidget * widget ) |
void | setCurrentPage ( int index ) |
void | showPage ( QWidget * widget ) |
void | currentChanged ( QWidget * widget ) |
void | selected ( const QString & tabLabel ) |
Use one of the constructors that doesn't take the name argument and then use setObjectName() instead.
Use setTabText() instead.
Use setTabText() and setTabIcon() instead.
Use currentChanged(int) instead.
Use currentWidget() instead.
See also setCurrentPage().
Use currentIndex() instead.
Use insertTab(index, widget, label) instead.
Use insertTab(index, widget, icon, label) instead.
Use isTabEnabled(tabWidget->indexOf(widget)) instead.
Use tabText() instead.
This function is kept only to make old code compile. This functionality is no longer supported by QTabWidget.
See also setMargin(), contentsRect(), and setContentsMargins().
Use widget() instead.
Use removeTab(indexOf(widget)) instead.
Use setTabToolTip(tabWidget->indexOf(widget), QString()) instead.
This signal is emitted whenever a tab is selected (raised), including during the first show().
You can normally use currentChanged() instead.
Use setCurrentIndex() instead.
See also currentPage().
This function is kept only to make old code compile. This functionality is no longer supported by QTabWidget.
See also margin(), contentsRect(), and setContentsMargins().
Use setTabEnabled(tabWidget->indexOf(widget), b) instead.
Use setTabIcon(tabWidget->indexOf(widget), icon) instead.
See also tabIconSet().
Use setTabText(tabWidget->indexOf(widget), label) instead.
See also tabLabel().
Use setTabToolTip(tabWidget->indexOf(widget), tip) instead.
Use setCurrentIndex(indexOf(widget)) instead.
Use tabIcon(tabWidget->indexOf(widget)) instead.
See also setTabIconSet().
Use tabText(tabWidget->indexOf(widget)) instead.
See also setTabLabel().
Use tabToolTip(tabWidget->indexOf(widget)) instead.
Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies) | Trademarks | Qt 4.6.0 |