7#include <QtOpenGL/qtopenglglobal.h>
11#include <QtGui/QPaintDeviceWindow>
12#include <QtGui/QOpenGLContext>
13#include <QtGui/QImage>
31 explicit QOpenGLWindow(UpdateBehavior updateBehavior = NoPartialUpdate,
QWindow *parent =
nullptr);
35 UpdateBehavior updateBehavior()
const;
44 GLuint defaultFramebufferObject()
const;
52 virtual void initializeGL();
53 virtual void resizeGL(
int w,
int h);
55 virtual void paintUnderGL();
56 virtual void paintOverGL();
UpdateBehavior
This enum describes the update strategy of the QOpenGLWindow.
void frameSwapped()
This signal is emitted after the potentially blocking \l{QOpenGLContext::swapBuffers()}{buffer swap} ...
The QPaintEvent class contains event parameters for paint events.
\inmodule QtCore\reentrant
The QResizeEvent class contains event parameters for resize events.
Combined button and popup list for selecting options.
GLfloat GLfloat GLfloat w
[0]
GLfloat GLfloat GLfloat GLfloat h