PythonQtWrapper_QBitmap.h
61 lines
| 1.9 KiB
| text/x-c
|
CLexer
florianlink
|
r13 | #ifndef PYTHONQTWRAPPER_QBITMAP_H | ||
#define PYTHONQTWRAPPER_QBITMAP_H | ||||
#include <qbitmap.h> | ||||
#include <QObject> | ||||
florianlink
|
r24 | #include <PythonQt.h> | ||
florianlink
|
r13 | #include <QVariant> | ||
#include <qbitmap.h> | ||||
#include <qbytearray.h> | ||||
#include <qcolor.h> | ||||
#include <qimage.h> | ||||
#include <qimagewriter.h> | ||||
#include <qiodevice.h> | ||||
#include <qmatrix.h> | ||||
#include <qpaintengine.h> | ||||
#include <qpixmap.h> | ||||
#include <qpoint.h> | ||||
#include <qrect.h> | ||||
#include <qsize.h> | ||||
#include <qtransform.h> | ||||
#include <qwidget.h> | ||||
florianlink
|
r24 | class PythonQtShell_QBitmap : public QBitmap | ||
{ | ||||
public: | ||||
PythonQtShell_QBitmap():QBitmap(),_wrapper(NULL) {}; | ||||
PythonQtShell_QBitmap(const QPixmap& arg__1):QBitmap(arg__1),_wrapper(NULL) {}; | ||||
PythonQtShell_QBitmap(const QSize& arg__1):QBitmap(arg__1),_wrapper(NULL) {}; | ||||
PythonQtShell_QBitmap(const QString& fileName, const char* format = 0):QBitmap(fileName, format),_wrapper(NULL) {}; | ||||
PythonQtShell_QBitmap(int w, int h):QBitmap(w, h),_wrapper(NULL) {}; | ||||
virtual int devType() const; | ||||
virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; | ||||
virtual QPaintEngine* paintEngine() const; | ||||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
florianlink
|
r13 | class PythonQtWrapper_QBitmap : public QObject | ||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
QBitmap* new_QBitmap(); | ||||
QBitmap* new_QBitmap(const QPixmap& arg__1); | ||||
QBitmap* new_QBitmap(const QSize& arg__1); | ||||
QBitmap* new_QBitmap(const QString& fileName, const char* format = 0); | ||||
QBitmap* new_QBitmap(int w, int h); | ||||
florianlink
|
r24 | QBitmap* new_QBitmap(const QBitmap& other) { | ||
PythonQtShell_QBitmap* a = new PythonQtShell_QBitmap(); | ||||
*((QBitmap*)a) = other; | ||||
return a; } | ||||
florianlink
|
r13 | void delete_QBitmap(QBitmap* obj) { delete obj; } | ||
florianlink
|
r24 | void clear(QBitmap* theWrappedObject); | ||
florianlink
|
r13 | QBitmap transformed(QBitmap* theWrappedObject, const QMatrix& arg__1) const; | ||
florianlink
|
r28 | QBitmap static_QBitmap_fromImage(const QImage& image, Qt::ImageConversionFlags flags = Qt::AutoColor); | ||
florianlink
|
r73 | QBitmap transformed(QBitmap* theWrappedObject, const QTransform& matrix) const; | ||
florianlink
|
r13 | }; | ||
#endif // PYTHONQTWRAPPER_QBITMAP_H | ||||