void MainWindow::showWindow(){ show(); raise(); activateWindow();}
C++ (Qt)if (isMaximized()) setWindowState(Qt::WindowMaximized);else setWindowState(Qt::WindowActive); show();
C++ (Qt)setVisible(true);setWindowState(windowState() & (~Qt::WindowMinimized|Qt::WindowActive));