Home · All Namespaces · All Classes · Main Classes · Grouped Classes · Modules · Functions

QWSGLWindowSurface Class Reference
[QtOpenGL module]

The QWSGLWindowSurface class provides the drawing area for top-level windows with Qt for Embedded Linux on EGL/OpenGL ES. It also provides the drawing area for QGLWidgets whether they are top-level windows or children of another QWidget. More...

 #include <QWSGLWindowSurface>

This class is under development and is subject to change.

This class was introduced in Qt 4.3.

Public Functions


Detailed Description

The QWSGLWindowSurface class provides the drawing area for top-level windows with Qt for Embedded Linux on EGL/OpenGL ES. It also provides the drawing area for QGLWidgets whether they are top-level windows or children of another QWidget.

Note that this class is only available in Qt for Embedded Linux and only available if Qt is configured with OpenGL support.


Member Function Documentation

QWSGLWindowSurface::QWSGLWindowSurface ( QWidget * window )

Constructs an empty QWSGLWindowSurface for the given top-level window. The window surface is later initialized from chooseContext() and resources for it is typically allocated in setGeometry().

QWSGLWindowSurface::QWSGLWindowSurface ()

Constructs an empty QWSGLWindowSurface.

QWSGLWindowSurface::~QWSGLWindowSurface ()

Destroys the QWSGLWindowSurface object and frees any allocated resources.

QGLContext * QWSGLWindowSurface::context () const

Returns the QGLContext of the window surface.

See also setContext().

void QWSGLWindowSurface::setContext ( QGLContext * context )

Sets the QGLContext for this window surface to context.

See also context().


Copyright © 2008 Nokia Trademarks
Qt 4.4.3