diff options
Diffstat (limited to 'examples/opengl/hellogl.py')
-rwxr-xr-x | examples/opengl/hellogl.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/opengl/hellogl.py b/examples/opengl/hellogl.py index e3fa40b..18857fa 100755 --- a/examples/opengl/hellogl.py +++ b/examples/opengl/hellogl.py @@ -101,13 +101,13 @@ class Window(QtWidgets.QWidget): class GLWidget(QtOpenGL.QGLWidget): + xRotationChanged = QtCore.Signal(int) + yRotationChanged = QtCore.Signal(int) + zRotationChanged = QtCore.Signal(int) + def __init__(self, parent=None): QtOpenGL.QGLWidget.__init__(self, parent) - xRotationChanged = QtCore.Signal(int) - yRotationChanged = QtCore.Signal(int) - zRotationChanged = QtCore.Signal(int) - self.object = 0 self.xRot = 0 self.yRot = 0 |