|
|
|
@ -218,116 +218,116 @@ void CSMPrefs::State::declare()
|
|
|
|
|
declareCategory ("Key Bindings");
|
|
|
|
|
|
|
|
|
|
declareSubcategory ("Document");
|
|
|
|
|
declareShortcut ("document-file-newgame", "Create new game", QKeySequence());
|
|
|
|
|
declareShortcut ("document-file-newaddon", "Create new addon", QKeySequence());
|
|
|
|
|
declareShortcut ("document-file-newgame", "New Game", QKeySequence());
|
|
|
|
|
declareShortcut ("document-file-newaddon", "New Addon", QKeySequence());
|
|
|
|
|
declareShortcut ("document-file-open", "Open", QKeySequence());
|
|
|
|
|
declareShortcut ("document-file-save", "Save", QKeySequence(Qt::ControlModifier | Qt::Key_S));
|
|
|
|
|
declareShortcut ("document-file-verify", "Verify", QKeySequence());
|
|
|
|
|
declareShortcut ("document-file-merge", "Merge", QKeySequence());
|
|
|
|
|
declareShortcut ("document-file-errorlog", "Load error log", QKeySequence());
|
|
|
|
|
declareShortcut ("document-file-errorlog", "Open Load Error Log", QKeySequence());
|
|
|
|
|
declareShortcut ("document-file-metadata", "Meta Data", QKeySequence());
|
|
|
|
|
declareShortcut ("document-file-close", "Close", QKeySequence());
|
|
|
|
|
declareShortcut ("document-file-exit", "Exit", QKeySequence());
|
|
|
|
|
declareShortcut ("document-file-close", "Close Document", QKeySequence());
|
|
|
|
|
declareShortcut ("document-file-exit", "Exit Application", QKeySequence());
|
|
|
|
|
declareShortcut ("document-edit-undo", "Undo", QKeySequence(Qt::ControlModifier | Qt::Key_Z));
|
|
|
|
|
declareShortcut ("document-edit-redo", "Redo", QKeySequence(Qt::ControlModifier | Qt::ShiftModifier | Qt::Key_Z));
|
|
|
|
|
declareShortcut ("document-edit-preferences", "Show Preferences", QKeySequence());
|
|
|
|
|
declareShortcut ("document-edit-search", "Show Search", QKeySequence());
|
|
|
|
|
declareShortcut ("document-edit-preferences", "Open Preferences", QKeySequence());
|
|
|
|
|
declareShortcut ("document-edit-search", "Search", QKeySequence());
|
|
|
|
|
declareShortcut ("document-view-newview", "New View", QKeySequence());
|
|
|
|
|
declareShortcut ("document-view-statusbar", "Show Status Bar", QKeySequence());
|
|
|
|
|
declareShortcut ("document-view-filters", "Show Filters", QKeySequence());
|
|
|
|
|
declareShortcut ("document-world-regions", "Show Regions", QKeySequence());
|
|
|
|
|
declareShortcut ("document-world-cells", "Show Cells", QKeySequence());
|
|
|
|
|
declareShortcut ("document-world-referencables", "Show Referencables", QKeySequence());
|
|
|
|
|
declareShortcut ("document-world-references", "Show References", QKeySequence());
|
|
|
|
|
declareShortcut ("document-world-pathgrid", "Show Pathgrids", QKeySequence());
|
|
|
|
|
declareShortcut ("document-world-regionmap", "Show Region Map", QKeySequence());
|
|
|
|
|
declareShortcut ("document-mechanics-globals", "Show Globals", QKeySequence());
|
|
|
|
|
declareShortcut ("document-mechanics-gamesettings", "Show Game Settings", QKeySequence());
|
|
|
|
|
declareShortcut ("document-mechanics-scripts", "Show Scripts", QKeySequence());
|
|
|
|
|
declareShortcut ("document-mechanics-spells", "Show Spells", QKeySequence());
|
|
|
|
|
declareShortcut ("document-mechanics-enchantments", "Show Enchantments", QKeySequence());
|
|
|
|
|
declareShortcut ("document-mechanics-magiceffects", "Show Magic Effects", QKeySequence());
|
|
|
|
|
declareShortcut ("document-mechanics-startscripts", "Show Start Scripts", QKeySequence());
|
|
|
|
|
declareShortcut ("document-character-skills", "Show Skills", QKeySequence());
|
|
|
|
|
declareShortcut ("document-character-classes", "Show Classes", QKeySequence());
|
|
|
|
|
declareShortcut ("document-character-factions", "Show Factions", QKeySequence());
|
|
|
|
|
declareShortcut ("document-character-races", "Show Races", QKeySequence());
|
|
|
|
|
declareShortcut ("document-character-birthsigns", "Show Birthsigns", QKeySequence());
|
|
|
|
|
declareShortcut ("document-character-topics", "Show Topics", QKeySequence());
|
|
|
|
|
declareShortcut ("document-character-journals", "Show Journals", QKeySequence());
|
|
|
|
|
declareShortcut ("document-character-topicinfos", "Show Topic Infos", QKeySequence());
|
|
|
|
|
declareShortcut ("document-character-journalinfos", "Show Journal Infos", QKeySequence());
|
|
|
|
|
declareShortcut ("document-character-bodyparts", "Show Body Parts", QKeySequence());
|
|
|
|
|
declareShortcut ("document-assets-sounds", "Show Sound Assets", QKeySequence());
|
|
|
|
|
declareShortcut ("document-assets-soundgens", "Show Sound Generators", QKeySequence());
|
|
|
|
|
declareShortcut ("document-assets-meshes", "Show Mesh Assets", QKeySequence());
|
|
|
|
|
declareShortcut ("document-assets-icons", "Show Icon Assets", QKeySequence());
|
|
|
|
|
declareShortcut ("document-assets-music", "Show Music Assets", QKeySequence());
|
|
|
|
|
declareShortcut ("document-assets-soundres", "Show Sound Files", QKeySequence());
|
|
|
|
|
declareShortcut ("document-assets-textures", "TShow exture Assets", QKeySequence());
|
|
|
|
|
declareShortcut ("document-assets-videos", "Show Video Assets", QKeySequence());
|
|
|
|
|
declareShortcut ("document-view-statusbar", "Toggle Status Bar", QKeySequence());
|
|
|
|
|
declareShortcut ("document-view-filters", "Open Filter List", QKeySequence());
|
|
|
|
|
declareShortcut ("document-world-regions", "Open Region List", QKeySequence());
|
|
|
|
|
declareShortcut ("document-world-cells", "Open Cell List", QKeySequence());
|
|
|
|
|
declareShortcut ("document-world-referencables", "Open Object List", QKeySequence());
|
|
|
|
|
declareShortcut ("document-world-references", "Open Instance List", QKeySequence());
|
|
|
|
|
declareShortcut ("document-world-pathgrid", "Open Pathgrid List", QKeySequence());
|
|
|
|
|
declareShortcut ("document-world-regionmap", "Open Region Map", QKeySequence());
|
|
|
|
|
declareShortcut ("document-mechanics-globals", "Open Global List", QKeySequence());
|
|
|
|
|
declareShortcut ("document-mechanics-gamesettings", "Open Game Settings", QKeySequence());
|
|
|
|
|
declareShortcut ("document-mechanics-scripts", "Open Script List", QKeySequence());
|
|
|
|
|
declareShortcut ("document-mechanics-spells", "Open Spell List", QKeySequence());
|
|
|
|
|
declareShortcut ("document-mechanics-enchantments", "Open Enchantment List", QKeySequence());
|
|
|
|
|
declareShortcut ("document-mechanics-magiceffects", "Open Magic Effect List", QKeySequence());
|
|
|
|
|
declareShortcut ("document-mechanics-startscripts", "Open Start Script List", QKeySequence());
|
|
|
|
|
declareShortcut ("document-character-skills", "Open Skill List", QKeySequence());
|
|
|
|
|
declareShortcut ("document-character-classes", "Open Class List", QKeySequence());
|
|
|
|
|
declareShortcut ("document-character-factions", "Open Faction List", QKeySequence());
|
|
|
|
|
declareShortcut ("document-character-races", "Open Race List", QKeySequence());
|
|
|
|
|
declareShortcut ("document-character-birthsigns", "Open Birthsign List", QKeySequence());
|
|
|
|
|
declareShortcut ("document-character-topics", "Open Topic List", QKeySequence());
|
|
|
|
|
declareShortcut ("document-character-journals", "Open Journal List", QKeySequence());
|
|
|
|
|
declareShortcut ("document-character-topicinfos", "Open Topic Info List", QKeySequence());
|
|
|
|
|
declareShortcut ("document-character-journalinfos", "Open Journal Info List", QKeySequence());
|
|
|
|
|
declareShortcut ("document-character-bodyparts", "Open Body Part List", QKeySequence());
|
|
|
|
|
declareShortcut ("document-assets-sounds", "Open Sound Asset List", QKeySequence());
|
|
|
|
|
declareShortcut ("document-assets-soundgens", "Open Sound Generator List", QKeySequence());
|
|
|
|
|
declareShortcut ("document-assets-meshes", "Open Mesh Asset List", QKeySequence());
|
|
|
|
|
declareShortcut ("document-assets-icons", "Open Icon Asset List", QKeySequence());
|
|
|
|
|
declareShortcut ("document-assets-music", "Open Music Asset List", QKeySequence());
|
|
|
|
|
declareShortcut ("document-assets-soundres", "Open Sound File List", QKeySequence());
|
|
|
|
|
declareShortcut ("document-assets-textures", "Open Texture Asset List", QKeySequence());
|
|
|
|
|
declareShortcut ("document-assets-videos", "Open Video Asset List", QKeySequence());
|
|
|
|
|
declareShortcut ("document-debug-run", "Run Debug", QKeySequence());
|
|
|
|
|
declareShortcut ("document-debug-shutdown", "Stop Debug", QKeySequence());
|
|
|
|
|
declareShortcut ("document-debug-runlog", "Run Log", QKeySequence());
|
|
|
|
|
declareShortcut ("document-debug-runlog", "Open Run Log", QKeySequence());
|
|
|
|
|
|
|
|
|
|
declareSubcategory ("Table");
|
|
|
|
|
declareShortcut ("table-edit", "Edit record", QKeySequence());
|
|
|
|
|
declareShortcut ("table-add", "Add row/record", QKeySequence(Qt::ControlModifier | Qt::Key_N));
|
|
|
|
|
declareShortcut ("table-clone", "Clone record", QKeySequence());
|
|
|
|
|
declareShortcut ("table-revert", "Revert record", QKeySequence());
|
|
|
|
|
declareShortcut ("table-remove", "Remove row/record", QKeySequence(Qt::Key_Delete));
|
|
|
|
|
declareShortcut ("table-moveup", "Move record up", QKeySequence());
|
|
|
|
|
declareShortcut ("table-movedown", "Move record down", QKeySequence());
|
|
|
|
|
declareShortcut ("table-view", "View record", QKeySequence());
|
|
|
|
|
declareShortcut ("table-preview", "Preview record", QKeySequence());
|
|
|
|
|
declareShortcut ("table-extendeddelete", "Extended record deletion", QKeySequence());
|
|
|
|
|
declareShortcut ("table-extendedrevert", "Extended record revertion", QKeySequence());
|
|
|
|
|
declareShortcut ("table-edit", "Edit Record", QKeySequence());
|
|
|
|
|
declareShortcut ("table-add", "Add Row/Record", QKeySequence(Qt::ControlModifier | Qt::Key_N));
|
|
|
|
|
declareShortcut ("table-clone", "Clone Record", QKeySequence());
|
|
|
|
|
declareShortcut ("table-revert", "Revert Record", QKeySequence());
|
|
|
|
|
declareShortcut ("table-remove", "Remove Row/Record", QKeySequence(Qt::Key_Delete));
|
|
|
|
|
declareShortcut ("table-moveup", "Move Record Up", QKeySequence());
|
|
|
|
|
declareShortcut ("table-movedown", "Move Record Down", QKeySequence());
|
|
|
|
|
declareShortcut ("table-view", "View Record", QKeySequence());
|
|
|
|
|
declareShortcut ("table-preview", "Preview Record", QKeySequence());
|
|
|
|
|
declareShortcut ("table-extendeddelete", "Extended Record Deletion", QKeySequence());
|
|
|
|
|
declareShortcut ("table-extendedrevert", "Extended Record Revertion", QKeySequence());
|
|
|
|
|
|
|
|
|
|
declareSubcategory ("Report Table");
|
|
|
|
|
declareShortcut ("reporttable-show", "Show report", QKeySequence());
|
|
|
|
|
declareShortcut ("reporttable-remove", "Remove report", QKeySequence(Qt::Key_Delete));
|
|
|
|
|
declareShortcut ("reporttable-replace", "Replace report", QKeySequence());
|
|
|
|
|
declareShortcut ("reporttable-refresh", "Refresh report", QKeySequence());
|
|
|
|
|
declareShortcut ("reporttable-show", "Show Report", QKeySequence());
|
|
|
|
|
declareShortcut ("reporttable-remove", "Remove Report", QKeySequence(Qt::Key_Delete));
|
|
|
|
|
declareShortcut ("reporttable-replace", "Replace Report", QKeySequence());
|
|
|
|
|
declareShortcut ("reporttable-refresh", "Refresh Report", QKeySequence());
|
|
|
|
|
|
|
|
|
|
declareSubcategory ("1st/Free Camera");
|
|
|
|
|
declareShortcut ("free-forward", "Forward", QKeySequence(Qt::Key_W), Qt::Key_Shift);
|
|
|
|
|
declareShortcut ("free-backward", "Backward", QKeySequence(Qt::Key_S));
|
|
|
|
|
declareShortcut ("free-left", "Left", QKeySequence(Qt::Key_A));
|
|
|
|
|
declareShortcut ("free-right", "Right", QKeySequence(Qt::Key_D));
|
|
|
|
|
declareModifier ("free-forward", "Speed modifier");
|
|
|
|
|
declareShortcut ("free-roll-left", "Roll left", QKeySequence(Qt::Key_Q));
|
|
|
|
|
declareShortcut ("free-roll-right", "Roll right", QKeySequence(Qt::Key_E));
|
|
|
|
|
declareShortcut ("free-speed-mode", "Speed mode toggle", QKeySequence(Qt::Key_F));
|
|
|
|
|
declareModifier ("free-forward", "Speed Modifier");
|
|
|
|
|
declareShortcut ("free-roll-left", "Roll Left", QKeySequence(Qt::Key_Q));
|
|
|
|
|
declareShortcut ("free-roll-right", "Roll Right", QKeySequence(Qt::Key_E));
|
|
|
|
|
declareShortcut ("free-speed-mode", "Toggle Speed Mode", QKeySequence(Qt::Key_F));
|
|
|
|
|
|
|
|
|
|
declareSubcategory ("Orbit Camera");
|
|
|
|
|
declareShortcut ("orbit-up", "Up", QKeySequence(Qt::Key_W), Qt::Key_Shift);
|
|
|
|
|
declareShortcut ("orbit-down", "Down", QKeySequence(Qt::Key_S));
|
|
|
|
|
declareShortcut ("orbit-left", "Left", QKeySequence(Qt::Key_A));
|
|
|
|
|
declareShortcut ("orbit-right", "Right", QKeySequence(Qt::Key_D));
|
|
|
|
|
declareModifier ("orbit-up", "Speed modifier");
|
|
|
|
|
declareShortcut ("orbit-roll-left", "Roll left", QKeySequence(Qt::Key_Q));
|
|
|
|
|
declareShortcut ("orbit-roll-right", "Roll right", QKeySequence(Qt::Key_E));
|
|
|
|
|
declareShortcut ("orbit-speed-mode", "Speed mode toggle", QKeySequence(Qt::Key_F));
|
|
|
|
|
declareShortcut ("orbit-center-selection", "Center on selected", QKeySequence(Qt::Key_C));
|
|
|
|
|
declareModifier ("orbit-up", "Speed Modifier");
|
|
|
|
|
declareShortcut ("orbit-roll-left", "Roll Left", QKeySequence(Qt::Key_Q));
|
|
|
|
|
declareShortcut ("orbit-roll-right", "Roll Right", QKeySequence(Qt::Key_E));
|
|
|
|
|
declareShortcut ("orbit-speed-mode", "Toggle Speed Mode", QKeySequence(Qt::Key_F));
|
|
|
|
|
declareShortcut ("orbit-center-selection", "Center On Selected", QKeySequence(Qt::Key_C));
|
|
|
|
|
|
|
|
|
|
declareSubcategory ("Scene");
|
|
|
|
|
declareShortcut ("scene-navi-primary", "Camera rotation from mouse movement", QKeySequence(Qt::LeftButton));
|
|
|
|
|
declareShortcut ("scene-navi-secondary", "Camera translation from mouse movement",
|
|
|
|
|
declareShortcut ("scene-navi-primary", "Camera Rotation From Mouse Movement", QKeySequence(Qt::LeftButton));
|
|
|
|
|
declareShortcut ("scene-navi-secondary", "Camera Translation From Mouse Movement",
|
|
|
|
|
QKeySequence(Qt::ControlModifier | (int)Qt::LeftButton));
|
|
|
|
|
declareShortcut ("scene-edit-primary", "Primary edit", QKeySequence(Qt::RightButton));
|
|
|
|
|
declareShortcut ("scene-edit-secondary", "Secondary edit",
|
|
|
|
|
declareShortcut ("scene-edit-primary", "Primary Edit", QKeySequence(Qt::RightButton));
|
|
|
|
|
declareShortcut ("scene-edit-secondary", "Secondary Edit",
|
|
|
|
|
QKeySequence(Qt::ControlModifier | (int)Qt::RightButton));
|
|
|
|
|
declareShortcut ("scene-select-primary", "Primary select", QKeySequence(Qt::MiddleButton));
|
|
|
|
|
declareShortcut ("scene-select-secondary", "Secondary select",
|
|
|
|
|
declareShortcut ("scene-select-primary", "Primary Select", QKeySequence(Qt::MiddleButton));
|
|
|
|
|
declareShortcut ("scene-select-secondary", "Secondary Select",
|
|
|
|
|
QKeySequence(Qt::ControlModifier | (int)Qt::MiddleButton));
|
|
|
|
|
declareShortcut ("scene-load-cam-cell", "Load camera cell", QKeySequence(Qt::KeypadModifier | Qt::Key_5));
|
|
|
|
|
declareShortcut ("scene-load-cam-eastcell", "Load east cell", QKeySequence(Qt::KeypadModifier | Qt::Key_6));
|
|
|
|
|
declareShortcut ("scene-load-cam-northcell", "Load north cell", QKeySequence(Qt::KeypadModifier | Qt::Key_8));
|
|
|
|
|
declareShortcut ("scene-load-cam-westcell", "Load west cell", QKeySequence(Qt::KeypadModifier | Qt::Key_4));
|
|
|
|
|
declareShortcut ("scene-load-cam-southcell", "Load south cell", QKeySequence(Qt::KeypadModifier | Qt::Key_2));
|
|
|
|
|
declareShortcut ("scene-load-cam-cell", "Load Camera Cell", QKeySequence(Qt::KeypadModifier | Qt::Key_5));
|
|
|
|
|
declareShortcut ("scene-load-cam-eastcell", "Load East Cell", QKeySequence(Qt::KeypadModifier | Qt::Key_6));
|
|
|
|
|
declareShortcut ("scene-load-cam-northcell", "Load North Cell", QKeySequence(Qt::KeypadModifier | Qt::Key_8));
|
|
|
|
|
declareShortcut ("scene-load-cam-westcell", "Load West Cell", QKeySequence(Qt::KeypadModifier | Qt::Key_4));
|
|
|
|
|
declareShortcut ("scene-load-cam-southcell", "Load South Cell", QKeySequence(Qt::KeypadModifier | Qt::Key_2));
|
|
|
|
|
declareShortcut ("scene-edit-abort", "Abort", QKeySequence(Qt::Key_Escape));
|
|
|
|
|
declareShortcut ("scene-focus-toolbar", "Toggle toolbar focus", QKeySequence(Qt::Key_T));
|
|
|
|
|
declareShortcut ("scene-render-stats", "Debug rendering stats", QKeySequence(Qt::Key_F3));
|
|
|
|
|
declareShortcut ("scene-focus-toolbar", "Toggle Toolbar Focus", QKeySequence(Qt::Key_T));
|
|
|
|
|
declareShortcut ("scene-render-stats", "Debug Rendering Stats", QKeySequence(Qt::Key_F3));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void CSMPrefs::State::declareCategory (const std::string& key)
|
|
|
|
|