##// END OF EJS Templates
code cleanup and rename of PythonQtWrapper to PythonQtInstanceWrapper and PythonQtMetaObjectWrapper to PythonQtClassWrapper, since these names match much better what these classes wrap, regarding that we are wrapping CPP objects as well...
code cleanup and rename of PythonQtWrapper to PythonQtInstanceWrapper and PythonQtMetaObjectWrapper to PythonQtClassWrapper, since these names match much better what these classes wrap, regarding that we are wrapping CPP objects as well git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@52 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r13:d46b01f7163a
r16:c68e0aff542c
Show More
PythonQtWrapper_QGLFramebufferObject.h
53 lines | 3.0 KiB | text/x-c | CLexer
/ generated_cpp / com_trolltech_qt_opengl / PythonQtWrapper_QGLFramebufferObject.h
#ifndef PYTHONQTWRAPPER_QGLFRAMEBUFFEROBJECT_H
#define PYTHONQTWRAPPER_QGLFRAMEBUFFEROBJECT_H
#include <qglframebufferobject.h>
#include <QObject>
#include <QVariant>
#include <qglframebufferobject.h>
#include <qimage.h>
#include <qpaintdevice.h>
#include <qpaintengine.h>
#include <qpoint.h>
#include <qrect.h>
#include <qsize.h>
class PythonQtWrapper_QGLFramebufferObject : public QObject
{ Q_OBJECT
public:
Q_ENUMS(Attachment )
enum Attachment{
NoAttachment = QGLFramebufferObject::NoAttachment, CombinedDepthStencil = QGLFramebufferObject::CombinedDepthStencil, Depth = QGLFramebufferObject::Depth};
public slots:
QGLFramebufferObject* new_QGLFramebufferObject(const QSize& size, QGLFramebufferObject::Attachment attachment, unsigned int target = 0x0DE1, unsigned int internal_format = 0x8058);
QGLFramebufferObject* new_QGLFramebufferObject(const QSize& size, unsigned int target = 0x0DE1);
QGLFramebufferObject* new_QGLFramebufferObject(int width, int height, QGLFramebufferObject::Attachment attachment, unsigned int target = 0x0DE1, unsigned int internal_format = 0x8058);
QGLFramebufferObject* new_QGLFramebufferObject(int width, int height, unsigned int target = 0x0DE1);
void delete_QGLFramebufferObject(QGLFramebufferObject* obj) { delete obj; }
QGLFramebufferObject::Attachment attachment(QGLFramebufferObject* theWrappedObject) const;
bool bind(QGLFramebufferObject* theWrappedObject);
int depth(QGLFramebufferObject* theWrappedObject) const;
void drawTexture(QGLFramebufferObject* theWrappedObject, const QPointF& point, unsigned int textureId, unsigned int textureTarget = 0x0DE1);
void drawTexture(QGLFramebufferObject* theWrappedObject, const QRectF& target, unsigned int textureId, unsigned int textureTarget = 0x0DE1);
unsigned int handle(QGLFramebufferObject* theWrappedObject) const;
bool static_QGLFramebufferObject_hasOpenGLFramebufferObjects();
int height(QGLFramebufferObject* theWrappedObject) const;
int heightMM(QGLFramebufferObject* theWrappedObject) const;
bool isValid(QGLFramebufferObject* theWrappedObject) const;
int logicalDpiX(QGLFramebufferObject* theWrappedObject) const;
int logicalDpiY(QGLFramebufferObject* theWrappedObject) const;
int numColors(QGLFramebufferObject* theWrappedObject) const;
QPaintEngine* paintEngine(QGLFramebufferObject* theWrappedObject) const;
bool paintingActive(QGLFramebufferObject* theWrappedObject) const;
int physicalDpiX(QGLFramebufferObject* theWrappedObject) const;
int physicalDpiY(QGLFramebufferObject* theWrappedObject) const;
bool release(QGLFramebufferObject* theWrappedObject);
QSize size(QGLFramebufferObject* theWrappedObject) const;
unsigned int texture(QGLFramebufferObject* theWrappedObject) const;
QImage toImage(QGLFramebufferObject* theWrappedObject) const;
int width(QGLFramebufferObject* theWrappedObject) const;
int widthMM(QGLFramebufferObject* theWrappedObject) const;
};
#endif // PYTHONQTWRAPPER_QGLFRAMEBUFFEROBJECT_H