![]() Since the user expects each command to be performed in the same way, regardless of the user interface used, it is useful to represent each command as an action.Īctions can be added to menus and toolbars, and will automatically keep them in sync. In applications many common commands can be invoked via menus, toolbar buttons, and keyboard shortcuts. ShowStatusText(QWidget * widget = nullptr) ![]() SetShortcuts(QKeySequence::StandardKey key) SetShortcutVisibleInContextMenu(bool show) SetShortcutContext(Qt::ShortcutContext context) SetShortcut(const QKeySequence & shortcut) QAction(const QString & text, QObject * parent = nullptr) QAction(const QIcon & icon, const QString & text, QObject * parent = nullptr)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |