Don't call this->show() in a constructor
QWidget::show() triggers a resizeEvent() which is a virtual function
call, which is a really bad idea...
Instead, make the function that created (possibly) hidden widgets
to show() them.
Also, the update() on the children in a resize event was redundant.