BibleTime
ccommentaryreadwindow.h
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-2025 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#pragma once
14
15#include "cdisplaywindow.h"
16
17
19class CSwordVerseKey;
20class QAction;
21
22/**
23 *@author The BibleTime team
24 */
26 Q_OBJECT
27
28public: // Types:
29
31
32 public: // Methods:
33
34 ActionCollection(QObject * parent = nullptr);
35
36 };
37
38 public:
39
40 CCommentaryReadWindow(QList<CSwordModuleInfo *> const & modules,
41 QString const & key,
42 CMDIArea * parent);
43
46
47 void storeProfileSettings(BtConfigCore & windowConf) const override;
48 void applyProfileSettings(BtConfigCore const & windowConf) override;
49 bool syncAllowed() const noexcept override;
50
51 public Q_SLOTS:
52 void nextBook();
53 void previousBook();
54 void nextChapter();
55 void previousChapter();
56 void nextVerse();
57 void previousVerse();
58 void reload() override;
59
60 protected:
61 void initActions() override;
62 void initToolbars() override;
63 void setupMainWindowToolBars() override;
64
65 private:
68};
CSwordModuleInfo::ModuleType moduleType() const override
bool syncAllowed() const noexcept override
void setupMainWindowToolBars() override
void storeProfileSettings(BtConfigCore &windowConf) const override
Stores the settings of this window to configuration.
void applyProfileSettings(BtConfigCore const &windowConf) override
Loads the settings of this window from configuration.
The base class for all display windows of BibleTime.
BtModuleList const & modules() const noexcept
CSwordKey implementation for Sword's VerseKey.