Is it possible to create a widget in Qt4, the size of which can be changed interactively (for example, by clicking and dragging an edge), but the size of which will not change when its child widgets are added, deleted or resized?
In other words, when I fill the widget with children, the children are compressed as needed to support the parent geometry. However, if the parent is expanded, the children expand to fill in the new space.
source
share