Viadeo Twitter Google Bookmarks ! Facebook Digg del.icio.us MySpace Yahoo MyWeb Blinklist Netvouz Reddit Simpy StumbleUpon Bookmarks Windows Live Favorites 
Logo Documentation Qt ·  Page d'accueil  ·  Toutes les classes  ·  Classes principales  ·  Annotées  ·  Classes groupées  ·  Modules  ·  Fonctions  · 

Qt 3 Support Members for QTabWidget

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.

Public Functions

  • 60 public functions inherited from QWidget
  • 8 public functions inherited from QObject
  • 8 public functions inherited from QPaintDevice

Public Slots

  • 1 public slot inherited from QWidget

Signals


Member Function Documentation

QTabWidget::QTabWidget ( QWidget * parent, const char * name, Qt::WFlags f = 0 )

Use one of the constructors that doesn't take the name argument and then use setObjectName() instead.

void QTabWidget::changeTab ( QWidget * widget, const QString & label )

Use setTabText() instead.

void QTabWidget::changeTab ( QWidget * widget, const QIcon & icon, const QString & label )

This is an overloaded member function, provided for convenience.

Use setTabText() and setTabIcon() instead.

void QTabWidget::currentChanged ( QWidget * widget )   [signal]

This is an overloaded member function, provided for convenience.

Use currentChanged(int) instead.

QWidget * QTabWidget::currentPage () const

Use currentWidget() instead.

See also setCurrentPage().

int QTabWidget::currentPageIndex () const

Use currentIndex() instead.

void QTabWidget::insertTab ( QWidget * widget, const QString & label, int index = -1 )

This is an overloaded member function, provided for convenience.

Use insertTab(index, widget, label) instead.

void QTabWidget::insertTab ( QWidget * widget, const QIcon & icon, const QString & label, int index = -1 )

This is an overloaded member function, provided for convenience.

Use insertTab(index, widget, icon, label) instead.

bool QTabWidget::isTabEnabled ( QWidget * widget ) const

This is an overloaded member function, provided for convenience.

Use isTabEnabled(tabWidget->indexOf(widget)) instead.

QString QTabWidget::label ( int index ) const

Use tabText() instead.

int QTabWidget::margin () const

This function is kept only to make old code compile. This functionality is no longer supported by QTabWidget.

See also setMargin(), contentsRect(), and setContentsMargins().

QWidget * QTabWidget::page ( int index ) const

Use widget() instead.

void QTabWidget::removePage ( QWidget * widget )   [slot]

Use removeTab(indexOf(widget)) instead.

void QTabWidget::removeTabToolTip ( QWidget * widget )

Use setTabToolTip(tabWidget->indexOf(widget), QString()) instead.

void QTabWidget::setCurrentPage ( int index )   [slot]

Use setCurrentIndex() instead.

See also currentPage().

void QTabWidget::setMargin ( int margin )

This function is kept only to make old code compile. This functionality is no longer supported by QTabWidget.

See also margin(), contentsRect(), and setContentsMargins().

void QTabWidget::setTabEnabled ( QWidget * widget, bool b )

This is an overloaded member function, provided for convenience.

Use isTabEnabled(tabWidget->indexOf(widget), b) instead.

void QTabWidget::setTabIconSet ( QWidget * widget, const QIcon & icon )

Use setTabIcon(tabWidget->indexOf(widget), icon) instead.

See also tabIconSet().

void QTabWidget::setTabLabel ( QWidget * widget, const QString & label )

Use setTabText(tabWidget->indexOf(widget), label) instead.

See also tabLabel().

void QTabWidget::setTabToolTip ( QWidget * widget, const QString & tip )

This is an overloaded member function, provided for convenience.

Use setTabToolTip(tabWidget->indexOf(widget), tip) instead.

void QTabWidget::showPage ( QWidget * widget )   [slot]

Use setCurrentIndex(indexOf(widget)) instead.

QIcon QTabWidget::tabIconSet ( QWidget * widget ) const

Use tabIcon(tabWidget->indexOf(widget)) instead.

See also setTabIconSet().

QString QTabWidget::tabLabel ( QWidget * widget ) const

Use tabText(tabWidget->indexOf(widget)) instead.

See also setTabLabel().

QString QTabWidget::tabToolTip ( QWidget * widget ) const

This is an overloaded member function, provided for convenience.

Use tabToolTip(tabWidget->indexOf(widget)) instead.

Cette page est une traduction d'une page de la documentation de Qt, écrite par Nokia Corporation and/or its subsidiary(-ies). Les éventuels problèmes résultant d'une mauvaise traduction ne sont pas imputables à Nokia. Qt 4.1
Copyright © 2012 Developpez LLC. Tous droits réservés Developpez LLC. Aucune reproduction, même partielle, ne peut être faite de ce site et de l'ensemble de son contenu : textes, documents et images sans l'autorisation expresse de Developpez LLC. Sinon, vous encourez selon la loi jusqu'à 3 ans de prison et jusqu'à 300 000 E de dommages et intérêts. Cette page est déposée à la SACD.
Vous avez déniché une erreur ? Un bug ? Une redirection cassée ? Ou tout autre problème, quel qu'il soit ? Ou bien vous désirez participer à ce projet de traduction ? N'hésitez pas à nous contacter ou par MP !
 
 
 
 
Partenaires

Hébergement Web