But a main window already has a layout.
Which of the main window elements do you currently need?
toolbars? statusbar?
Cheers,
_
But a main window already has a layout.
Which of the main window elements do you currently need?
toolbars? statusbar?
Cheers,
_
Then the question becomes: why use a QMainWindow at all?
Why not just have the GL widget as the window itself?
Cheers,
_
Ok, so if I understand you correctly, there is no reason to use the QMainWindow.
In which case just remove it and use your widget as the window.
Cheers,
_
No idea sorry.
Btw, I think the more current OpenGL widget is QOpenGLWidget, QGLWidget is deprecated
Cheers,
_
Thanks.
My final solution is to scale the offscreen buffer to fill the widget myself.
Bookmarks