porting OpenGLScroller to Qt