#include "SUIT_ShortcutMgr.h"#include "SUIT_Session.h"#include "SUIT_ResourceMgr.h"#include "SUIT_MessageBox.h"#include "Tools/SUIT_extensions.h"#include "Tools/SUIT_SentenceMatcher.h"#include <QAction>#include <QtxAction.h>#include <QApplication>#include <QActionEvent>#include <QKeySequence>#include <QDebug>#include <QJsonObject>#include <QJsonDocument>#include <QJsonArray>#include <QJsonParseError>#include <QFile>#include <list>#include <iostream>#include <string>#include <sstream>#include <stdexcept>Functions | |
| bool | ShCutDbg (const QString &theString) |
| Prints theString to std::wcout, if SUIT_ShortcutMgr debug logging is enabled. More... | |
| bool | ShCutDbg (const char *src) |
| Prints theString to std::wcout, if SUIT_ShortcutMgr debug logging is enabled. More... | |
| void | Warning (const QString &theString) |
| void | Warning (const char *src) |
Variables | |
| const std::wstring | SHORTCUT_MGR_LOG_PREFIX = L"SHORTCUT_MGR_DBG: " |
| static const QKeySequence | NO_KEYSEQUENCE = QKeySequence(QString("")) |
| static const QString | NO_ACTION = QString("") |
| static const QString | TOKEN_SEPARATOR = QString("/") |
| Separates tokens in action ID. More... | |
| static const QString | META_ACTION_PREFIX = QString("#") |
| static const QString | SECTION_NAME_PREFIX = QString("shortcuts_vA1.0") |
| Prefix of names of shortcut setting sections in preference files. More... | |
| const QString | DEFAULT_LANG = QString("en") |
| const QString | LANG_SECTION = QString("language") |
| static const QString | SECTION_NAME_ACTION_ASSET_FILE_PATHS = QString("action_assets") |
| const QString | SECTION_NAME_ACTION_ID_MUTATION_FILE_PATHS = "actionID_mutations" |
| bool ShCutDbg | ( | const char * | src | ) |
Prints theString to std::wcout, if SUIT_ShortcutMgr debug logging is enabled.
References ShCutDbg(), and SHORTCUT_MGR_LOG_PREFIX.
| bool ShCutDbg | ( | const QString & | theString | ) |
Prints theString to std::wcout, if SUIT_ShortcutMgr debug logging is enabled.
References SHORTCUT_MGR_LOG_PREFIX.
| void Warning | ( | const char * | src | ) |
| void Warning | ( | const QString & | theString | ) |
| const QString DEFAULT_LANG = QString("en") |
| const QString LANG_SECTION = QString("language") |
|
static |
|
static |
|
static |
|
static |
| const QString SECTION_NAME_ACTION_ID_MUTATION_FILE_PATHS = "actionID_mutations" |
|
static |
Prefix of names of shortcut setting sections in preference files.
| const std::wstring SHORTCUT_MGR_LOG_PREFIX = L"SHORTCUT_MGR_DBG: " |
|
static |
Separates tokens in action ID.