PythonQtWrapper_QAbstractButton.h
149 lines
| 6.7 KiB
| text/x-c
|
CLexer
florianlink
|
r13 | #ifndef PYTHONQTWRAPPER_QABSTRACTBUTTON_H | ||
#define PYTHONQTWRAPPER_QABSTRACTBUTTON_H | ||||
#include <qabstractbutton.h> | ||||
#include <QObject> | ||||
florianlink
|
r24 | #include <PythonQt.h> | ||
florianlink
|
r13 | #include <QVariant> | ||
#include <qabstractbutton.h> | ||||
#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 <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 <qwidget.h> | ||||
florianlink
|
r24 | class PythonQtShell_QAbstractButton : public QAbstractButton | ||
{ | ||||
public: | ||||
PythonQtShell_QAbstractButton(QWidget* parent = 0):QAbstractButton(parent),_wrapper(NULL) {}; | ||||
virtual void actionEvent(QActionEvent* arg__1); | ||||
virtual void changeEvent(QEvent* e); | ||||
virtual void checkStateSet(); | ||||
virtual void childEvent(QChildEvent* arg__1); | ||||
virtual void closeEvent(QCloseEvent* arg__1); | ||||
virtual void contextMenuEvent(QContextMenuEvent* arg__1); | ||||
virtual void customEvent(QEvent* arg__1); | ||||
virtual int devType() const; | ||||
virtual void dragEnterEvent(QDragEnterEvent* arg__1); | ||||
virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); | ||||
virtual void dragMoveEvent(QDragMoveEvent* arg__1); | ||||
virtual void dropEvent(QDropEvent* arg__1); | ||||
virtual void enterEvent(QEvent* arg__1); | ||||
virtual bool event(QEvent* e); | ||||
virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); | ||||
virtual void focusInEvent(QFocusEvent* e); | ||||
virtual bool focusNextPrevChild(bool next); | ||||
virtual void focusOutEvent(QFocusEvent* e); | ||||
virtual int heightForWidth(int arg__1) const; | ||||
virtual void hideEvent(QHideEvent* arg__1); | ||||
virtual bool hitButton(const QPoint& pos) const; | ||||
virtual void inputMethodEvent(QInputMethodEvent* arg__1); | ||||
virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; | ||||
virtual void keyPressEvent(QKeyEvent* e); | ||||
virtual void keyReleaseEvent(QKeyEvent* e); | ||||
virtual void languageChange(); | ||||
virtual void leaveEvent(QEvent* arg__1); | ||||
virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; | ||||
virtual QSize minimumSizeHint() const; | ||||
virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); | ||||
virtual void mouseMoveEvent(QMouseEvent* e); | ||||
virtual void mousePressEvent(QMouseEvent* e); | ||||
virtual void mouseReleaseEvent(QMouseEvent* e); | ||||
virtual void moveEvent(QMoveEvent* arg__1); | ||||
virtual void nextCheckState(); | ||||
virtual QPaintEngine* paintEngine() const; | ||||
virtual void paintEvent(QPaintEvent* e); | ||||
virtual void resizeEvent(QResizeEvent* arg__1); | ||||
virtual void showEvent(QShowEvent* arg__1); | ||||
virtual QSize sizeHint() const; | ||||
virtual void tabletEvent(QTabletEvent* arg__1); | ||||
virtual void timerEvent(QTimerEvent* e); | ||||
virtual void wheelEvent(QWheelEvent* arg__1); | ||||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
class PythonQtPublicPromoter_QAbstractButton : public QAbstractButton | ||||
{ public: | ||||
florianlink
|
r28 | inline void promoted_timerEvent(QTimerEvent* e) { QAbstractButton::timerEvent(e); } | ||
florianlink
|
r73 | inline void promoted_focusOutEvent(QFocusEvent* e) { QAbstractButton::focusOutEvent(e); } | ||
florianlink
|
r28 | inline void promoted_checkStateSet() { QAbstractButton::checkStateSet(); } | ||
inline bool promoted_hitButton(const QPoint& pos) const { return QAbstractButton::hitButton(pos); } | ||||
inline void promoted_mouseReleaseEvent(QMouseEvent* e) { QAbstractButton::mouseReleaseEvent(e); } | ||||
florianlink
|
r73 | inline void promoted_keyPressEvent(QKeyEvent* e) { QAbstractButton::keyPressEvent(e); } | ||
inline void promoted_keyReleaseEvent(QKeyEvent* e) { QAbstractButton::keyReleaseEvent(e); } | ||||
florianlink
|
r28 | inline void promoted_nextCheckState() { QAbstractButton::nextCheckState(); } | ||
florianlink
|
r73 | inline void promoted_focusInEvent(QFocusEvent* e) { QAbstractButton::focusInEvent(e); } | ||
inline void promoted_mouseMoveEvent(QMouseEvent* e) { QAbstractButton::mouseMoveEvent(e); } | ||||
inline void promoted_mousePressEvent(QMouseEvent* e) { QAbstractButton::mousePressEvent(e); } | ||||
inline void promoted_changeEvent(QEvent* e) { QAbstractButton::changeEvent(e); } | ||||
inline bool promoted_event(QEvent* e) { return QAbstractButton::event(e); } | ||||
florianlink
|
r24 | }; | ||
florianlink
|
r13 | class PythonQtWrapper_QAbstractButton : public QObject | ||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
florianlink
|
r24 | QAbstractButton* new_QAbstractButton(QWidget* parent = 0); | ||
florianlink
|
r13 | void delete_QAbstractButton(QAbstractButton* obj) { delete obj; } | ||
florianlink
|
r24 | void setAutoRepeatInterval(QAbstractButton* theWrappedObject, int arg__1); | ||
florianlink
|
r73 | void timerEvent(QAbstractButton* theWrappedObject, QTimerEvent* e); | ||
void focusOutEvent(QAbstractButton* theWrappedObject, QFocusEvent* e); | ||||
florianlink
|
r24 | void checkStateSet(QAbstractButton* theWrappedObject); | ||
bool hitButton(QAbstractButton* theWrappedObject, const QPoint& pos) const; | ||||
void mouseReleaseEvent(QAbstractButton* theWrappedObject, QMouseEvent* e); | ||||
florianlink
|
r73 | void setAutoExclusive(QAbstractButton* theWrappedObject, bool arg__1); | ||
florianlink
|
r13 | void setText(QAbstractButton* theWrappedObject, const QString& text); | ||
florianlink
|
r24 | void setCheckable(QAbstractButton* theWrappedObject, bool arg__1); | ||
QSize iconSize(QAbstractButton* theWrappedObject) const; | ||||
florianlink
|
r13 | QKeySequence shortcut(QAbstractButton* theWrappedObject) const; | ||
florianlink
|
r73 | int autoRepeatInterval(QAbstractButton* theWrappedObject) const; | ||
void keyPressEvent(QAbstractButton* theWrappedObject, QKeyEvent* e); | ||||
QString text(QAbstractButton* theWrappedObject) const; | ||||
void setShortcut(QAbstractButton* theWrappedObject, const QKeySequence& key); | ||||
void keyReleaseEvent(QAbstractButton* theWrappedObject, QKeyEvent* e); | ||||
bool isDown(QAbstractButton* theWrappedObject) const; | ||||
bool autoExclusive(QAbstractButton* theWrappedObject) const; | ||||
florianlink
|
r28 | void nextCheckState(QAbstractButton* theWrappedObject); | ||
florianlink
|
r73 | void setDown(QAbstractButton* theWrappedObject, bool arg__1); | ||
void focusInEvent(QAbstractButton* theWrappedObject, QFocusEvent* e); | ||||
void setAutoRepeat(QAbstractButton* theWrappedObject, bool arg__1); | ||||
bool isChecked(QAbstractButton* theWrappedObject) const; | ||||
bool autoRepeat(QAbstractButton* theWrappedObject) const; | ||||
QIcon icon(QAbstractButton* theWrappedObject) const; | ||||
void mouseMoveEvent(QAbstractButton* theWrappedObject, QMouseEvent* e); | ||||
void mousePressEvent(QAbstractButton* theWrappedObject, QMouseEvent* e); | ||||
void changeEvent(QAbstractButton* theWrappedObject, QEvent* e); | ||||
bool isCheckable(QAbstractButton* theWrappedObject) const; | ||||
bool event(QAbstractButton* theWrappedObject, QEvent* e); | ||||
void setAutoRepeatDelay(QAbstractButton* theWrappedObject, int arg__1); | ||||
void setIcon(QAbstractButton* theWrappedObject, const QIcon& icon); | ||||
int autoRepeatDelay(QAbstractButton* theWrappedObject) const; | ||||
QButtonGroup* group(QAbstractButton* theWrappedObject) const; | ||||
florianlink
|
r13 | }; | ||
#endif // PYTHONQTWRAPPER_QABSTRACTBUTTON_H | ||||