void Application::setOnTop(){ if(!_viewer->isActive()) { if(_viewer->visibility()==QWindow::Minimized) { _viewer->setVisibility(QWindow::Windowed); } if(!_viewer->isTopLevel()) _viewer->raise(); }}
C++ (Qt)setWindowState(windowState() & ~Qt::WindowMinimized);raise();
_viewer->setWindowState((Qt::WindowState)(_viewer->windowState() & ~Qt::WindowMinimized));
C++ (Qt) setWindowState(windowState() & ~Qt::WindowMinimized); raise(); activateWindow();
MainWindow::showNormal(); MainWindow::activateWindow();