I have a bit of a strange requirement. The long and short of it is when the QMainWindow::showEvent(QShowEvent* event) is called I do some QWidget resizing.
QMainWindow::showEvent(QShowEvent* event)