PythonQtWrapper_QPushButton.h
58 lines
| 1.8 KiB
| text/x-c
|
CLexer
florianlink
|
r13 | #ifndef PYTHONQTWRAPPER_QPUSHBUTTON_H | ||
#define PYTHONQTWRAPPER_QPUSHBUTTON_H | ||||
#include <qpushbutton.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 <qpushbutton.h> | ||||
#include <qrect.h> | ||||
#include <qregion.h> | ||||
#include <qsize.h> | ||||
#include <qsizepolicy.h> | ||||
#include <qstyle.h> | ||||
#include <qstyleoption.h> | ||||
#include <qwidget.h> | ||||
class PythonQtWrapper_QPushButton : public QObject | ||||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
QPushButton* new_QPushButton(QWidget* parent = 0); | ||||
QPushButton* new_QPushButton(const QIcon& icon, const QString& text, QWidget* parent = 0); | ||||
QPushButton* new_QPushButton(const QString& text, QWidget* parent = 0); | ||||
void delete_QPushButton(QPushButton* obj) { delete obj; } | ||||
bool autoDefault(QPushButton* theWrappedObject) const; | ||||
bool isDefault(QPushButton* theWrappedObject) const; | ||||
bool isFlat(QPushButton* theWrappedObject) const; | ||||
QMenu* menu(QPushButton* theWrappedObject) const; | ||||
QSize minimumSizeHint(QPushButton* theWrappedObject) const; | ||||
void setAutoDefault(QPushButton* theWrappedObject, bool arg__1); | ||||
void setDefault(QPushButton* theWrappedObject, bool arg__1); | ||||
void setFlat(QPushButton* theWrappedObject, bool arg__1); | ||||
void setMenu(QPushButton* theWrappedObject, QMenu* menu); | ||||
QSize sizeHint(QPushButton* theWrappedObject) const; | ||||
}; | ||||
#endif // PYTHONQTWRAPPER_QPUSHBUTTON_H | ||||