#ifndef PYTHONQTWRAPPER_QTOOLBOX_H #define PYTHONQTWRAPPER_QTOOLBOX_H #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include class PythonQtWrapper_QToolBox : public QObject { Q_OBJECT public: public slots: QToolBox* new_QToolBox(QWidget* parent = 0, Qt::WindowFlags f = 0); void delete_QToolBox(QToolBox* obj) { delete obj; } int addItem(QToolBox* theWrappedObject, QWidget* widget, const QIcon& icon, const QString& text); int addItem(QToolBox* theWrappedObject, QWidget* widget, const QString& text); int count(QToolBox* theWrappedObject) const; int currentIndex(QToolBox* theWrappedObject) const; QWidget* currentWidget(QToolBox* theWrappedObject) const; int indexOf(QToolBox* theWrappedObject, QWidget* widget) const; int insertItem(QToolBox* theWrappedObject, int index, QWidget* widget, const QIcon& icon, const QString& text); int insertItem(QToolBox* theWrappedObject, int index, QWidget* widget, const QString& text); bool isItemEnabled(QToolBox* theWrappedObject, int index) const; QIcon itemIcon(QToolBox* theWrappedObject, int index) const; QString itemText(QToolBox* theWrappedObject, int index) const; QString itemToolTip(QToolBox* theWrappedObject, int index) const; void removeItem(QToolBox* theWrappedObject, int index); void setItemEnabled(QToolBox* theWrappedObject, int index, bool enabled); void setItemIcon(QToolBox* theWrappedObject, int index, const QIcon& icon); void setItemText(QToolBox* theWrappedObject, int index, const QString& text); void setItemToolTip(QToolBox* theWrappedObject, int index, const QString& toolTip); QWidget* widget(QToolBox* theWrappedObject, int index) const; }; #endif // PYTHONQTWRAPPER_QTOOLBOX_H