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