The QAction class provides an abstraction for user commands that can be added to different user inter...
void setIconVisibleInMenu(bool visible)
void setIcon(const QIcon &icon)
The QApplication class manages the GUI application's control flow and main settings.
static void setAttribute(Qt::ApplicationAttribute attribute, bool on=true)
Sets the attribute attribute if on is true; otherwise clears the attribute.
@ AA_DontShowIconsInMenus
QApplication app(argc, argv)
[0]