I would like to render a 3D scene into different viewports. Those viewports are included in "subwindows" with their own menus like this:

Each viewport can be:
- Resized;
- Hidden;
- Displayed in full screen;
- Moved to another part of the application.
So we can have something like:

I believe it is better to embed each viewport into a Qt Widget containing my OpenGL widget (is that right?). So how can I render my 3D scene into several Qt OpenGL Widgets?