QT MainWindow class exec