Hi all,
I use QSplitter to layout my window. I firstly create window components in a ui file and then use QSplitter in the program to layout it.
I use a QFrame as the container in the ui file. In my cpp program, my derived QGLWidget uses QFrame as the parent to fill it. QFrame works fine when I move the splitter handle. However, even if I setStretchFactor for QFrame and QGLWidget, my derived QGLWidget always cannot stretch to fill the QFrame. In fact, the derived QGLWidget does not stretch at all. Does anyone show me how to solve this problem? Thank you very much!
J.
Bookmarks