Implement drawing using QGLWidget. This should enforce drawing using opengl.