Logo Search packages:      
Sourcecode: qt4-x11 version File versions  Download package

void QGLWidget::makeCurrent (  ) [inherited]

Makes this widget the current widget for OpenGL operations, i.e. makes the widget's rendering context the current OpenGL rendering context.

Definition at line 2954 of file qgl.cpp.

Referenced by QGLWidget::event(), QGLWidget::glDraw(), QGLWidget::glInit(), GLWidget::GLWidget(), QGLWidget::grabFrameBuffer(), QView3DWidget::keyReleaseEvent(), QView3DWidget::mouseMoveEvent(), QGLFormat::openGLVersionFlags(), QGLWidget::resizeEvent(), and QView3DWidget::wheelEvent().

{
    Q_D(QGLWidget);
    d->glcx->makeCurrent();
}

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index