Home · All Classes · Modules

QTabWidget Class Reference
[QtGui module]

Inherits QWidget.

Types

Methods

Special Methods

Qt Signals


Detailed Description


Type Documentation

QTabWidget.TabPosition

QTabWidget.TabShape


Method Documentation

QTabWidget.__init__ (self, QWidget parent = None)

The parent argument, if not None, causes self to be owned by Qt instead of PyQt.

int QTabWidget.addTab (self, QWidget, QString)

The QWidget argument has it's ownership transferred to Qt.

int QTabWidget.addTab (self, QWidget, QIcon, QString)

The QWidget argument has it's ownership transferred to Qt.

QTabWidget.changeEvent (self, QEvent)

QTabWidget.clear (self)

QWidget QTabWidget.cornerWidget (self, Qt.Corner corner = Qt.TopRightCorner)

int QTabWidget.count (self)

int QTabWidget.currentIndex (self)

QWidget QTabWidget.currentWidget (self)

bool QTabWidget.documentMode (self)

Qt.TextElideMode QTabWidget.elideMode (self)

bool QTabWidget.event (self, QEvent)

QSize QTabWidget.iconSize (self)

int QTabWidget.indexOf (self, QWidget)

QTabWidget.initStyleOption (self, QStyleOptionTabWidgetFrame)

int QTabWidget.insertTab (self, int, QWidget, QString)

The QWidget argument has it's ownership transferred to Qt.

int QTabWidget.insertTab (self, int, QWidget, QIcon, QString)

The QWidget argument has it's ownership transferred to Qt.

bool QTabWidget.isMovable (self)

bool QTabWidget.isTabEnabled (self, int)

QTabWidget.keyPressEvent (self, QKeyEvent)

QSize QTabWidget.minimumSizeHint (self)

QTabWidget.paintEvent (self, QPaintEvent)

QTabWidget.removeTab (self, int)

QTabWidget.resizeEvent (self, QResizeEvent)

QTabWidget.setCornerWidget (self, QWidget, Qt.Corner corner = Qt.TopRightCorner)

The QWidget argument has it's ownership transferred to Qt.

QTabWidget.setCurrentIndex (self, int)

This method is also a Qt slot with the C++ signature void setCurrentIndex(int).

QTabWidget.setCurrentWidget (self, QWidget)

This method is also a Qt slot with the C++ signature void setCurrentWidget(QWidget *).

QTabWidget.setDocumentMode (self, bool)

QTabWidget.setElideMode (self, Qt.TextElideMode)

QTabWidget.setIconSize (self, QSize)

QTabWidget.setMovable (self, bool)

QTabWidget.setTabBar (self, QTabBar)

The QTabBar argument has it's ownership transferred to Qt.

QTabWidget.setTabEnabled (self, int, bool)

QTabWidget.setTabIcon (self, int, QIcon)

QTabWidget.setTabPosition (self, TabPosition)

QTabWidget.setTabsClosable (self, bool)

QTabWidget.setTabShape (self, TabShape)

QTabWidget.setTabText (self, int, QString)

QTabWidget.setTabToolTip (self, int, QString)

QTabWidget.setTabWhatsThis (self, int, QString)

QTabWidget.setUsesScrollButtons (self, bool)

QTabWidget.showEvent (self, QShowEvent)

QSize QTabWidget.sizeHint (self)

QTabBar QTabWidget.tabBar (self)

QIcon QTabWidget.tabIcon (self, int)

QTabWidget.tabInserted (self, int)

TabPosition QTabWidget.tabPosition (self)

QTabWidget.tabRemoved (self, int)

bool QTabWidget.tabsClosable (self)

TabShape QTabWidget.tabShape (self)

QString QTabWidget.tabText (self, int)

QString QTabWidget.tabToolTip (self, int)

QString QTabWidget.tabWhatsThis (self, int)

bool QTabWidget.usesScrollButtons (self)

QWidget QTabWidget.widget (self, int)

QTabWidget.__len__ (self)


Qt Signal Documentation

void currentChanged (int)

This is the default overload of this signal.

void tabCloseRequested (int)

This is the default overload of this signal.


PyQt 4.8 for X11Copyright © Riverbank Computing Ltd and Nokia 2010Qt 4.7.0