44 std::map<ot::ServiceBase *, std::vector<KeyboardCommandHandler *> *> m_handler;
84 void enable(
void) { m_isEnabled =
true; }
86 void disable(
void) { m_isEnabled =
false; }
93 void slotActivated(
void);
97 void ini(
const QString& _keySequence);
101 bool m_isViewerHandler;
103 QShortcut * m_shortcut;
The API manager is used to manage the global objects required for this API to work.
Definition AppBase.h:21
Definition ShortcutManager.h:116
InvalidKeyCombinationException()
Definition ShortcutManager.cpp:235
Definition ShortcutManager.h:56
ak::UID attatchedSender(void) const
Definition ShortcutManager.h:74
const QString & keySequence(void) const
Definition ShortcutManager.h:78
virtual ~KeyboardCommandHandler()
Definition ShortcutManager.cpp:106
static Qt::Key keyFromOpenTwin(ot::BasicKey _key)
Definition ShortcutManager.cpp:114
void setAsViewerHandler(bool _isViewerHandler)
Definition ShortcutManager.h:88
ot::ServiceBase * creator(void) const
Definition ShortcutManager.h:72
void enable(void)
Definition ShortcutManager.h:84
bool isEnabled(void) const
Definition ShortcutManager.h:68
void disable(void)
Definition ShortcutManager.h:86
void attachToEvent(ak::UID _sender, ak::eventType _event, int _info1=0, int _info2=0)
Definition ShortcutManager.cpp:187
ak::eventType eventType(void) const
Definition ShortcutManager.h:76
bool isViewerHandler(void) const
Definition ShortcutManager.h:70
Definition ServiceBase.h:28
Definition ShortcutManager.h:26
KeyboardCommandHandler * handlerFromKeySequence(const QString &_keySequence)
Definition ShortcutManager.cpp:61
bool shortcutIsRegistered(const QString &_keySequence)
Definition ShortcutManager.cpp:49
void clearViewerHandler(void)
Definition ShortcutManager.cpp:73
ShortcutManager()
Definition ShortcutManager.cpp:17
void addHandler(KeyboardCommandHandler *_handler)
Definition ShortcutManager.cpp:29
virtual ~ShortcutManager()
Definition ShortcutManager.cpp:19
void creatorDestroyed(ot::ServiceBase *_creator)
Definition ShortcutManager.cpp:40
This class is used to store the main information of any object used Information contained is the UID ...
Definition aObject.h:34
General service information. The ServiceBase class is used to store the general service information.
Definition ServiceBase.h:24
unsigned long long UID
The UID datatype used for objects.
Definition globalDataTypes.h:65
eventType
Describes the type of an event.
Definition akCore.h:86
BasicKey
Definition GuiTypes.h:83