47 QAction *
const showBookshelfAction,
48 QAction *
const showBookmarksAction,
58 QStringLiteral(
"GUI/mainWindow/openWorkAction/grouping"),
62 file.quit->setIcon(CResMgr::mainMenu::file::quit::icon());
63 file.quit->setMenuRole(QAction::QuitRole);
64 file.quit->setShortcut(tr(
"Ctrl+Q",
"File|Quit"));
70 view.fullscreen->setCheckable(
true);
71 view.fullscreen->setIcon(CResMgr::mainMenu::view::showFullscreen::icon());
72 view.fullscreen->setShortcut(tr(
"F11",
"View|Full screen"));
73 addAction(QStringLiteral(
"toggleFullscreen"),
view.fullscreen);
75 view.showBookshelf = showBookshelfAction;
76 view.showBookshelf->setIcon(CResMgr::mainMenu::view::showBookshelf::icon());
77 addAction(QStringLiteral(
"showBookshelf"),
view.showBookshelf);
79 view.showBookmarks = showBookmarksAction;
80 view.showBookmarks->setIcon(CResMgr::mainMenu::view::showBookmarks::icon());
81 addAction(QStringLiteral(
"showBookmarks"),
view.showBookmarks);
83 view.showMag = showMagAction;
84 view.showMag->setIcon(CResMgr::mainMenu::view::showMag::icon());
85 view.showMag->setShortcut(tr(
"F8",
"View|Show mag"));
89 view.showParallelTextHeadings->setCheckable(
true);
90 addAction(QStringLiteral(
"showParallelTextHeaders"),
91 view.showParallelTextHeadings);
94 view.toolbars.showMainToolbar->setCheckable(
true);
95 view.toolbars.showMainToolbar->setShortcut(
96 tr(
"F6",
"View|Show main toolbar"));
97 addAction(QStringLiteral(
"showToolbar"),
view.toolbars.showMainToolbar);
99 view.toolbars.showNavigationToolbar =
new QAction(
this);
100 view.toolbars.showNavigationToolbar->setCheckable(
true);
101 addAction(QStringLiteral(
"showNavigation"),
102 view.toolbars.showNavigationToolbar);
104 view.toolbars.showWorksToolbar =
new QAction(
this);
105 view.toolbars.showWorksToolbar->setCheckable(
true);
106 addAction(QStringLiteral(
"showWorks"),
view.toolbars.showWorksToolbar);
108 view.toolbars.showToolsToolbar =
new QAction(
this);
109 view.toolbars.showToolsToolbar->setCheckable(
true);
110 addAction(QStringLiteral(
"showTools"),
view.toolbars.showToolsToolbar);
112 view.toolbars.showToolbarsInTextWindows =
new QAction(
this);
113 view.toolbars.showToolbarsInTextWindows->setCheckable(
true);
114 addAction(QStringLiteral(
"showToolbarsInTextWindows"),
115 view.toolbars.showToolbarsInTextWindows);
118 view.scroll.autoScrollUp->setShortcut(
119 tr(
"Shift+Up",
"View|Scroll|Auto scroll up"));
120 addAction(QStringLiteral(
"autoScrollUp"),
view.scroll.autoScrollUp);
123 view.scroll.autoScrollDown->setShortcut(
124 tr(
"Shift+Down",
"View|Scroll|Auto scroll down"));
125 addAction(QStringLiteral(
"autoScrollDown"),
view.scroll.autoScrollDown);
128 view.scroll.pauseAutoScroll->setDisabled(
true);
129 view.scroll.pauseAutoScroll->setShortcut(
130 tr(
"Space",
"View|Scroll|Auto scroll pause"));
131 addAction(QStringLiteral(
"autoScrollPause"),
view.scroll.pauseAutoScroll);
136 search.searchActiveWindow->setIcon(
137 CResMgr::mainMenu::mainIndex::search::icon());
138 search.searchActiveWindow->setShortcut(
139 tr(
"Ctrl+O",
"Search|Search works in active window/tab"));
140 addAction(QStringLiteral(
"searchActiveWindow"),
141 search.searchActiveWindow);
144 search.searchOpenWorks->setIcon(
145 CResMgr::mainMenu::mainIndex::search::icon());
146 search.searchOpenWorks->setShortcut(
147 tr(
"Ctrl+Shift+O",
"Search|Search in all open works"));
151 search.searchStandardBible->setIcon(
152 CResMgr::mainMenu::mainIndex::searchdefaultbible::icon());
153 search.searchStandardBible->setShortcut(
154 tr(
"Ctrl+Alt+F",
"Search|Search in the default Bible"));
155 addAction(QStringLiteral(
"searchStdBible"),
search.searchStandardBible);
160 windows.closeWindow->setIcon(CResMgr::mainMenu::window::close::icon());
161 windows.closeWindow->setShortcut(tr(
"Ctrl+W",
"Windows|Close window"));
165 windows.closeAllWindows->setIcon(
166 CResMgr::mainMenu::window::closeAll::icon());
167 windows.closeAllWindows->setShortcut(
168 tr(
"Ctrl+Alt+W",
"Windows|Close all windows"));
172 windows.tileVertically->setIcon(
173 CResMgr::mainMenu::window::tileVertical::icon());
174 windows.tileVertically->setShortcut(
175 tr(
"Ctrl+G",
"Windows|Tile vertically"));
179 windows.tileHorizontally->setIcon(
180 CResMgr::mainMenu::window::tileHorizontal::icon());
181 windows.tileHorizontally->setShortcut(
182 tr(
"Ctrl+H",
"Windows|Tile horizontally"));
186 windows.tile->setIcon(CResMgr::mainMenu::window::tile::icon());
187 windows.tile->setShortcut(tr(
"Ctrl+I",
"Windows|Tile"));
191 windows.cascade->setIcon(CResMgr::mainMenu::window::cascade::icon());
192 windows.cascade->setShortcut(tr(
"Ctrl+J",
"Windows|Cascade"));
198 windows.arrangementMode.manual->setCheckable(
true);
199 windows.arrangementMode.manual->setIcon(AM::manual::icon());
200 windows.arrangementMode.manual->setShortcut(
201 tr(
"Ctrl+Alt+M",
"Windows|Arrangement mode|Manual"));
202 addAction(QStringLiteral(
"manualArrangement"),
203 windows.arrangementMode.manual);
206 windows.arrangementMode.tabbed->setCheckable(
true);
207 windows.arrangementMode.tabbed->setIcon(AM::autoTabbed::icon());
208 windows.arrangementMode.tabbed->setShortcut(
209 tr(
"Ctrl+Alt+T",
"Windows|Arrangement mode|Tabbed"));
213 windows.arrangementMode.autoTileVertically->setCheckable(
true);
214 windows.arrangementMode.autoTileVertically->setIcon(
215 AM::autoTileVertical::icon());
216 windows.arrangementMode.autoTileVertically->setShortcut(
218 "Windows|Arrangement mode|Auto tile vertically"));
219 addAction(QStringLiteral(
"autoVertical"),
220 windows.arrangementMode.autoTileVertically);
223 windows.arrangementMode.autoTileHorizontally->setCheckable(
true);
224 windows.arrangementMode.autoTileHorizontally->setIcon(
225 AM::autoTileHorizontal::icon());
226 windows.arrangementMode.autoTileHorizontally->setShortcut(
228 "Windows|Arrangement mode|Auto tile horizontally"));
229 addAction(QStringLiteral(
"autoHorizontal"),
230 windows.arrangementMode.autoTileHorizontally);
233 windows.arrangementMode.autoTile->setCheckable(
true);
234 windows.arrangementMode.autoTile->setIcon(AM::autoTile::icon());
235 windows.arrangementMode.autoTile->setShortcut(
236 tr(
"Ctrl+Alt+I",
"Windows|Arrangement mode|Auto tile"));
240 windows.arrangementMode.autoCascade->setCheckable(
true);
241 windows.arrangementMode.autoCascade->setIcon(AM::autoCascade::icon());
242 windows.arrangementMode.autoCascade->setShortcut(
243 tr(
"Ctrl+Alt+J",
"Windows|Arrangement mode|Auto cascade"));
245 windows.arrangementMode.autoCascade);
248 windows.saveAsNewSession->setIcon(
249 CResMgr::mainMenu::window::saveToNewProfile::icon());
250 windows.saveAsNewSession->setShortcut(
251 tr(
"Ctrl+Alt+S",
"Windows|Save as new session..."));
256 CResMgr::mainMenu::settings::swordSetupDialog::icon());
257 settings.bookshelfManager->setShortcut(
258 tr(
"F4",
"Settings|Bookshelf Manager..."));
262 settings.configureBibleTime->setMenuRole(QAction::PreferencesRole);
263 settings.configureBibleTime->setIcon(
264 CResMgr::mainMenu::settings::configureDialog::icon());
268 help.
handbook->setMenuRole(QAction::ApplicationSpecificRole);
269 help.
handbook->setIcon(CResMgr::mainMenu::help::handbook::icon());
275 CResMgr::mainMenu::help::bibleStudyHowTo::icon());
280 help.
tipOfTheDay->setIcon(CResMgr::mainMenu::help::tipOfTheDay::icon());
287 CResMgr::mainMenu::help::aboutBibleTime::icon());
294 file.quit->setText(tr(
"&Quit"));
295 file.quit->setToolTip(tr(
"Quit BibleTime"));
297 view.fullscreen->setText(tr(
"&Full screen"));
298 view.fullscreen->setToolTip(tr(
"Display BibleTime in full screen"));
300 view.showBookshelf->setText(tr(
"Show bookshelf"));
301 view.showBookshelf->setToolTip(
302 tr(
"Toggle visibility of the bookshelf window"));
304 view.showBookmarks->setText(tr(
"Show bookmarks"));
305 view.showBookmarks->setToolTip(
306 tr(
"Toggle visibility of the bookmarks window"));
308 view.showMag->setText(tr(
"Show mag"));
309 view.showMag->setToolTip(tr(
"Toggle visibility of the mag window"));
311 view.showParallelTextHeadings->setText(tr(
"Show parallel text headers"));
312 view.showParallelTextHeadings->setToolTip(
313 tr(
"Toggle the works header row visibility in windows"));
315 view.toolbars.showMainToolbar->setText(tr(
"Show main toolbar"));
316 view.toolbars.showMainToolbar->setToolTip(
317 tr(
"Toggle the main toolbar visibility"));
319 view.toolbars.showNavigationToolbar->setText(tr(
"Show navigation toolbar"));
320 view.toolbars.showNavigationToolbar->setToolTip(
321 tr(
"Toggle the navigation toolbar visibility"));
323 view.toolbars.showWorksToolbar->setText(tr(
"Show works toolbar"));
324 view.toolbars.showWorksToolbar->setToolTip(
325 tr(
"Toggle the works toolbar visibility"));
327 view.toolbars.showToolsToolbar->setText(tr(
"Show tools toolbar"));
328 view.toolbars.showToolsToolbar->setToolTip(
329 tr(
"Toggle the window tools toolbar visibility"));
331 view.toolbars.showToolbarsInTextWindows->setText(
332 tr(
"Show toolbars in text windows"));
333 view.toolbars.showToolbarsInTextWindows->setToolTip(
334 tr(
"Toggle the location of subwindow-specific toolbars between "
335 "the main window and subwindows"));
337 view.scroll.autoScrollUp->setText(tr(
"Auto scroll up"));
338 view.scroll.autoScrollUp->setToolTip(
339 tr(
"Adjust automatic scrolling speed in the up direction"));
341 view.scroll.autoScrollDown->setText(tr(
"Auto scroll down"));
342 view.scroll.autoScrollDown->setToolTip(
343 tr(
"Adjust automatic scrolling speed in the down direction"));
345 view.scroll.pauseAutoScroll->setText(tr(
"Pause auto scroll"));
346 view.scroll.pauseAutoScroll->setToolTip(tr(
"Pause/resume auto scrolling"));
348 search.searchActiveWindow->setText(
349 tr(
"&Search works in active window/tab..."));
350 search.searchActiveWindow->setToolTip(
351 tr(
"Search in all works in the active open window or tab"));
353 search.searchOpenWorks->setText(tr(
"Search in all &open works..."));
354 search.searchOpenWorks->setToolTip(
355 tr(
"Search in all works that are currently open"));
357 search.searchStandardBible->setText(tr(
"Search in standard &Bible..."));
358 search.searchStandardBible->setToolTip(tr(
"Search in the standard Bible"));
360 windows.closeWindow->setText(tr(
"Close &window"));
361 windows.closeWindow->setToolTip(tr(
"Close the current open window"));
363 windows.closeAllWindows->setText(tr(
"Cl&ose all windows"));
364 windows.closeAllWindows->setToolTip(
365 tr(
"Close all open windows inside BibleTime"));
367 windows.tileVertically->setText(tr(
"Tile &vertically"));
368 windows.tileVertically->setToolTip(
369 tr(
"Vertically tile (arrange side by side) the open windows"));
371 windows.tileHorizontally->setText(tr(
"Tile &horizontally"));
372 windows.tileHorizontally->setToolTip(
373 tr(
"Horizontally tile (arrange on top of each other) the open "
376 windows.tile->setText(tr(
"&Tile"));
377 windows.tile->setToolTip(tr(
"Tile the open windows"));
379 windows.cascade->setText(tr(
"&Cascade"));
380 windows.cascade->setToolTip(tr(
"Cascade the open windows"));
382 windows.arrangementMode.manual->setText(tr(
"&Manual mode"));
383 windows.arrangementMode.manual->setToolTip(
384 tr(
"Manually arrange the open windows"));
386 windows.arrangementMode.tabbed->setText(tr(
"Ta&bbed"));
387 windows.arrangementMode.tabbed->setToolTip(
388 tr(
"Automatically tab the open windows"));
390 windows.arrangementMode.autoTileVertically->setText(
391 tr(
"Auto-tile &vertically"));
392 windows.arrangementMode.autoTileVertically->setToolTip(
393 tr(
"Automatically tile the open windows vertically (arrange "
396 windows.arrangementMode.autoTileHorizontally->setText(
397 tr(
"Auto-tile &horizontally"));
398 windows.arrangementMode.autoTileHorizontally->setToolTip(
399 tr(
"Automatically tile the open windows horizontally (arrange "
400 "on top of each other)"));
402 windows.arrangementMode.autoTile->setText(tr(
"Auto-&tile"));
403 windows.arrangementMode.autoTile->setToolTip(
404 tr(
"Automatically tile the open windows"));
406 windows.arrangementMode.autoCascade->setText(tr(
"Auto-&cascade"));
407 windows.arrangementMode.autoCascade->setToolTip(
408 tr(
"Automatically cascade the open windows"));
410 windows.saveAsNewSession->setText(tr(
"Save as &new session..."));
411 windows.saveAsNewSession->setToolTip(tr(
"Create and save a new session"));
413 settings.bookshelfManager->setText(tr(
"Bookshelf Manager..."));
414 settings.bookshelfManager->setToolTip(
415 tr(
"Configure your bookshelf and install/update/remove/index "
418 settings.configureBibleTime->setText(tr(
"&Configure BibleTime..."));
419 settings.configureBibleTime->setToolTip(tr(
"Set BibleTime's preferences"));
422 help.
handbook->setToolTip(tr(
"Open BibleTime's handbook"));
426 tr(
"Open the Bible study HowTo included with BibleTime.<br/>"
427 "This HowTo is an introduction on how to study the Bible in "
428 "an efficient way."));
435 tr(
"Information about the BibleTime program"));