BibleTime
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
Functions
a
b
c
d
e
f
g
h
i
l
m
n
p
q
r
s
t
v
Variables
a
b
c
d
g
h
i
k
l
m
p
r
s
u
Typedefs
Enumerations
Enumerator
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
~
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
~
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
Typedefs
Enumerations
Enumerator
a
b
c
d
e
f
g
h
i
l
m
n
p
r
s
t
u
w
Properties
Related Symbols
Files
File List
File Members
All
a
b
c
e
f
h
i
j
k
l
m
o
p
r
s
t
u
w
Functions
b
c
f
i
j
l
m
o
p
r
t
Variables
Typedefs
Enumerations
Enumerator
Macros
a
b
c
i
l
m
r
s
t
u
w
src
frontend
displaywindow
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
18
class
BtActionCollection
;
19
class
CSwordVerseKey
;
20
class
QAction
;
21
22
/**
23
*@author The BibleTime team
24
*/
25
class
CCommentaryReadWindow
:
public
CDisplayWindow
{
26
Q_OBJECT
27
28
public
:
// Types:
29
30
class
ActionCollection
:
public
CDisplayWindow::ActionCollection
{
31
32
public
:
// Methods:
33
34
ActionCollection
(
QObject
* parent =
nullptr
);
35
36
};
30
class
ActionCollection
:
public
CDisplayWindow::ActionCollection
{
…
};
37
38
public
:
39
40
CCommentaryReadWindow
(QList<CSwordModuleInfo *>
const
&
modules
,
41
QString
const
& key,
42
CMDIArea
* parent);
43
44
CSwordModuleInfo::ModuleType
moduleType
()
const override
45
{
return
CSwordModuleInfo::Commentary
; }
44
CSwordModuleInfo::ModuleType
moduleType
()
const override
{
…
}
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:
66
QAction
*
m_syncButton
;
67
CSwordVerseKey
*
verseKey
();
68
};
25
class
CCommentaryReadWindow
:
public
CDisplayWindow
{
…
};
cdisplaywindow.h
BtActionCollection
Definition
btactioncollection.h:24
BtConfigCore
Definition
btconfigcore.h:29
CCommentaryReadWindow::ActionCollection
Definition
ccommentaryreadwindow.h:30
CCommentaryReadWindow
Definition
ccommentaryreadwindow.h:25
CCommentaryReadWindow::moduleType
CSwordModuleInfo::ModuleType moduleType() const override
Definition
ccommentaryreadwindow.h:44
CCommentaryReadWindow::verseKey
CSwordVerseKey * verseKey()
Definition
ccommentaryreadwindow.cpp:138
CCommentaryReadWindow::initToolbars
void initToolbars() override
Definition
ccommentaryreadwindow.cpp:115
CCommentaryReadWindow::nextBook
void nextBook()
Definition
ccommentaryreadwindow.cpp:146
CCommentaryReadWindow::nextChapter
void nextChapter()
Definition
ccommentaryreadwindow.cpp:158
CCommentaryReadWindow::previousVerse
void previousVerse()
Definition
ccommentaryreadwindow.cpp:176
CCommentaryReadWindow::m_syncButton
QAction * m_syncButton
Definition
ccommentaryreadwindow.h:66
CCommentaryReadWindow::syncAllowed
bool syncAllowed() const noexcept override
Definition
ccommentaryreadwindow.cpp:181
CCommentaryReadWindow::setupMainWindowToolBars
void setupMainWindowToolBars() override
Definition
ccommentaryreadwindow.cpp:120
CCommentaryReadWindow::nextVerse
void nextVerse()
Definition
ccommentaryreadwindow.cpp:170
CCommentaryReadWindow::previousBook
void previousBook()
Definition
ccommentaryreadwindow.cpp:152
CCommentaryReadWindow::previousChapter
void previousChapter()
Definition
ccommentaryreadwindow.cpp:164
CCommentaryReadWindow::storeProfileSettings
void storeProfileSettings(BtConfigCore &windowConf) const override
Stores the settings of this window to configuration.
Definition
ccommentaryreadwindow.cpp:107
CCommentaryReadWindow::reload
void reload() override
Definition
ccommentaryreadwindow.cpp:126
CCommentaryReadWindow::applyProfileSettings
void applyProfileSettings(BtConfigCore const &windowConf) override
Loads the settings of this window from configuration.
Definition
ccommentaryreadwindow.cpp:100
CCommentaryReadWindow::initActions
void initActions() override
Definition
ccommentaryreadwindow.cpp:71
CDisplayWindow::ActionCollection
Definition
cdisplaywindow.h:50
CDisplayWindow
The base class for all display windows of BibleTime.
Definition
cdisplaywindow.h:44
CDisplayWindow::modules
BtModuleList const & modules() const noexcept
Definition
cdisplaywindow.h:70
CMDIArea
Definition
cmdiarea.h:31
CSwordModuleInfo::ModuleType
ModuleType
Definition
cswordmoduleinfo.h:87
CSwordModuleInfo::Commentary
@ Commentary
Definition
cswordmoduleinfo.h:90
CSwordVerseKey
CSwordKey implementation for Sword's VerseKey.
Definition
cswordversekey.h:62
QAction
QObject
Generated by
1.9.8