Ah perfect! Thanks wysota!
It seems to work fine when I used a QTreeWidget (just for testing), but the QGLWidget gets reduced to 50x100pixel.
I would have thought that the viewport-widget always takes the maximum space available (= the full QMdiArea). setMinimumSize() etc. did not work!
Do you know, if I have to set a QSize somewhere to resize the GLWidget?
Bookmarks