qopenglwidget

Get openGLwidget linked with Qtimer update

Get openGLwidget linked with Qtimer update Question: I m trying to build a gui with Pyqt5. and withing the gui there is an openGLwidget, that should contain a rotating cube. But i cannot figure out how to make the cube rotate. Thank you. this is the setup function def setupUI(self): self.openGLWidget.initializeGL() self.openGLWidget.resizeGL(651,551) self.openGLWidget.paintGL = self.paintGL …

Total answers: 1