##// END OF EJS Templates
improved so that dict contains properties and that dir() shows all available things, including the derived base attributes...
improved so that dict contains properties and that dir() shows all available things, including the derived base attributes git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@70 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r28:cf202027b50b
r34:5daedfb035c8
Show More
PythonQtWrapper_QGLPixelBuffer.h
71 lines | 3.5 KiB | text/x-c | CLexer
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 #ifndef PYTHONQTWRAPPER_QGLPIXELBUFFER_H
#define PYTHONQTWRAPPER_QGLPIXELBUFFER_H
#include <qglpixelbuffer.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 <QImage>
#include <QVariant>
#include <qgl.h>
#include <qglpixelbuffer.h>
#include <qimage.h>
#include <qpaintdevice.h>
#include <qpaintengine.h>
#include <qpixmap.h>
#include <qpoint.h>
#include <qrect.h>
#include <qsize.h>
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 class PythonQtShell_QGLPixelBuffer : public QGLPixelBuffer
{
public:
PythonQtShell_QGLPixelBuffer(const QSize& size, const QGLFormat& format = QGLFormat::defaultFormat(), QGLWidget* shareWidget = 0):QGLPixelBuffer(size, format, shareWidget),_wrapper(NULL) {};
PythonQtShell_QGLPixelBuffer(int width, int height, const QGLFormat& format = QGLFormat::defaultFormat(), QGLWidget* shareWidget = 0):QGLPixelBuffer(width, height, format, shareWidget),_wrapper(NULL) {};
virtual int devType() const;
virtual int metric(QPaintDevice::PaintDeviceMetric metric) const;
virtual QPaintEngine* paintEngine() const;
PythonQtInstanceWrapper* _wrapper;
};
class PythonQtPublicPromoter_QGLPixelBuffer : public QGLPixelBuffer
{ public:
florianlink
upgraded wrappers to current generator version...
r28 inline QPaintEngine* promoted_paintEngine() const { return QGLPixelBuffer::paintEngine(); }
inline int promoted_metric(QPaintDevice::PaintDeviceMetric metric) const { return QGLPixelBuffer::metric(metric); }
inline int promoted_devType() const { return QGLPixelBuffer::devType(); }
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_QGLPixelBuffer : public QObject
{ Q_OBJECT
public:
public slots:
QGLPixelBuffer* new_QGLPixelBuffer(const QSize& size, const QGLFormat& format = QGLFormat::defaultFormat(), QGLWidget* shareWidget = 0);
QGLPixelBuffer* new_QGLPixelBuffer(int width, int height, const QGLFormat& format = QGLFormat::defaultFormat(), QGLWidget* shareWidget = 0);
void delete_QGLPixelBuffer(QGLPixelBuffer* obj) { delete obj; }
bool static_QGLPixelBuffer_hasOpenGLPbuffers();
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 void drawTexture(QGLPixelBuffer* theWrappedObject, const QRectF& target, unsigned int textureId, unsigned int textureTarget = 0x0DE1);
florianlink
upgraded wrappers to current generator version...
r28 QGLFormat format(QGLPixelBuffer* theWrappedObject) const;
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 QPaintEngine* paintEngine(QGLPixelBuffer* theWrappedObject) const;
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 unsigned int bindTexture(QGLPixelBuffer* theWrappedObject, const QImage& image, unsigned int target = 0x0DE1);
florianlink
upgraded wrappers to current generator version...
r28 bool bindToDynamicTexture(QGLPixelBuffer* theWrappedObject, unsigned int texture);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 bool isValid(QGLPixelBuffer* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 int metric(QGLPixelBuffer* theWrappedObject, QPaintDevice::PaintDeviceMetric metric) const;
void updateDynamicTexture(QGLPixelBuffer* theWrappedObject, unsigned int texture_id) const;
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 unsigned int bindTexture(QGLPixelBuffer* theWrappedObject, const QPixmap& pixmap, unsigned int target = 0x0DE1);
void deleteTexture(QGLPixelBuffer* theWrappedObject, unsigned int texture_id);
bool doneCurrent(QGLPixelBuffer* theWrappedObject);
florianlink
upgraded wrappers to current generator version...
r28 Qt::HANDLE handle(QGLPixelBuffer* theWrappedObject) const;
unsigned int generateDynamicTexture(QGLPixelBuffer* theWrappedObject) const;
bool makeCurrent(QGLPixelBuffer* theWrappedObject);
QSize size(QGLPixelBuffer* theWrappedObject) const;
void drawTexture(QGLPixelBuffer* theWrappedObject, const QPointF& point, unsigned int textureId, unsigned int textureTarget = 0x0DE1);
QImage toImage(QGLPixelBuffer* theWrappedObject) const;
void releaseFromDynamicTexture(QGLPixelBuffer* theWrappedObject);
int devType(QGLPixelBuffer* theWrappedObject) const;
unsigned int bindTexture(QGLPixelBuffer* theWrappedObject, const QString& fileName);
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 };
#endif // PYTHONQTWRAPPER_QGLPIXELBUFFER_H