Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
javiyt last edited by
Hi, I have a couple of questions about the menus in Qt
Everytime I try to make a new Options menu the action "Show open apps." is include by default. Is there any way to remove it?
The code is this
m_menu = new QMenu();
m_menu->addAction("Exit", &app, SLOT(quit()));
QAction *optionsAction = new QAction("Options", &viewer);
The second question is about the action "exit". Is there any way to hide instead of exit? I saw some applications (like ovi contacts) do it to keep running the application in background. I tried with viewer.hide and viewer.showMinimized but it doesn't work.
Thanks in advance!