swithced to QGLWidget