C++ (Qt)void openMyWindow(bool b)
C++ (Qt)connect(pMainMenu->pAction, SIGNAL(triggered(bool)), this, SLOT(openMyWindow(bool)));