In a dialog some options should be made visible or hidden dynamically as a result of an "Advanced" check box. The dialog contains a number of widgets which are in various hierarchical layouts and group boxes.

Now, when a groupbox in the middle of the dialog is hidden or show, the widgets in the dialog tend to jump around a little and even widgets that do not need to be resized because of existing spacers, are temporarily modified.

This effect is clearly visible and quite annoying. Calling setUpdateEnabled(false) for the dialog before the visibility of the groupbox is changed does not help either.

Is there any way to prevent Qt from updating the dialogs widgets until the final layout has been calculated?

Andreas