|
|
#ifndef PYTHONQTWRAPPER_QABSTRACTBUTTON_H
|
|
|
#define PYTHONQTWRAPPER_QABSTRACTBUTTON_H
|
|
|
|
|
|
#include <qabstractbutton.h>
|
|
|
#include <QObject>
|
|
|
|
|
|
#include <PythonQt.h>
|
|
|
|
|
|
#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>
|
|
|
|
|
|
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:
|
|
|
inline bool promoted_event(QEvent* e) { return QAbstractButton::event(e); }
|
|
|
inline void promoted_keyPressEvent(QKeyEvent* e) { QAbstractButton::keyPressEvent(e); }
|
|
|
inline void promoted_mouseMoveEvent(QMouseEvent* e) { QAbstractButton::mouseMoveEvent(e); }
|
|
|
inline void promoted_focusInEvent(QFocusEvent* e) { QAbstractButton::focusInEvent(e); }
|
|
|
inline void promoted_focusOutEvent(QFocusEvent* e) { QAbstractButton::focusOutEvent(e); }
|
|
|
inline void promoted_timerEvent(QTimerEvent* e) { QAbstractButton::timerEvent(e); }
|
|
|
inline void promoted_changeEvent(QEvent* e) { QAbstractButton::changeEvent(e); }
|
|
|
inline void promoted_keyReleaseEvent(QKeyEvent* e) { QAbstractButton::keyReleaseEvent(e); }
|
|
|
inline void promoted_mousePressEvent(QMouseEvent* e) { QAbstractButton::mousePressEvent(e); }
|
|
|
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); }
|
|
|
inline void promoted_nextCheckState() { QAbstractButton::nextCheckState(); }
|
|
|
};
|
|
|
|
|
|
class PythonQtWrapper_QAbstractButton : public QObject
|
|
|
{ Q_OBJECT
|
|
|
public:
|
|
|
public slots:
|
|
|
QAbstractButton* new_QAbstractButton(QWidget* parent = 0);
|
|
|
void delete_QAbstractButton(QAbstractButton* obj) { delete obj; }
|
|
|
int autoRepeatInterval(QAbstractButton* theWrappedObject) const;
|
|
|
void setDown(QAbstractButton* theWrappedObject, bool arg__1);
|
|
|
void setAutoRepeat(QAbstractButton* theWrappedObject, bool arg__1);
|
|
|
bool isChecked(QAbstractButton* theWrappedObject) const;
|
|
|
void setShortcut(QAbstractButton* theWrappedObject, const QKeySequence& key);
|
|
|
bool autoRepeat(QAbstractButton* theWrappedObject) const;
|
|
|
bool event(QAbstractButton* theWrappedObject, QEvent* e);
|
|
|
void keyPressEvent(QAbstractButton* theWrappedObject, QKeyEvent* e);
|
|
|
void setIcon(QAbstractButton* theWrappedObject, const QIcon& icon);
|
|
|
void mouseMoveEvent(QAbstractButton* theWrappedObject, QMouseEvent* e);
|
|
|
void setAutoRepeatDelay(QAbstractButton* theWrappedObject, int arg__1);
|
|
|
bool isCheckable(QAbstractButton* theWrappedObject) const;
|
|
|
void focusInEvent(QAbstractButton* theWrappedObject, QFocusEvent* e);
|
|
|
int autoRepeatDelay(QAbstractButton* theWrappedObject) const;
|
|
|
void focusOutEvent(QAbstractButton* theWrappedObject, QFocusEvent* e);
|
|
|
void timerEvent(QAbstractButton* theWrappedObject, QTimerEvent* e);
|
|
|
void setAutoExclusive(QAbstractButton* theWrappedObject, bool arg__1);
|
|
|
QIcon icon(QAbstractButton* theWrappedObject) const;
|
|
|
void changeEvent(QAbstractButton* theWrappedObject, QEvent* e);
|
|
|
bool autoExclusive(QAbstractButton* theWrappedObject) const;
|
|
|
void keyReleaseEvent(QAbstractButton* theWrappedObject, QKeyEvent* e);
|
|
|
QButtonGroup* group(QAbstractButton* theWrappedObject) const;
|
|
|
void mousePressEvent(QAbstractButton* theWrappedObject, QMouseEvent* e);
|
|
|
void setAutoRepeatInterval(QAbstractButton* theWrappedObject, int arg__1);
|
|
|
void checkStateSet(QAbstractButton* theWrappedObject);
|
|
|
bool hitButton(QAbstractButton* theWrappedObject, const QPoint& pos) const;
|
|
|
void mouseReleaseEvent(QAbstractButton* theWrappedObject, QMouseEvent* e);
|
|
|
void setText(QAbstractButton* theWrappedObject, const QString& text);
|
|
|
void setCheckable(QAbstractButton* theWrappedObject, bool arg__1);
|
|
|
QSize iconSize(QAbstractButton* theWrappedObject) const;
|
|
|
bool isDown(QAbstractButton* theWrappedObject) const;
|
|
|
QString text(QAbstractButton* theWrappedObject) const;
|
|
|
QKeySequence shortcut(QAbstractButton* theWrappedObject) const;
|
|
|
void nextCheckState(QAbstractButton* theWrappedObject);
|
|
|
};
|
|
|
|
|
|
#endif // PYTHONQTWRAPPER_QABSTRACTBUTTON_H
|
|
|
|