Home · All Classes · Modules

QTabBar Class Reference
[QtGui module]

Inherits QWidget.

Types

Methods

Special Methods

Qt Signals


Detailed Description


Type Documentation

QTabBar.ButtonPosition

QTabBar.SelectionBehavior

QTabBar.Shape


Method Documentation

QTabBar.__init__ (self, QWidget parent = None)

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

int QTabBar.addTab (self, QString)

int QTabBar.addTab (self, QIcon, QString)

QTabBar.changeEvent (self, QEvent)

int QTabBar.count (self)

int QTabBar.currentIndex (self)

bool QTabBar.documentMode (self)

bool QTabBar.drawBase (self)

Qt.TextElideMode QTabBar.elideMode (self)

bool QTabBar.event (self, QEvent)

bool QTabBar.expanding (self)

QTabBar.hideEvent (self, QHideEvent)

QSize QTabBar.iconSize (self)

QTabBar.initStyleOption (self, QStyleOptionTab, int)

int QTabBar.insertTab (self, int, QString)

int QTabBar.insertTab (self, int, QIcon, QString)

bool QTabBar.isMovable (self)

bool QTabBar.isTabEnabled (self, int)

QTabBar.keyPressEvent (self, QKeyEvent)

QSize QTabBar.minimumSizeHint (self)

QTabBar.mouseMoveEvent (self, QMouseEvent)

QTabBar.mousePressEvent (self, QMouseEvent)

QTabBar.mouseReleaseEvent (self, QMouseEvent)

QTabBar.moveTab (self, int, int)

QTabBar.paintEvent (self, QPaintEvent)

QTabBar.removeTab (self, int)

QTabBar.resizeEvent (self, QResizeEvent)

SelectionBehavior QTabBar.selectionBehaviorOnRemove (self)

QTabBar.setCurrentIndex (self, int)

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

QTabBar.setDocumentMode (self, bool)

QTabBar.setDrawBase (self, bool)

QTabBar.setElideMode (self, Qt.TextElideMode)

QTabBar.setExpanding (self, bool)

QTabBar.setIconSize (self, QSize)

QTabBar.setMovable (self, bool)

QTabBar.setSelectionBehaviorOnRemove (self, SelectionBehavior)

QTabBar.setShape (self, Shape)

QTabBar.setTabButton (self, int, ButtonPosition, QWidget)

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

QTabBar.setTabData (self, int, QVariant)

QTabBar.setTabEnabled (self, int, bool)

QTabBar.setTabIcon (self, int, QIcon)

QTabBar.setTabsClosable (self, bool)

QTabBar.setTabText (self, int, QString)

QTabBar.setTabTextColor (self, int, QColor)

QTabBar.setTabToolTip (self, int, QString)

QTabBar.setTabWhatsThis (self, int, QString)

QTabBar.setUsesScrollButtons (self, bool)

Shape QTabBar.shape (self)

QTabBar.showEvent (self, QShowEvent)

QSize QTabBar.sizeHint (self)

int QTabBar.tabAt (self, QPoint)

QWidget QTabBar.tabButton (self, int, ButtonPosition)

QVariant QTabBar.tabData (self, int)

QIcon QTabBar.tabIcon (self, int)

QTabBar.tabInserted (self, int)

QTabBar.tabLayoutChange (self)

QRect QTabBar.tabRect (self, int)

QTabBar.tabRemoved (self, int)

bool QTabBar.tabsClosable (self)

QSize QTabBar.tabSizeHint (self, int)

QString QTabBar.tabText (self, int)

QColor QTabBar.tabTextColor (self, int)

QString QTabBar.tabToolTip (self, int)

QString QTabBar.tabWhatsThis (self, int)

bool QTabBar.usesScrollButtons (self)

QTabBar.wheelEvent (self, QWheelEvent)

QTabBar.__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.

void tabMoved (int,int)

This is the default overload of this signal.


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