BibleTime
|
#include <bibletime.h>
Classes | |
class | ActionCollection |
Public Slots | |
void | autoScrollStop () |
void | openOnlineHelp_Handbook () |
void | openOnlineHelp_Howto () |
void | processCommandline (bool ignoreSession, QString const &bibleKey) |
void | slotBookshelfWizard () |
void | slotOpenTipDialog () |
void | slotSettingsOptions () |
Signals | |
void | colorThemeChanged () |
void | toggledTextWindowHeader (bool newState) |
void | toggledTextWindowModuleChooser (bool newState) |
void | toggledTextWindowNavigator (bool newState) |
void | toggledTextWindowToolButtons (bool newState) |
Public Member Functions | |
BibleTime (BibleTimeApp &app, QWidget *parent=nullptr, Qt::WindowFlags flags=Qt::WindowFlags()) | |
void | clearMdiToolBars () |
BtModelViewReadDisplay * | getCurrentDisplay () |
CSwordModuleInfo const * | getCurrentModule () |
InfoDisplay::CInfoDisplay * | infoDisplay () const noexcept |
CKeyChooser * | keyChooser () const |
QToolBar * | navToolBar () const noexcept |
void | openFindWidget () |
void | openSearchDialog (BtConstModuleList modules, QString const &searchText={}) |
void | saveConfigSettings () |
void | setDisplayFocus () |
QToolBar * | toolsToolBar () const noexcept |
BtModuleChooserBar * | worksToolBar () const noexcept |
~BibleTime () override | |
Static Public Member Functions | |
static BibleTime * | instance () noexcept |
static bool | moduleUnlock (CSwordModuleInfo *module, QWidget *parent=nullptr) |
Private Member Functions | |
template<bool goingUp> | |
void | autoScroll () |
void | createCentralWidget () |
void | createMenuAndToolBar () |
bool | event (QEvent *event) override |
void | initActions () |
void | initConnections () |
void | initMenubar () |
void | initToolbars () |
void | initView () |
void | refreshDisplayWindows () const |
void | retranslateUi () |
void | showOrHideToolBars () |
void | slotShowDebugWindow (bool) |
Private Attributes | |
ActionCollection * | m_actions |
int | m_autoScrollSpeed = 0 |
QTimer | m_autoScrollTimer |
QDockWidget * | m_bookmarksDock |
CBookmarkIndex * | m_bookmarksPage |
BtBookshelfDockWidget * | m_bookshelfDock |
QAction * | m_debugWidgetAction = nullptr |
QPointer< QWidget > | m_debugWindow |
QMenu * | m_fileMenu |
BtFindWidget * | m_findWidget |
QMenu * | m_helpMenu |
InfoDisplay::CInfoDisplay * | m_infoDisplay |
QDockWidget * | m_magDock |
QToolBar * | m_mainToolBar |
CMDIArea * | m_mdi |
QToolBar * | m_navToolBar |
QMenu * | m_openWindowsMenu |
QMenu * | m_scrollMenu |
QPointer< Search::CSearchDialog > | m_searchDialog |
QMenu * | m_searchMenu |
QMenu * | m_settingsMenu |
QMenu * | m_toolBarsMenu |
QToolBar * | m_toolsToolBar |
QMenu * | m_viewMenu |
QActionGroup * | m_windowArrangementActionGroup |
QMenu * | m_windowArrangementMenu |
QMenu * | m_windowDeleteProfileMenu |
QActionGroup * | m_windowLoadProfileActionGroup |
QMenu * | m_windowLoadProfileMenu |
QMenu * | m_windowsMenu |
BtModuleChooserBar * | m_worksToolBar |
Static Private Attributes | |
static BibleTime * | m_instance = nullptr |
Friends | |
class | CDisplayWindow |
BibleTime's main class. The main class of BibleTime. Here are the main widgets created.
This is the main class of BibleTime! This class creates the GUI, the QAction objects and connects to some slots. Please insert the creation of actions in initActions, the creation of widgets into initView and the connect(...) calls into initConnections. Reading from a config file on creation time should go into readSettings(), saving into saveSettings(). This is the general way of all BibleTime classes.
Definition at line 130 of file bibletime.h.
BibleTime::BibleTime | ( | BibleTimeApp & | app, |
QWidget * | parent = nullptr , |
||
Qt::WindowFlags | flags = Qt::WindowFlags() |
||
) |
Definition at line 77 of file bibletime.cpp.
References BT_ASSERT, btConfig(), initActions(), BibleTimeApp::initBackends(), initConnections(), initMenubar(), initToolbars(), initView(), m_instance, and retranslateUi().
|
override |
Definition at line 134 of file bibletime.cpp.
References m_bookshelfDock, m_debugWindow, BtBookshelfDockWidget::saveBookshelfState(), and saveProfile().
|
private |
Definition at line 581 of file bibletime_slots.cpp.
References m_actions, m_autoScrollSpeed, m_autoScrollTimer, BibleTime::ActionCollection::pauseAutoScroll, BibleTime::ActionCollection::scroll, setDisplayFocus(), and BibleTime::ActionCollection::view.
|
privateslot |
Definition at line 624 of file bibletime_slots.cpp.
References autoScrollStop(), and m_autoScrollSpeed.
Referenced by event().
|
privateslot |
Definition at line 613 of file bibletime_slots.cpp.
References m_autoScrollSpeed, m_autoScrollTimer, and setDisplayFocus().
Referenced by initActions().
|
slot |
Definition at line 631 of file bibletime_slots.cpp.
References m_actions, m_autoScrollSpeed, m_autoScrollTimer, BibleTime::ActionCollection::pauseAutoScroll, BibleTime::ActionCollection::scroll, and BibleTime::ActionCollection::view.
Referenced by autoScrollAnyKey(), CDisplayWindow::lookupSwordKey(), slotActiveWindowChanged(), BtModelViewReadDisplay::slotSliderMoved(), and BtQuickWidget::wheelEvent().
void BibleTime::clearMdiToolBars | ( | ) |
Clears the actions of the MDI related toolbars.
Definition at line 472 of file bibletime_init.cpp.
References m_navToolBar, m_toolsToolBar, and m_worksToolBar.
Referenced by CMDIArea::CMDIArea(), and CDisplayWindow::init().
|
signal |
Referenced by BtModelViewReadDisplay::BtModelViewReadDisplay(), event(), and processCommandline().
|
private |
Creates MDI and and BtFindWidget.
Definition at line 510 of file bibletime_init.cpp.
References BT_CONNECT, BtFindWidget::findNext(), CMDIArea::findNextTextInActiveWindow(), BtFindWidget::findPrevious(), CMDIArea::findPreviousTextInActiveWindow(), BtFindWidget::highlightText(), CMDIArea::highlightTextInActiveWindow(), m_findWidget, m_mdi, and slotActiveWindowChanged().
Referenced by initView().
|
private |
Creates the main window menu and toolbar.
Definition at line 485 of file bibletime_init.cpp.
References btConfig(), createToolBar(), m_mainToolBar, m_navToolBar, m_toolsToolBar, m_worksToolBar, BtConfig::session(), and BtConfigCore::value().
Referenced by initView().
|
privateslot |
Creates a new presenter in the MDI area according to the type of the module.
Definition at line 182 of file bibletime.cpp.
References createReadDisplayWindow().
|
privateslot |
Creates a new presenter in the MDI area according to the type of the module.
Creates a new presenter in the MDI area according to the type of the module.
Definition at line 145 of file bibletime.cpp.
References CMDIArea::addDisplayWindow(), CSwordModuleInfo::Bible, CSwordModuleInfo::Commentary, CSwordModuleInfo::GenericBook, CSwordModuleInfo::Lexicon, and m_mdi.
Referenced by createReadDisplayWindow(), initConnections(), CDisplayWindow::lookupKey(), processCommandline(), reloadProfile(), and CDisplayWindow::setBibleReference().
|
privateslot |
Deletes the chosen session from the menu and from disk.
Definition at line 564 of file bibletime_slots.cpp.
References BT_ASSERT, btConfig(), BtConfig::deleteSession(), and refreshProfileMenus().
Referenced by initMenubar().
|
overrideprivate |
Definition at line 292 of file bibletime.cpp.
References autoScrollAnyKey(), colorThemeChanged(), and event().
Referenced by event().
BtModelViewReadDisplay * BibleTime::getCurrentDisplay | ( | ) |
Definition at line 313 of file bibletime.cpp.
References m_mdi.
Referenced by setDisplayFocus(), and slotAutoScroll().
const CSwordModuleInfo * BibleTime::getCurrentModule | ( | ) |
Definition at line 305 of file bibletime.cpp.
References m_mdi.
Referenced by InfoDisplay::CInfoDisplay::setInfo().
|
inlinenoexcept |
Definition at line 238 of file bibletime.h.
References m_infoDisplay.
Referenced by BtQmlInterface::timerEvent().
|
private |
Initializes the action objects of the GUI.
Initializes the action objects of the GUI
Definition at line 539 of file bibletime_init.cpp.
References BibleTime::ActionCollection::help::aboutBibleTime, BibleTime::ActionCollection::arrangementMode, autoCascade, BibleTime::ActionCollection::autoCascade, BibleTime::ActionCollection::autoScrollDown, autoScrollPause(), BibleTime::ActionCollection::autoScrollUp, autoTabbed, autoTile, BibleTime::ActionCollection::autoTile, autoTileHorizontal, BibleTime::ActionCollection::autoTileHorizontally, autoTileVertical, BibleTime::ActionCollection::autoTileVertically, BibleTime::ActionCollection::help::bibleStudyHowto, BibleTime::ActionCollection::bookshelfManager, BT_CONNECT, btApp, btConfig(), BibleTime::ActionCollection::cascade, BibleTime::ActionCollection::closeAllWindows, BibleTime::ActionCollection::closeWindow, BibleTime::ActionCollection::configureBibleTime, BibleTime::ActionCollection::file, BibleTime::ActionCollection::fullscreen, BtConfigCore::group(), BibleTime::ActionCollection::help::handbook, BibleTime::ActionCollection::help, m_actions, m_bookmarksDock, m_bookshelfDock, m_debugWidgetAction, m_magDock, m_mdi, m_windowArrangementActionGroup, manual, BibleTime::ActionCollection::manual, openOnlineHelp_Handbook(), openOnlineHelp_Howto(), BibleTime::ActionCollection::openWork, BibleTime::ActionCollection::pauseAutoScroll, BibleTime::ActionCollection::quit, BibleTime::ActionCollection::saveAsNewSession, saveToNewProfile(), BibleTime::ActionCollection::scroll, BibleTime::ActionCollection::search, BibleTime::ActionCollection::searchOpenWorks, BibleTime::ActionCollection::searchStandardBible, BtConfig::session(), BibleTime::ActionCollection::settings, BibleTime::ActionCollection::showMainToolbar, BibleTime::ActionCollection::showNavigationToolbar, BibleTime::ActionCollection::showParallelTextHeadings, BibleTime::ActionCollection::showToolbarsInTextWindows, BibleTime::ActionCollection::showToolsToolbar, BibleTime::ActionCollection::showWorksToolbar, slotBookshelfWizard(), slotCascade(), slotOpenAboutDialog(), slotOpenTipDialog(), slotSearchDefaultBible(), slotSearchModules(), slotSettingsOptions(), slotShowDebugWindow(), slotTile(), slotTileHorizontal(), slotTileVertical(), slotToggleMainToolbar(), slotToggleNavigatorToolbar(), slotToggleTextWindowHeader(), slotToggleToolBarsInEachWindow(), slotToggleToolsToolbar(), slotToggleWorksToolbar(), slotUpdateWindowArrangementActions(), BibleTime::ActionCollection::tabbed, BibleTime::ActionCollection::tile, BibleTime::ActionCollection::tileHorizontally, BibleTime::ActionCollection::tileVertically, BibleTime::ActionCollection::help::tipOfTheDay, toggleFullscreen(), BibleTime::ActionCollection::toolbars, BtOpenWorkAction::triggered(), BibleTime::ActionCollection::view, and BibleTime::ActionCollection::windows.
Referenced by BibleTime().
|
private |
Initializes the SIGNAL / SLOT connections.
Initializes the SIGNAL / SLOT connections
Definition at line 855 of file bibletime_init.cpp.
References BT_CONNECT, createReadDisplayWindow(), CBookmarkIndex::createReadDisplayWindow(), BtBookshelfDockWidget::installWorksClicked(), m_bookmarksPage, m_bookshelfDock, moduleAbout(), BtBookshelfDockWidget::moduleAboutTriggered(), BtBookshelfDockWidget::moduleOpenTriggered(), BtBookshelfDockWidget::moduleSearchTriggered(), BtBookshelfDockWidget::moduleUnlockTriggered(), openSearchDialog(), slotBookshelfWizard(), and slotModuleUnlock().
Referenced by BibleTime().
|
private |
Initializes the menubar of BibleTime.
Definition at line 704 of file bibletime_init.cpp.
References BibleTime::ActionCollection::help::aboutBibleTime, BibleTime::ActionCollection::arrangementMode, BibleTime::ActionCollection::autoCascade, BibleTime::ActionCollection::autoScrollDown, BibleTime::ActionCollection::autoScrollUp, BibleTime::ActionCollection::autoTile, BibleTime::ActionCollection::autoTileHorizontally, BibleTime::ActionCollection::autoTileVertically, BibleTime::ActionCollection::help::bibleStudyHowto, BibleTime::ActionCollection::bookshelfManager, BT_CONNECT, BibleTime::ActionCollection::cascade, BibleTime::ActionCollection::closeAllWindows, BibleTime::ActionCollection::closeWindow, BibleTime::ActionCollection::configureBibleTime, deleteProfile(), BibleTime::ActionCollection::file, BibleTime::ActionCollection::fullscreen, BibleTime::ActionCollection::help::handbook, BibleTime::ActionCollection::help, loadProfile(), m_actions, m_debugWidgetAction, m_fileMenu, m_helpMenu, m_openWindowsMenu, m_scrollMenu, m_searchMenu, m_settingsMenu, m_toolBarsMenu, m_viewMenu, m_windowArrangementMenu, m_windowDeleteProfileMenu, m_windowLoadProfileActionGroup, m_windowLoadProfileMenu, m_windowsMenu, BibleTime::ActionCollection::manual, BibleTime::ActionCollection::openWork, BibleTime::ActionCollection::pauseAutoScroll, BibleTime::ActionCollection::quit, refreshProfileMenus(), BibleTime::ActionCollection::saveAsNewSession, BibleTime::ActionCollection::scroll, BibleTime::ActionCollection::search, BibleTime::ActionCollection::searchOpenWorks, BibleTime::ActionCollection::searchStandardBible, BibleTime::ActionCollection::settings, BibleTime::ActionCollection::showBookmarks, BibleTime::ActionCollection::showBookshelf, BibleTime::ActionCollection::showMag, BibleTime::ActionCollection::showMainToolbar, BibleTime::ActionCollection::showNavigationToolbar, BibleTime::ActionCollection::showParallelTextHeadings, BibleTime::ActionCollection::showToolbarsInTextWindows, BibleTime::ActionCollection::showToolsToolbar, BibleTime::ActionCollection::showWorksToolbar, slotOpenWindowsMenuAboutToShow(), slotWindowMenuAboutToShow(), BibleTime::ActionCollection::tabbed, BibleTime::ActionCollection::tile, BibleTime::ActionCollection::tileHorizontally, BibleTime::ActionCollection::tileVertically, BibleTime::ActionCollection::help::tipOfTheDay, BibleTime::ActionCollection::toolbars, BibleTime::ActionCollection::view, and BibleTime::ActionCollection::windows.
Referenced by BibleTime().
|
private |
Initializes the toolbars.
Definition at line 810 of file bibletime_init.cpp.
References BibleTime::ActionCollection::file, BibleTime::ActionCollection::fullscreen, BibleTime::ActionCollection::help::handbook, BibleTime::ActionCollection::help, m_actions, m_mainToolBar, BibleTime::ActionCollection::openWork, BibleTime::ActionCollection::search, BibleTime::ActionCollection::searchOpenWorks, BibleTime::ActionCollection::showBookmarks, BibleTime::ActionCollection::showBookshelf, BibleTime::ActionCollection::showMag, and BibleTime::ActionCollection::view.
Referenced by BibleTime().
|
private |
Initializes the view of this widget.
Initializes the view of this widget
Definition at line 426 of file bibletime_init.cpp.
References BT_CONNECT, createCentralWidget(), createMenuAndToolBar(), BtBookshelfDockWidget::loadBookshelfState(), m_autoScrollTimer, m_bookmarksDock, m_bookmarksPage, m_bookshelfDock, m_infoDisplay, m_magDock, m_mdi, CBookmarkIndex::magInfoProvided(), BtBookshelfDockWidget::moduleHovered(), InfoDisplay::CInfoDisplay::setInfo(), and slotAutoScroll().
Referenced by BibleTime().
|
inlinestaticnoexcept |
Definition at line 222 of file bibletime.h.
References m_instance.
Referenced by BtModelViewReadDisplay::BtModelViewReadDisplay(), CDisplayWindow::CDisplayWindow(), CDisplayWindow::lookupSwordKey(), BtModelViewReadDisplay::slotSliderMoved(), BtQmlInterface::timerEvent(), and BtQuickWidget::wheelEvent().
CKeyChooser * BibleTime::keyChooser | ( | ) | const |
Definition at line 479 of file bibletime_init.cpp.
References BT_ASSERT, and m_navToolBar.
|
privateslot |
Loads the profile with the menu id ID.
Definition at line 412 of file bibletime_slots.cpp.
References BT_ASSERT, btConfig(), and loadProfile().
Referenced by initMenubar(), and loadProfile().
|
privateslot |
Loads the profile with the given key.
Definition at line 420 of file bibletime_slots.cpp.
References BT_ASSERT, btConfig(), m_mdi, refreshProfileMenus(), reloadProfile(), and saveProfile().
|
privateslot |
Definition at line 232 of file bibletime.cpp.
Referenced by initConnections().
|
static |
Displays a dialog which asks the user an unlock key for the given module and tries to unlock the module. If an invalid unlock key is given, a warning message is issued and the user is again asked for the key.
[in] | module | The module to unlock. |
[in] | parent | The parent widget for the unlock dialogs. |
Definition at line 187 of file bibletime.cpp.
References BT_ASSERT, CSwordModuleInfo::CipherKey, CSwordModuleInfo::config(), CSwordModuleInfo::getUnlockInfo(), CSwordBackend::instance(), CSwordModuleInfo::isLocked(), CSwordModuleInfo::name(), BtMessageInputDialog::Password, and message::showWarning().
Referenced by slotModuleUnlock().
|
inlinenoexcept |
Definition at line 228 of file bibletime.h.
References m_navToolBar.
Referenced by CDisplayWindow::clearMainWindowToolBars(), CDisplayWindow::setupMainWindowToolBars(), and CBookReadWindow::setupMainWindowToolBars().
void BibleTime::openFindWidget | ( | ) |
Opens the BtFindWidget below the MDI area.
Definition at line 334 of file bibletime.cpp.
References m_findWidget, and BtFindWidget::showAndSelect().
Referenced by CDisplayWindow::CDisplayWindow().
|
slot |
Opens the handbook.
Definition at line 345 of file bibletime_slots.cpp.
References util::directory::getHandbook(), and message::showCritical().
Referenced by initActions().
|
slot |
Opens the bible study howto.
Definition at line 361 of file bibletime_slots.cpp.
References util::directory::getHowto(), and message::showCritical().
Referenced by initActions().
void BibleTime::openSearchDialog | ( | BtConstModuleList | modules, |
QString const & | searchText = {} |
||
) |
Definition at line 326 of file bibletime.cpp.
References m_searchDialog.
Referenced by CDisplayWindow::CDisplayWindow(), initConnections(), slotSearchDefaultBible(), and slotSearchModules().
|
slot |
Processes the command-line options given to BibleTime.
[in] | ignoreSession | Specifies whether –ignore-session was used. |
[in] | bibleKey | If –open-default-bible was used, the bible key specified, or null otherwise. |
Definition at line 247 of file bibletime.cpp.
References btConfig(), colorThemeChanged(), createReadDisplayWindow(), BtConfig::getDefaultSwordModuleByType(), CSwordVerseKey::index(), CSwordVerseKey::key(), m_mdi, CMDIArea::myTileVertical(), CSwordVerseKey::positionToTop(), reloadProfile(), CSwordVerseKey::setIndex(), BtConfigCore::setValue(), and BtConfigCore::sync().
|
private |
Refreshes all presenter supporting at least in of the features given as parameter.
Refreshes all presenters.
Definition at line 240 of file bibletime.cpp.
References m_mdi.
Referenced by slotSettingsOptions().
|
privateslot |
Refreshes the save profile and load profile menus.
Slot to refresh the saved profile and load profile menus.
Definition at line 685 of file bibletime_slots.cpp.
References btConfig(), BtConfig::currentSessionKey(), m_windowDeleteProfileMenu, m_windowLoadProfileActionGroup, m_windowLoadProfileMenu, and BtConfig::sessionNames().
Referenced by deleteProfile(), initMenubar(), loadProfile(), saveToNewProfile(), and slotSettingsOptions().
|
privateslot |
Reloads the current profile.
Definition at line 440 of file bibletime_slots.cpp.
References CMDIArea::ArrangementModeTile, BT_ASSERT, btConfig(), createReadDisplayWindow(), CSwordBackend::findModuleByName(), BibleTime::ActionCollection::fullscreen, BtConfigCore::group(), CSwordBackend::instance(), m_actions, m_findWidget, m_mdi, BtConfig::session(), CMDIArea::setMDIArrangementMode(), message::setQActionCheckedNoTrigger(), BibleTime::ActionCollection::showMainToolbar, BibleTime::ActionCollection::showNavigationToolbar, showOrHideToolBars(), BibleTime::ActionCollection::showParallelTextHeadings, BibleTime::ActionCollection::showToolbarsInTextWindows, BibleTime::ActionCollection::showToolsToolbar, BibleTime::ActionCollection::showWorksToolbar, BibleTime::ActionCollection::toolbars, CMDIArea::triggerWindowUpdate(), and BibleTime::ActionCollection::view.
Referenced by loadProfile(), and processCommandline().
|
private |
Retranslates the UI.
Definition at line 824 of file bibletime_init.cpp.
References m_actions, m_bookmarksDock, m_debugWidgetAction, m_fileMenu, m_helpMenu, m_magDock, m_mainToolBar, m_navToolBar, m_openWindowsMenu, m_scrollMenu, m_searchMenu, m_settingsMenu, m_toolBarsMenu, m_toolsToolBar, m_viewMenu, m_windowArrangementMenu, m_windowDeleteProfileMenu, m_windowLoadProfileMenu, m_windowsMenu, m_worksToolBar, and BibleTime::ActionCollection::retranslateUi().
Referenced by BibleTime().
void BibleTime::saveConfigSettings | ( | ) |
Saves the configuration dialog settings, doesn't open dialog.
Save the settings, used when no settings have been saved before
Definition at line 72 of file bibletime_slots.cpp.
References BtConfigDialog::save().
|
privateslot |
Saves the current settings into the currently activated profile.
Definition at line 387 of file bibletime_slots.cpp.
References btConfig(), CMDIArea::getMDIArrangementMode(), m_findWidget, m_mdi, BtConfig::session(), BtConfigCore::setValue(), and CDisplayWindow::storeProfileSettings().
Referenced by loadProfile(), saveToNewProfile(), and ~BibleTime().
|
privateslot |
Saves current settings into a new profile.
Definition at line 646 of file bibletime_slots.cpp.
References BtConfig::addSession(), btConfig(), refreshProfileMenus(), saveProfile(), BtConfig::sessionNames(), BtConfig::setCurrentSession(), and message::showInformation().
Referenced by initActions().
void BibleTime::setDisplayFocus | ( | ) |
Sets the focus on the display widget.
Definition at line 321 of file bibletime.cpp.
References getCurrentDisplay(), and BtModelViewReadDisplay::setDisplayFocus().
Referenced by autoScroll(), and autoScrollPause().
|
private |
Set the visibility of all tool bars according to the configuration taking the toolbarsInEachWindow setting into account.
Definition at line 264 of file bibletime_slots.cpp.
References btConfig(), BtConfigCore::group(), m_navToolBar, m_toolsToolBar, m_worksToolBar, BtConfig::session(), toggledTextWindowModuleChooser(), toggledTextWindowNavigator(), and toggledTextWindowToolButtons().
Referenced by reloadProfile(), and slotToggleToolBarsInEachWindow().
|
privateslot |
Definition at line 326 of file bibletime_slots.cpp.
References autoScrollStop(), and m_findWidget.
Referenced by createCentralWidget().
|
privateslot |
Automatically scrolls the display.
Definition at line 637 of file bibletime_slots.cpp.
References getCurrentDisplay(), and m_autoScrollSpeed.
Referenced by initView().
|
slot |
Opens the bookshelf wizard.
Definition at line 76 of file bibletime_slots.cpp.
Referenced by initActions(), and initConnections().
|
privateslot |
Definition at line 166 of file bibletime_slots.cpp.
References BibleTime::ActionCollection::cascade, m_actions, slotUpdateWindowArrangementActions(), and BibleTime::ActionCollection::windows.
Referenced by initActions().
|
privateslot |
Definition at line 228 of file bibletime.cpp.
References moduleUnlock().
Referenced by initConnections().
|
privateslot |
Open the About Dialog.
Definition at line 377 of file bibletime_slots.cpp.
Referenced by initActions().
|
slot |
Opens the Tip Dialog.
Definition at line 382 of file bibletime_slots.cpp.
Referenced by initActions().
|
privateslot |
Called when the open windows menu is about to show.
Is called just before the open windows menu is shown.
Definition at line 96 of file bibletime_slots.cpp.
References BT_ASSERT, BT_CONNECT, m_mdi, m_openWindowsMenu, slotSetActiveSubWindow(), and CMDIArea::usableWindowList().
Referenced by initMenubar().
|
privateslot |
Called for search default bible.
Definition at line 336 of file bibletime_slots.cpp.
References btConfig(), and openSearchDialog().
Referenced by initActions().
|
privateslot |
Called when search button is pressed.
Definition at line 313 of file bibletime_slots.cpp.
References CDisplayWindow::constModules(), m_mdi, and openSearchDialog().
Referenced by initActions().
|
privateslot |
Used to set the active menu.
Sets the active window.
Definition at line 307 of file bibletime_slots.cpp.
References m_mdi.
Referenced by slotOpenWindowsMenuAboutToShow().
|
slot |
Opens the optionsdialog of BibleTime.
Definition at line 48 of file bibletime_slots.cpp.
References BT_CONNECT, btConfig(), CSwordBackend::instance(), m_actions, m_infoDisplay, BtActionCollection::readShortcuts(), refreshDisplayWindows(), refreshProfileMenus(), CSwordBackend::setBooknameLanguage(), BtConfigDialog::signalSettingsChanged(), and InfoDisplay::CInfoDisplay::updateColors().
Referenced by initActions().
|
private |
Definition at line 716 of file bibletime_slots.cpp.
References BT_ASSERT, BT_CONNECT, m_debugWidgetAction, and m_debugWindow.
Referenced by initActions().
|
privateslot |
Definition at line 163 of file bibletime_slots.cpp.
References m_actions, slotUpdateWindowArrangementActions(), BibleTime::ActionCollection::tile, and BibleTime::ActionCollection::windows.
Referenced by initActions().
|
privateslot |
Definition at line 172 of file bibletime_slots.cpp.
References m_actions, slotUpdateWindowArrangementActions(), BibleTime::ActionCollection::tileHorizontally, and BibleTime::ActionCollection::windows.
Referenced by initActions().
|
privateslot |
Definition at line 169 of file bibletime_slots.cpp.
References m_actions, slotUpdateWindowArrangementActions(), BibleTime::ActionCollection::tileVertically, and BibleTime::ActionCollection::windows.
Referenced by initActions().
|
privateslot |
Shows or hides the main toolbar.
Shows/hides the toolbar
Definition at line 176 of file bibletime_slots.cpp.
References BT_ASSERT, btConfig(), BtConfigCore::group(), m_actions, m_mainToolBar, BtConfig::session(), BibleTime::ActionCollection::showMainToolbar, BibleTime::ActionCollection::toolbars, BtConfigCore::value(), and BibleTime::ActionCollection::view.
Referenced by initActions().
|
privateslot |
Definition at line 199 of file bibletime_slots.cpp.
References btConfig(), BtConfigCore::group(), m_navToolBar, BtConfig::session(), toggledTextWindowNavigator(), and BtConfigCore::value().
Referenced by initActions().
|
privateslot |
Shows or hides the text window text area headers and sets configuration that newly opened windows don't user headers.
Definition at line 190 of file bibletime_slots.cpp.
References btConfig(), BtConfigCore::group(), BtConfig::session(), toggledTextWindowHeader(), and BtConfigCore::value().
Referenced by initActions().
|
privateslot |
Definition at line 254 of file bibletime_slots.cpp.
References btConfig(), BtConfigCore::group(), BtConfig::session(), showOrHideToolBars(), and BtConfigCore::value().
Referenced by initActions().
|
privateslot |
Definition at line 217 of file bibletime_slots.cpp.
References btConfig(), BtConfigCore::group(), m_toolsToolBar, BtConfig::session(), toggledTextWindowToolButtons(), and BtConfigCore::value().
Referenced by initActions().
|
privateslot |
Definition at line 235 of file bibletime_slots.cpp.
References btConfig(), BtConfigCore::group(), m_worksToolBar, BtConfig::session(), toggledTextWindowModuleChooser(), and BtConfigCore::value().
Referenced by initActions().
|
privateslot |
This slot is connected with the windowAutoTileAction object
Definition at line 110 of file bibletime_slots.cpp.
References BibleTime::ActionCollection::arrangementMode, CMDIArea::ArrangementModeCascade, CMDIArea::ArrangementModeManual, CMDIArea::ArrangementModeTabbed, CMDIArea::ArrangementModeTile, CMDIArea::ArrangementModeTileHorizontal, CMDIArea::ArrangementModeTileVertical, autoCascade, BibleTime::ActionCollection::autoCascade, autoTabbed, autoTile, BibleTime::ActionCollection::autoTile, autoTileHorizontal, BibleTime::ActionCollection::autoTileHorizontally, autoTileVertical, BibleTime::ActionCollection::autoTileVertically, BT_ASSERT, btConfig(), BibleTime::ActionCollection::cascade, CMDIArea::enableWindowMinMaxFlags(), BtConfigCore::group(), m_actions, m_mdi, manual, BibleTime::ActionCollection::manual, CMDIArea::myCascade(), CMDIArea::myTile(), CMDIArea::myTileHorizontal(), CMDIArea::myTileVertical(), BtConfig::session(), CMDIArea::setMDIArrangementMode(), BibleTime::ActionCollection::tabbed, BibleTime::ActionCollection::tile, BibleTime::ActionCollection::tileHorizontally, BibleTime::ActionCollection::tileVertically, and BibleTime::ActionCollection::windows.
Referenced by initActions(), slotCascade(), slotTile(), slotTileHorizontal(), and slotTileVertical().
|
privateslot |
Called when the window menu is about to show.
Is called just before the window menu is shown.
Definition at line 80 of file bibletime_slots.cpp.
References BT_ASSERT, BibleTime::ActionCollection::cascade, BibleTime::ActionCollection::closeAllWindows, BibleTime::ActionCollection::closeWindow, m_actions, m_mdi, m_openWindowsMenu, m_windowsMenu, BibleTime::ActionCollection::tile, BibleTime::ActionCollection::tileHorizontally, BibleTime::ActionCollection::tileVertically, and BibleTime::ActionCollection::windows.
Referenced by initMenubar().
|
signal |
Referenced by CDisplayWindow::CDisplayWindow(), and slotToggleTextWindowHeader().
|
signal |
Referenced by CDisplayWindow::CDisplayWindow(), showOrHideToolBars(), and slotToggleWorksToolbar().
|
signal |
Referenced by CDisplayWindow::CDisplayWindow(), showOrHideToolBars(), and slotToggleNavigatorToolbar().
|
signal |
Referenced by CDisplayWindow::CDisplayWindow(), showOrHideToolBars(), and slotToggleToolsToolbar().
|
privateslot |
Toggles between normal and fullscreen mode.
Definition at line 575 of file bibletime_slots.cpp.
References m_mdi, and CMDIArea::triggerWindowUpdate().
Referenced by initActions().
|
inlinenoexcept |
Definition at line 235 of file bibletime.h.
References m_toolsToolBar.
Referenced by CDisplayWindow::clearMainWindowToolBars(), CDisplayWindow::setupMainWindowToolBars(), CBookReadWindow::setupMainWindowToolBars(), and CCommentaryReadWindow::setupMainWindowToolBars().
|
inlinenoexcept |
Definition at line 231 of file bibletime.h.
References m_worksToolBar.
Referenced by CDisplayWindow::setupMainWindowToolBars(), and CBookReadWindow::setupMainWindowToolBars().
|
friend |
Definition at line 134 of file bibletime.h.
|
private |
Definition at line 468 of file bibletime.h.
Referenced by autoScroll(), autoScrollStop(), initActions(), initMenubar(), initToolbars(), reloadProfile(), retranslateUi(), slotCascade(), slotSettingsOptions(), slotTile(), slotTileHorizontal(), slotTileVertical(), slotToggleMainToolbar(), slotUpdateWindowArrangementActions(), and slotWindowMenuAboutToShow().
|
private |
Definition at line 473 of file bibletime.h.
Referenced by autoScroll(), autoScrollAnyKey(), autoScrollPause(), autoScrollStop(), and slotAutoScroll().
|
private |
Definition at line 474 of file bibletime.h.
Referenced by autoScroll(), autoScrollPause(), autoScrollStop(), and initView().
|
private |
Definition at line 443 of file bibletime.h.
Referenced by initActions(), initView(), and retranslateUi().
|
private |
Definition at line 444 of file bibletime.h.
Referenced by initConnections(), and initView().
|
private |
Definition at line 442 of file bibletime.h.
Referenced by initActions(), initConnections(), initView(), and ~BibleTime().
|
private |
Definition at line 477 of file bibletime.h.
Referenced by initActions(), initMenubar(), retranslateUi(), and slotShowDebugWindow().
|
private |
Definition at line 478 of file bibletime.h.
Referenced by slotShowDebugWindow(), and ~BibleTime().
|
private |
Definition at line 453 of file bibletime.h.
Referenced by initMenubar(), and retranslateUi().
|
private |
Definition at line 471 of file bibletime.h.
Referenced by createCentralWidget(), openFindWidget(), reloadProfile(), saveProfile(), and slotActiveWindowChanged().
|
private |
Definition at line 466 of file bibletime.h.
Referenced by initMenubar(), and retranslateUi().
|
private |
Definition at line 446 of file bibletime.h.
Referenced by infoDisplay(), initView(), and slotSettingsOptions().
|
staticprivate |
Definition at line 439 of file bibletime.h.
Referenced by BibleTime(), and instance().
|
private |
Definition at line 445 of file bibletime.h.
Referenced by initActions(), initView(), and retranslateUi().
|
private |
Definition at line 448 of file bibletime.h.
Referenced by createMenuAndToolBar(), initToolbars(), retranslateUi(), and slotToggleMainToolbar().
|
private |
Definition at line 470 of file bibletime.h.
Referenced by createCentralWidget(), createReadDisplayWindow(), getCurrentDisplay(), getCurrentModule(), initActions(), initView(), loadProfile(), processCommandline(), refreshDisplayWindows(), reloadProfile(), saveProfile(), slotOpenWindowsMenuAboutToShow(), slotSearchModules(), slotSetActiveSubWindow(), slotUpdateWindowArrangementActions(), slotWindowMenuAboutToShow(), and toggleFullscreen().
|
private |
Definition at line 449 of file bibletime.h.
Referenced by clearMdiToolBars(), createMenuAndToolBar(), keyChooser(), navToolBar(), retranslateUi(), showOrHideToolBars(), and slotToggleNavigatorToolbar().
|
private |
Definition at line 459 of file bibletime.h.
Referenced by initMenubar(), retranslateUi(), slotOpenWindowsMenuAboutToShow(), and slotWindowMenuAboutToShow().
|
private |
Definition at line 456 of file bibletime.h.
Referenced by initMenubar(), and retranslateUi().
|
private |
Definition at line 475 of file bibletime.h.
Referenced by openSearchDialog().
|
private |
Definition at line 457 of file bibletime.h.
Referenced by initMenubar(), and retranslateUi().
|
private |
Definition at line 465 of file bibletime.h.
Referenced by initMenubar(), and retranslateUi().
|
private |
Definition at line 455 of file bibletime.h.
Referenced by initMenubar(), and retranslateUi().
|
private |
Definition at line 451 of file bibletime.h.
Referenced by clearMdiToolBars(), createMenuAndToolBar(), retranslateUi(), showOrHideToolBars(), slotToggleToolsToolbar(), and toolsToolBar().
|
private |
Definition at line 454 of file bibletime.h.
Referenced by initMenubar(), and retranslateUi().
|
private |
Definition at line 461 of file bibletime.h.
Referenced by initActions().
|
private |
Definition at line 460 of file bibletime.h.
Referenced by initMenubar(), and retranslateUi().
|
private |
Definition at line 464 of file bibletime.h.
Referenced by initMenubar(), refreshProfileMenus(), and retranslateUi().
|
private |
Definition at line 463 of file bibletime.h.
Referenced by initMenubar(), and refreshProfileMenus().
|
private |
Definition at line 462 of file bibletime.h.
Referenced by initMenubar(), refreshProfileMenus(), and retranslateUi().
|
private |
Definition at line 458 of file bibletime.h.
Referenced by initMenubar(), retranslateUi(), and slotWindowMenuAboutToShow().
|
private |
Definition at line 450 of file bibletime.h.
Referenced by clearMdiToolBars(), createMenuAndToolBar(), retranslateUi(), showOrHideToolBars(), slotToggleWorksToolbar(), and worksToolBar().