Example for how to create custom OpenGL widgets in a Qt project