OpenGL is a standard API for rendering 3D graphics.
OpenGL only deals with 3D rendering and does not worry about GUI programming issues. You must create the user interface with another toolkit, such as Motif on the X platform, Microsoft Foundation Classes (MFC) under Windows -- or Qt on both platforms.
The OpenGL support classes in Qt are:
Many applications need only the high-level QGLWidget class. The other QGL classes provide advanced features.