|
|
#ifndef PYTHONQTWRAPPER_QTOOLBAR_H
|
|
|
#define PYTHONQTWRAPPER_QTOOLBAR_H
|
|
|
|
|
|
#include <qtoolbar.h>
|
|
|
#include <QObject>
|
|
|
|
|
|
#include <QVariant>
|
|
|
#include <qaction.h>
|
|
|
#include <qbitmap.h>
|
|
|
#include <qbytearray.h>
|
|
|
#include <qcoreevent.h>
|
|
|
#include <qcursor.h>
|
|
|
#include <qevent.h>
|
|
|
#include <qfont.h>
|
|
|
#include <qicon.h>
|
|
|
#include <qinputcontext.h>
|
|
|
#include <qkeysequence.h>
|
|
|
#include <qlayout.h>
|
|
|
#include <qlist.h>
|
|
|
#include <qlocale.h>
|
|
|
#include <qobject.h>
|
|
|
#include <qpaintdevice.h>
|
|
|
#include <qpaintengine.h>
|
|
|
#include <qpainter.h>
|
|
|
#include <qpalette.h>
|
|
|
#include <qpoint.h>
|
|
|
#include <qrect.h>
|
|
|
#include <qregion.h>
|
|
|
#include <qsize.h>
|
|
|
#include <qsizepolicy.h>
|
|
|
#include <qstyle.h>
|
|
|
#include <qstyleoption.h>
|
|
|
#include <qtoolbar.h>
|
|
|
#include <qwidget.h>
|
|
|
|
|
|
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
|
|
|
|