Home · All Classes · Modules

QToolBox Class Reference
[QtGui module]

Inherits QFrame.

Methods

Special Methods

Qt Signals


Detailed Description


Method Documentation

QToolBox.__init__ (self, QWidget parent = None, Qt.WindowFlags flags = 0)

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

int QToolBox.addItem (self, QWidget, QString)

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

int QToolBox.addItem (self, QWidget, QIcon, QString)

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

QToolBox.changeEvent (self, QEvent)

int QToolBox.count (self)

int QToolBox.currentIndex (self)

QWidget QToolBox.currentWidget (self)

bool QToolBox.event (self, QEvent)

int QToolBox.indexOf (self, QWidget)

int QToolBox.insertItem (self, int, QWidget, QString)

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

int QToolBox.insertItem (self, int, QWidget, QIcon, QString)

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

bool QToolBox.isItemEnabled (self, int)

QIcon QToolBox.itemIcon (self, int)

QToolBox.itemInserted (self, int)

QToolBox.itemRemoved (self, int)

QString QToolBox.itemText (self, int)

QString QToolBox.itemToolTip (self, int)

QToolBox.removeItem (self, int)

QToolBox.setCurrentIndex (self, int)

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

QToolBox.setCurrentWidget (self, QWidget)

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

QToolBox.setItemEnabled (self, int, bool)

QToolBox.setItemIcon (self, int, QIcon)

QToolBox.setItemText (self, int, QString)

QToolBox.setItemToolTip (self, int, QString)

QToolBox.showEvent (self, QShowEvent)

QWidget QToolBox.widget (self, int)

QToolBox.__len__ (self)


Qt Signal Documentation

void currentChanged (int)

This is the default overload of this signal.


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