1 /********* 2 * 3 * This file is part of BibleTime's source code, http://www.bibletime.info/. 4 * 5 * Copyright 1999-2016 by the BibleTime developers. 6 * The BibleTime source code is licensed under the GNU General Public License version 2.0. 7 * 8 **********/ 9 10 #include "util/cresmgr.h" 11 12 namespace CResMgr { 13 14 namespace mainMenu { // Main menu 15 16 namespace view { // Main menu->View 17 namespace showMainIndex { 18 const QKeySequence accel(Qt::Key_F9); 19 const char* actionName = "viewMainIndex_action"; 20 } 21 namespace showInfoDisplay { 22 const QKeySequence accel(Qt::Key_F8); 23 const char* actionName = "viewInfoDisplay_action"; 24 } 25 } // namespace view { 26 27 namespace mainIndex { 28 namespace search { 29 const QKeySequence accel(Qt::CTRL + Qt::Key_O); 30 const char* actionName = "mainindex_search_action"; 31 } 32 namespace searchdefaultbible { 33 const QKeySequence accel(Qt::CTRL + Qt::ALT + Qt::Key_F); 34 const char* actionName = "mainindex_searchdefaultbible_action"; 35 } 36 } // namespace mainIndex { 37 38 namespace window { //mainMenu::window 39 namespace loadProfile { 40 const char* actionName = "windowLoadProfile_action"; 41 } 42 namespace saveProfile { 43 const char* actionName = "windowSaveProfile_action"; 44 } 45 namespace saveToNewProfile { 46 const QKeySequence accel(Qt::CTRL + Qt::ALT + Qt::Key_S); 47 const char* actionName = "windowSaveToNewProfile_action"; 48 } 49 namespace deleteProfile { 50 const char* actionName = "windowDeleteProfile_action"; 51 } 52 namespace showFullscreen { 53 const QKeySequence accel(Qt::Key_F5); 54 const char* actionName = "windowFullscreen_action"; 55 } 56 namespace arrangementMode { 57 const QKeySequence accel; 58 const char* actionName = "windowArrangementMode_action"; 59 60 namespace manual { 61 const QKeySequence accel(Qt::CTRL + Qt::ALT + Qt::Key_M); 62 const char* actionName = "windowArrangementManual_action"; 63 } 64 namespace autoTileHorizontal { 65 const QKeySequence accel(Qt::CTRL + Qt::ALT + Qt::Key_H); 66 const char* actionName = "windowAutoTileHorizontal_action"; 67 } 68 namespace autoTileVertical { 69 const QKeySequence accel(Qt::CTRL + Qt::ALT + Qt::Key_G); 70 const char* actionName = "windowAutoTileVertical_action"; 71 } 72 namespace autoTile { 73 const QKeySequence accel(Qt::CTRL + Qt::ALT + Qt::Key_I); 74 const char* actionName = "windowAutoTile_action"; 75 } 76 namespace autoTabbed { 77 const QKeySequence accel(Qt::CTRL + Qt::ALT + Qt::Key_T); 78 const char* actionName = "windowAutoTabbed_action"; 79 } 80 namespace autoCascade { 81 const QKeySequence accel(Qt::CTRL + Qt::ALT + Qt::Key_J); 82 const char* actionName = "windowAutoCascade_action"; 83 } 84 } 85 namespace tileHorizontal { 86 const QKeySequence accel(Qt::CTRL + Qt::Key_H); 87 const char* actionName = "windowTileHorizontal_action"; 88 } 89 namespace tileVertical { 90 const QKeySequence accel(Qt::CTRL + Qt::Key_G); 91 const char* actionName = "windowTileVertical_action"; 92 } 93 namespace tile { 94 const QKeySequence accel(Qt::CTRL + Qt::Key_I); 95 const char* actionName = "windowTile_action"; 96 } 97 namespace cascade { 98 const QKeySequence accel(Qt::CTRL + Qt::Key_J); 99 const char* actionName = "windowCascade_action"; 100 } 101 namespace close { 102 const QKeySequence accel(Qt::CTRL + Qt::Key_W); 103 const char* actionName = "windowClose_action"; 104 } 105 namespace closeAll { 106 const QKeySequence accel(Qt::CTRL + Qt::ALT + Qt::Key_W); 107 const char* actionName = "windowCloseAll_action"; 108 } 109 }//mainMenu::window 110 111 namespace settings { //Main menu->Settings 112 namespace swordSetupDialog { 113 const QKeySequence accel(Qt::Key_F4); 114 const char* actionName = "options_sword_setup"; 115 } 116 117 }//mainMenu::settings 118 119 namespace help { //Main menu->Help 120 namespace handbook { 121 const QKeySequence accel(Qt::Key_F1); 122 const char* actionName = "helpHandbook_action"; 123 } 124 namespace bibleStudyHowTo { 125 const QKeySequence accel(Qt::Key_F2); 126 const char* actionName = "helpHowTo_action"; 127 } 128 namespace tipOfTheDay { 129 const QKeySequence accel(Qt::Key_F3); 130 const char* actionName = "tipOfTheDay_action"; 131 } 132 }//mainMenu::help 133 } //end of mainMenu 134 135 namespace displaywindows { 136 namespace general { 137 namespace search { 138 const QKeySequence accel(Qt::CTRL + Qt::Key_N); 139 const char* actionName = "window_search_action"; 140 } 141 142 namespace backInHistory { 143 const QKeySequence accel(Qt::ALT + Qt::Key_Left); 144 const char* actionName = "window_history_back_action"; 145 } 146 namespace forwardInHistory { 147 const QKeySequence accel(Qt::ALT + Qt::Key_Right); 148 const char* actionName = "window_history_forward_action"; 149 } 150 namespace findStrongs { 151 const QKeySequence accel; 152 const char* actionName = "window_find_strongs_action"; 153 } 154 155 } 156 namespace bibleWindow { 157 namespace nextBook { 158 const QKeySequence accel(Qt::CTRL + Qt::Key_Y); 159 } 160 namespace previousBook { 161 const QKeySequence accel(Qt::CTRL + Qt::SHIFT + Qt::Key_Y); 162 } 163 164 namespace nextChapter { 165 const QKeySequence accel(Qt::CTRL + Qt::Key_X); 166 } 167 namespace previousChapter { 168 const QKeySequence accel(Qt::CTRL + Qt::SHIFT + Qt::Key_X); 169 } 170 namespace nextVerse { 171 const QKeySequence accel(Qt::CTRL + Qt::Key_V); 172 } 173 namespace previousVerse { 174 const QKeySequence accel(Qt::CTRL + Qt::SHIFT + Qt::Key_V); 175 } 176 } 177 namespace commentaryWindow { 178 namespace syncWindow { 179 const QKeySequence accel(Qt::SHIFT + Qt::Key_S); 180 const char* actionName = "commentary_syncWindow"; 181 } 182 } 183 namespace lexiconWindow { 184 namespace entryList { 185 QString tooltip; 186 } 187 namespace nextEntry { 188 const QKeySequence accel(Qt::CTRL + Qt::Key_V); 189 } 190 namespace previousEntry { 191 const QKeySequence accel(Qt::CTRL + Qt::SHIFT + Qt::Key_V); 192 } 193 } 194 195 namespace writeWindow { 196 namespace saveText { 197 const QKeySequence accel; 198 const char* actionName = "writeWindow_saveText"; 199 } 200 namespace restoreText { 201 const QKeySequence accel; 202 const char* actionName = "writeWindow_restoreText"; 203 } 204 namespace deleteEntry { 205 const QKeySequence accel; 206 const char* actionName = "writeWindow_deleteEntry"; 207 } 208 209 //formatting buttons 210 namespace boldText { 211 const QKeySequence accel; 212 const char* actionName = "writeWindow_boldText"; 213 } 214 namespace italicText { 215 const QKeySequence accel; 216 const char* actionName = "writeWindow_italicText"; 217 } 218 namespace underlinedText { 219 const QKeySequence accel; 220 const char* actionName = "writeWindow_underlineText"; 221 } 222 223 namespace alignLeft { 224 const QKeySequence accel; 225 const char* actionName = "writeWindow_alignLeft"; 226 } 227 namespace alignCenter { 228 const QKeySequence accel; 229 const char* actionName = "writeWindow_alignCenter"; 230 } 231 namespace alignRight { 232 const QKeySequence accel; 233 const char* actionName = "writeWindow_alignRight"; 234 } 235 namespace fontFamily { 236 const QKeySequence accel; 237 const char* actionName = "writeWindow_fontFamily"; 238 } 239 namespace fontSize { 240 const QKeySequence accel; 241 const char* actionName = "writeWindow_fontSize"; 242 } 243 } 244 }//displayWindows 245 246 namespace mainIndex { // Bookshelf view 247 namespace search { 248 const QKeySequence accel(Qt::CTRL + Qt::ALT + Qt::Key_M); 249 const char* actionName = "GMsearch_action"; 250 } 251 }//mainIndex 252 253 } // namespace CResMgr 254