Home · All Classes · Modules

QGLWidget Class Reference
[QtOpenGL module]

Inherits QWidget.

Methods

Static Methods


Detailed Description


Method Documentation

QGLWidget.__init__ (self, QWidget parent = None, QGLWidget shareWidget = None, Qt.WindowFlags flags = 0)

The parent argument, if not None, causes self to be owned by Qt instead of PyQt.

QGLWidget.__init__ (self, QGLContext, QWidget parent = None, QGLWidget shareWidget = None, Qt.WindowFlags flags = 0)

The QGLContext argument has it's ownership transferred to Qt.

The parent argument, if not None, causes self to be owned by Qt instead of PyQt.

QGLWidget.__init__ (self, QGLFormat, QWidget parent = None, QGLWidget shareWidget = None, Qt.WindowFlags flags = 0)

The parent argument, if not None, causes self to be owned by Qt instead of PyQt.

bool QGLWidget.autoBufferSwap (self)

int QGLWidget.bindTexture (self, QImage, int target = GL_TEXTURE_2D, int format = GL_RGBA)

int QGLWidget.bindTexture (self, QPixmap, int target = GL_TEXTURE_2D, int format = GL_RGBA)

int QGLWidget.bindTexture (self, QString)

int QGLWidget.bindTexture (self, QImage, int, int, QGLContext.BindOptions)

int QGLWidget.bindTexture (self, QPixmap, int, int, QGLContext.BindOptions)

QGLColormap QGLWidget.colormap (self)

QGLContext QGLWidget.context (self)

QImage QGLWidget.convertToGLFormat (QImage)

QGLWidget.deleteTexture (self, int)

QGLWidget.doneCurrent (self)

bool QGLWidget.doubleBuffer (self)

QGLWidget.drawTexture (self, QRectF, int, int textureTarget = GL_TEXTURE_2D)

QGLWidget.drawTexture (self, QPointF, int, int textureTarget = GL_TEXTURE_2D)

bool QGLWidget.event (self, QEvent)

int QGLWidget.fontDisplayListBase (self, QFont, int listBase = 2000)

QGLFormat QGLWidget.format (self)

QGLWidget.glDraw (self)

QGLWidget.glInit (self)

QImage QGLWidget.grabFrameBuffer (self, bool withAlpha = False)

QGLWidget.initializeGL (self)

QGLWidget.initializeOverlayGL (self)

bool QGLWidget.isSharing (self)

bool QGLWidget.isValid (self)

QGLWidget.makeCurrent (self)

QGLWidget.makeOverlayCurrent (self)

QGLContext QGLWidget.overlayContext (self)

QPaintEngine QGLWidget.paintEngine (self)

QGLWidget.paintEvent (self, QPaintEvent)

QGLWidget.paintGL (self)

QGLWidget.paintOverlayGL (self)

QGLWidget.qglClearColor (self, QColor)

QGLWidget.qglColor (self, QColor)

QPixmap QGLWidget.renderPixmap (self, int width = 0, int height = 0, bool useContext = False)

QGLWidget.renderText (self, int, int, QString, QFont font = QFont(), int listBase = 2000)

QGLWidget.renderText (self, float, float, float, QString, QFont font = QFont(), int listBase = 2000)

QGLWidget.resizeEvent (self, QResizeEvent)

QGLWidget.resizeGL (self, int, int)

QGLWidget.resizeOverlayGL (self, int, int)

QGLWidget.setAutoBufferSwap (self, bool)

QGLWidget.setColormap (self, QGLColormap)

QGLWidget.setContext (self, QGLContext, QGLContext shareContext = None, bool deleteOldContext = True)

The QGLContext argument has it's ownership transferred to Qt.

QGLWidget.setFormat (self, QGLFormat)

QGLWidget.setMouseTracking (self, bool)

QGLWidget.swapBuffers (self)

QGLWidget.updateGL (self)

This method is also a Qt slot with the C++ signature void updateGL().

QGLWidget.updateOverlayGL (self)

This method is also a Qt slot with the C++ signature void updateOverlayGL().


PyQt 4.8 for X11Copyright © Riverbank Computing Ltd and Nokia 2010Qt 4.7.0