##// END OF EJS Templates
added experimental compacting to avoid generation of hundreds of files that all include the same stuff...
added experimental compacting to avoid generation of hundreds of files that all include the same stuff git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@128 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r73:40dc86970256
r92:f97ec94c87a9
Show More
PythonQtWrapper_QPushButton.h
126 lines | 5.0 KiB | text/x-c | CLexer
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 #ifndef PYTHONQTWRAPPER_QPUSHBUTTON_H
#define PYTHONQTWRAPPER_QPUSHBUTTON_H
#include <qpushbutton.h>
#include <QObject>
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 #include <PythonQt.h>
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 #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>
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 class PythonQtShell_QPushButton : public QPushButton
{
public:
PythonQtShell_QPushButton(QWidget* parent = 0):QPushButton(parent),_wrapper(NULL) {};
PythonQtShell_QPushButton(const QIcon& icon, const QString& text, QWidget* parent = 0):QPushButton(icon, text, parent),_wrapper(NULL) {};
PythonQtShell_QPushButton(const QString& text, QWidget* parent = 0):QPushButton(text, 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* arg__1);
virtual bool focusNextPrevChild(bool next);
virtual void focusOutEvent(QFocusEvent* arg__1);
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* arg__1);
virtual void keyReleaseEvent(QKeyEvent* e);
virtual void languageChange();
virtual void leaveEvent(QEvent* arg__1);
virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) 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* arg__1);
virtual void resizeEvent(QResizeEvent* arg__1);
virtual void showEvent(QShowEvent* arg__1);
virtual void tabletEvent(QTabletEvent* arg__1);
virtual void timerEvent(QTimerEvent* e);
virtual void wheelEvent(QWheelEvent* arg__1);
PythonQtInstanceWrapper* _wrapper;
};
class PythonQtPublicPromoter_QPushButton : public QPushButton
{ public:
florianlink
upgraded wrappers to current generator version...
r28 inline void promoted_focusOutEvent(QFocusEvent* arg__1) { QPushButton::focusOutEvent(arg__1); }
inline void promoted_keyPressEvent(QKeyEvent* arg__1) { QPushButton::keyPressEvent(arg__1); }
florianlink
recreated wrappers to match current python qt version...
r73 inline void promoted_paintEvent(QPaintEvent* arg__1) { QPushButton::paintEvent(arg__1); }
inline bool promoted_event(QEvent* e) { return QPushButton::event(e); }
florianlink
upgraded wrappers to current generator version...
r28 inline void promoted_focusInEvent(QFocusEvent* arg__1) { QPushButton::focusInEvent(arg__1); }
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 };
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 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; }
florianlink
upgraded wrappers to current generator version...
r28 void setDefault(QPushButton* theWrappedObject, bool arg__1);
void focusOutEvent(QPushButton* theWrappedObject, QFocusEvent* arg__1);
bool isFlat(QPushButton* theWrappedObject) const;
florianlink
recreated wrappers to match current python qt version...
r73 QSize minimumSizeHint(QPushButton* theWrappedObject) const;
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 bool autoDefault(QPushButton* theWrappedObject) const;
florianlink
recreated wrappers to match current python qt version...
r73 void setAutoDefault(QPushButton* theWrappedObject, bool arg__1);
florianlink
upgraded wrappers to current generator version...
r28 void keyPressEvent(QPushButton* theWrappedObject, QKeyEvent* arg__1);
florianlink
recreated wrappers to match current python qt version...
r73 void paintEvent(QPushButton* theWrappedObject, QPaintEvent* arg__1);
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 QSize sizeHint(QPushButton* theWrappedObject) const;
florianlink
recreated wrappers to match current python qt version...
r73 bool event(QPushButton* theWrappedObject, QEvent* e);
florianlink
upgraded wrappers to current generator version...
r28 void focusInEvent(QPushButton* theWrappedObject, QFocusEvent* arg__1);
florianlink
recreated wrappers to match current python qt version...
r73 bool isDefault(QPushButton* theWrappedObject) const;
void setFlat(QPushButton* theWrappedObject, bool arg__1);
QMenu* menu(QPushButton* theWrappedObject) const;
void setMenu(QPushButton* theWrappedObject, QMenu* menu);
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 };
#endif // PYTHONQTWRAPPER_QPUSHBUTTON_H