QToolBox Class Reference
[QtGui module]
Inherits QFrame.
Methods
- __init__ (self, QWidget parent = None, Qt.WindowFlags flags = 0)
- int addItem (self, QWidget, QString)
- int addItem (self, QWidget, QIcon, QString)
- changeEvent (self, QEvent)
- int count (self)
- int currentIndex (self)
- QWidget currentWidget (self)
- bool event (self, QEvent)
- int indexOf (self, QWidget)
- int insertItem (self, int, QWidget, QString)
- int insertItem (self, int, QWidget, QIcon, QString)
- bool isItemEnabled (self, int)
- QIcon itemIcon (self, int)
- itemInserted (self, int)
- itemRemoved (self, int)
- QString itemText (self, int)
- QString itemToolTip (self, int)
- removeItem (self, int)
- setCurrentIndex (self, int)
- setCurrentWidget (self, QWidget)
- setItemEnabled (self, int, bool)
- setItemIcon (self, int, QIcon)
- setItemText (self, int, QString)
- setItemToolTip (self, int, QString)
- showEvent (self, QShowEvent)
- QWidget widget (self, int)
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.