Actually pass QGLFormat to QGLWidget

GGLWidgetInternal wasn't passing the format it received to the parent
constructor, meaning the format wasn't used at all. This make the Qt UI
properly initialize a 3.2 context.