Qt:Документация 4.3.2/qwsglwindowsurface

Материал из Wiki.crossplatform.ru

Перейти к: навигация, поиск
40px Внимание: Актуальная версия перевода документации находится здесь

__NOTOC__

Image:qt-logo.png

Главная · Все классы · Основные классы · Классы по группам · Модули · Функции

Image:trolltech-logo.png

Содержание

[править] QWSGLWindowSurface Class Reference
[модуль QtOpenGL ]

The QWSGLWindowSurface class provides the drawing area for top-level windows in Qtopia Core on EGL/OpenGLES. It also provides the drawing area for QGLWidgets whether they are top-level windows or child widget of another QWidget. Далее...

 #include <QWSGLWindowSurface>

This class is under development and is subject to change.

Класс был добавлен в Qt 4.3.

[править] Открытые функции


[править] Подробное описание

The QWSGLWindowSurface class provides the drawing area for top-level windows in Qtopia Core on EGL/OpenGLES. It also provides the drawing area for QGLWidgets whether they are top-level windows or child widget of another QWidget.

Note that this class is only available in Qtopia Core and only available if Qt is configured with OpenGL support.


[править] Описание функций-членов

[править]
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 © 2007 Trolltech Trademarks
Qt 4.3.2