PythonQtWrapper_QToolButton.h
58 lines
| 1.8 KiB
| text/x-c
|
CLexer
florianlink
|
r13 | #ifndef PYTHONQTWRAPPER_QTOOLBUTTON_H | ||
#define PYTHONQTWRAPPER_QTOOLBUTTON_H | ||||
#include <qtoolbutton.h> | ||||
#include <QObject> | ||||
#include <QVariant> | ||||
#include <qaction.h> | ||||
#include <qbitmap.h> | ||||
#include <qbuttongroup.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 <qmenu.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 <qtoolbutton.h> | ||||
#include <qwidget.h> | ||||
class PythonQtWrapper_QToolButton : public QObject | ||||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
QToolButton* new_QToolButton(QWidget* parent = 0); | ||||
void delete_QToolButton(QToolButton* obj) { delete obj; } | ||||
Qt::ArrowType arrowType(QToolButton* theWrappedObject) const; | ||||
bool autoRaise(QToolButton* theWrappedObject) const; | ||||
QAction* defaultAction(QToolButton* theWrappedObject) const; | ||||
QMenu* menu(QToolButton* theWrappedObject) const; | ||||
QSize minimumSizeHint(QToolButton* theWrappedObject) const; | ||||
QToolButton::ToolButtonPopupMode popupMode(QToolButton* theWrappedObject) const; | ||||
void setArrowType(QToolButton* theWrappedObject, Qt::ArrowType type); | ||||
void setAutoRaise(QToolButton* theWrappedObject, bool enable); | ||||
void setMenu(QToolButton* theWrappedObject, QMenu* menu); | ||||
void setPopupMode(QToolButton* theWrappedObject, QToolButton::ToolButtonPopupMode mode); | ||||
QSize sizeHint(QToolButton* theWrappedObject) const; | ||||
Qt::ToolButtonStyle toolButtonStyle(QToolButton* theWrappedObject) const; | ||||
}; | ||||
#endif // PYTHONQTWRAPPER_QTOOLBUTTON_H | ||||