PythonQtWrapper_QPaintEvent.h
34 lines
| 933 B
| text/x-c
|
CLexer
florianlink
|
r13 | #ifndef PYTHONQTWRAPPER_QPAINTEVENT_H | ||
#define PYTHONQTWRAPPER_QPAINTEVENT_H | ||||
#include <qevent.h> | ||||
#include <QObject> | ||||
florianlink
|
r24 | #include <PythonQt.h> | ||
florianlink
|
r13 | #include <QVariant> | ||
#include <qrect.h> | ||||
#include <qregion.h> | ||||
florianlink
|
r24 | class PythonQtShell_QPaintEvent : public QPaintEvent | ||
{ | ||||
public: | ||||
PythonQtShell_QPaintEvent(const QRect& paintRect):QPaintEvent(paintRect),_wrapper(NULL) {}; | ||||
PythonQtShell_QPaintEvent(const QRegion& paintRegion):QPaintEvent(paintRegion),_wrapper(NULL) {}; | ||||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
florianlink
|
r13 | class PythonQtWrapper_QPaintEvent : public QObject | ||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
QPaintEvent* new_QPaintEvent(const QRect& paintRect); | ||||
QPaintEvent* new_QPaintEvent(const QRegion& paintRegion); | ||||
void delete_QPaintEvent(QPaintEvent* obj) { delete obj; } | ||||
florianlink
|
r73 | const QRegion* region(QPaintEvent* theWrappedObject) const; | ||
const QRect* rect(QPaintEvent* theWrappedObject) const; | ||||
florianlink
|
r13 | }; | ||
#endif // PYTHONQTWRAPPER_QPAINTEVENT_H | ||||