#ifndef PYTHONQTWRAPPER_QTOOLBAR_H #define PYTHONQTWRAPPER_QTOOLBAR_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 #include class PythonQtWrapper_QToolBar : public QObject { Q_OBJECT public: public slots: QToolBar* new_QToolBar(QWidget* parent = 0); QToolBar* new_QToolBar(const QString& title, QWidget* parent = 0); void delete_QToolBar(QToolBar* obj) { delete obj; } QAction* actionAt(QToolBar* theWrappedObject, const QPoint& p) const; QAction* actionAt(QToolBar* theWrappedObject, int x, int y) const; QRect actionGeometry(QToolBar* theWrappedObject, QAction* action) const; QAction* addAction(QToolBar* theWrappedObject, const QIcon& icon, const QString& text); QAction* addAction(QToolBar* theWrappedObject, const QString& text); QAction* addSeparator(QToolBar* theWrappedObject); QAction* addWidget(QToolBar* theWrappedObject, QWidget* widget); Qt::ToolBarAreas allowedAreas(QToolBar* theWrappedObject) const; void clear(QToolBar* theWrappedObject); QSize iconSize(QToolBar* theWrappedObject) const; QAction* insertSeparator(QToolBar* theWrappedObject, QAction* before); QAction* insertWidget(QToolBar* theWrappedObject, QAction* before, QWidget* widget); bool isAreaAllowed(QToolBar* theWrappedObject, Qt::ToolBarArea area) const; bool isFloatable(QToolBar* theWrappedObject) const; bool isFloating(QToolBar* theWrappedObject) const; bool isMovable(QToolBar* theWrappedObject) const; Qt::Orientation orientation(QToolBar* theWrappedObject) const; void setAllowedAreas(QToolBar* theWrappedObject, Qt::ToolBarAreas areas); void setFloatable(QToolBar* theWrappedObject, bool floatable); void setMovable(QToolBar* theWrappedObject, bool movable); void setOrientation(QToolBar* theWrappedObject, Qt::Orientation orientation); QAction* toggleViewAction(QToolBar* theWrappedObject) const; Qt::ToolButtonStyle toolButtonStyle(QToolBar* theWrappedObject) const; QWidget* widgetForAction(QToolBar* theWrappedObject, QAction* action) const; }; #endif // PYTHONQTWRAPPER_QTOOLBAR_H