QGLWidget Class Reference
Inherits QWidget.
Constructor
- void QGLWidget(QGLContext context, QWidget parent, QGLWidget shareWidget, WindowFlags f)
- void QGLWidget(QWidget parent, QGLWidget shareWidget, WindowFlags f)
- void QGLWidget(QGLFormat format, QWidget parent, QGLWidget shareWidget, WindowFlags f)
Constructor Properties
- prototype: The QGLWidget prototype object
- QImage convertToGLFormat(QImage img)
Prototype Object Properties
The QGLWidget prototype object inherits properties from the QWidget prototype object and also has the following properties.
- unsigned int bindTexture(QImage image, unsigned int target, int format)
- QGLColormap colormap()
- QGLContext context()
- void deleteTexture(unsigned int tx_id)
- void doneCurrent()
- bool doubleBuffer()
- void drawTexture(QPointF point, unsigned int textureId, unsigned int textureTarget)
- QGLFormat format()
- QImage grabFrameBuffer(bool withAlpha)
- bool isSharing()
- bool isValid()
- void makeCurrent()
- void makeOverlayCurrent()
- QGLContext overlayContext()
- void qglClearColor(QColor c)
- void qglColor(QColor c)
- QPixmap renderPixmap(int w, int h, bool useContext)
- void renderText(double x, double y, double z, String str, QFont fnt, int listBase)
- void setColormap(QGLColormap map)
- void swapBuffers()
Instance Properties
QGLWidget objects have no special properties beyond those inherited from the QGLWidget prototype object.