![]() |
LeechCraft 0.6.70-16373-g319c272718
Modular cross-platform feature rich live environment.
|
Describes an action exposed in shortcut manager. More...
#include "ihaveshortcuts.h"
Public Member Functions | |
QKeySequences_t | GetAllShortcuts () const |
Public Attributes | |
QString | Text_ {} |
User-visible name of the action. | |
QKeySequence | Seq_ {} |
The primary key sequence for this action. | |
std::variant< Util::Void, QByteArray, QIcon > | Icon_ { Util::Void {} } |
Icon of the action, either a QIcon itself or its ActionIcon . | |
QKeySequences_t | AdditionalSeqs_ {} |
The additional key sequences for this action. | |
Describes an action exposed in shortcut manager.
This structure contains information about the action that could be handled by the shortcut manager, like action icon, default key sequences and human-readable description text.
Definition at line 32 of file ihaveshortcuts.h.
|
inline |
Definition at line 43 of file ihaveshortcuts.h.
References AdditionalSeqs_, and Seq_.
QKeySequences_t LC::ActionInfo::AdditionalSeqs_ {} |
The additional key sequences for this action.
Definition at line 41 of file ihaveshortcuts.h.
Referenced by GetAllShortcuts(), and LC::Util::ShortcutManager::RegisterGlobalShortcut().
std::variant<Util::Void, QByteArray, QIcon> LC::ActionInfo::Icon_ { Util::Void {} } |
Icon of the action, either a QIcon
itself or its ActionIcon
.
Definition at line 39 of file ihaveshortcuts.h.
QKeySequence LC::ActionInfo::Seq_ {} |
The primary key sequence for this action.
Definition at line 37 of file ihaveshortcuts.h.
Referenced by GetAllShortcuts(), and LC::Util::ShortcutManager::RegisterGlobalShortcut().
QString LC::ActionInfo::Text_ {} |
User-visible name of the action.
Definition at line 35 of file ihaveshortcuts.h.