Propagate Size Changes from GLWidget to Parents
General and Desktop
1
Posts
1
Posters
418
Views
1
Watching
-
I have a QMainWindow with a QWidget that contains a GLWidget and a few controls. I would like GLWidget to be able to change its size and propagate the size change up to the QWidget and in turn to the QWindow. Per the instructions in http://qt-project.org/faq/answer/how_can_i_trigger_the_parent_widget_to_resize_when_its_child_widget_is_resi, I change the value that sizeHint returns in my GLWidget and then call updateGeometry. This seems to have no effect, however.
Is what I would like to accomplish possible? Thank you for any tips or references.