diff options
Diffstat (limited to 'examples/opengl/hellogl2.py')
| -rw-r--r-- | examples/opengl/hellogl2.py | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/examples/opengl/hellogl2.py b/examples/opengl/hellogl2.py index ad3562f0b..b12a7b275 100644 --- a/examples/opengl/hellogl2.py +++ b/examples/opengl/hellogl2.py @@ -47,10 +47,14 @@ import math import numpy import ctypes from PySide2.QtCore import QCoreApplication, Signal, SIGNAL, SLOT, Qt, QSize, QPoint -from PySide2.QtGui import (QVector3D, QOpenGLFunctions, QOpenGLVertexArrayObject, QOpenGLBuffer, - QOpenGLShaderProgram, QMatrix4x4, QOpenGLShader, QOpenGLContext, QSurfaceFormat) -from PySide2.QtWidgets import (QApplication, QWidget, QMessageBox, QHBoxLayout, QSlider, - QOpenGLWidget) +from PySide2.QtGui import (QVector3D, QOpenGLFunctions, + QMatrix4x4, QOpenGLContext, QSurfaceFormat) +from PySide2.QtOpenGL import (QOpenGLVertexArrayObject, QOpenGLBuffer, + QOpenGLShaderProgram, QOpenGLShader) +from PySide2.QtWidgets import (QApplication, QWidget, QMessageBox, QHBoxLayout, + QSlider) +from PySide2.QtOpenGLWidgets import QOpenGLWidget + from shiboken2 import VoidPtr try: |
