Definition at line 58 of file qtoolbox.h.
#include <qtoolbox.h>

Public Slots |
|
| void | setCurrentIndex (int index) |
| void | setCurrentWidget (QWidget *widget) |
Signals |
|
| void | currentChanged (int index) |
Public Member Functions |
|
| QToolBox (QWidget *parent=0, Qt::WindowFlags f=0) | |
| ~QToolBox () | |
| int | addItem (QWidget *widget, const QString &text) |
| int | addItem (QWidget *widget, const QIcon &icon, const QString &text) |
| int | insertItem (int index, QWidget *widget, const QString &text) |
| int | insertItem (int index, QWidget *widget, const QIcon &icon, const QString &text) |
| void | removeItem (int index) |
| void | setItemEnabled (int index, bool enabled) |
| bool | isItemEnabled (int index) const |
| void | setItemText (int index, const QString &text) |
| QString | itemText (int index) const |
| void | setItemIcon (int index, const QIcon &icon) |
| QIcon | itemIcon (int index) const |
| void | setItemToolTip (int index, const QString &toolTip) |
| QString | itemToolTip (int index) const |
| int | currentIndex () const |
| QWidget * | currentWidget () const |
| QWidget * | widget (int index) const |
| int | indexOf (QWidget *widget) const |
| int | count () const |
Protected Member Functions |
|
| bool | event (QEvent *e) |
| virtual void | itemInserted (int index) |
| virtual void | itemRemoved (int index) |
| void | showEvent (QShowEvent *e) |
| void | changeEvent (QEvent *) |
Properties |
|
| int | currentIndex |
| int | count |
| ~QToolBox | ( | ) |
Definition at line 134 of file qtoolbox.h.
{ return insertItem(-1, item, QIcon(), text); }
Definition at line 136 of file qtoolbox.h.
{ return insertItem(-1, item, iconSet, text); }
Definition at line 139 of file qtoolbox.h.
{ return insertItem(index, item, QIcon(), text); }
| void removeItem | ( | int | index | ) |
| void setItemEnabled | ( | int | index, |
| bool | enabled | ||
| ) |
| bool isItemEnabled | ( | int | index | ) | const |
| void setItemText | ( | int | index, |
| const QString & | text | ||
| ) |
| QString itemText | ( | int | index | ) | const |
| void setItemIcon | ( | int | index, |
| const QIcon & | icon | ||
| ) |
| QIcon itemIcon | ( | int | index | ) | const |
| void setItemToolTip | ( | int | index, |
| const QString & | toolTip | ||
| ) |
| QString itemToolTip | ( | int | index | ) | const |
| int currentIndex | ( | ) | const |
| QWidget* currentWidget | ( | ) | const |
| QWidget* widget | ( | int | index | ) | const |
| int indexOf | ( | QWidget * | widget | ) | const |
| int count | ( | ) | const |
| void setCurrentIndex | ( | int | index | ) | [slot] |
| void setCurrentWidget | ( | QWidget * | widget | ) | [slot] |
| void currentChanged | ( | int | index | ) | [signal] |
| virtual void itemInserted | ( | int | index | ) | [protected, virtual] |
| virtual void itemRemoved | ( | int | index | ) | [protected, virtual] |
| void showEvent | ( | QShowEvent * | e | ) | [protected, virtual] |
Reimplemented from QWidget.
int currentIndex [read,
write] |
Definition at line 61 of file qtoolbox.h.
int count [read] |
Definition at line 62 of file qtoolbox.h.