- setText(text);
- setShortcut(shortcut);
- if (receiver && slot)
- connect(this, SIGNAL(triggered()), receiver, slot);
-}
-
-
-void Action::init()
-{
- connect(this, &QAction::triggered, this, &Action::slotTriggered);
-
- setProperty("isShortcutConfigurable", true);