BibleTime
cbookreadwindow.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#include <QList>
18#include <QObject>
19#include <QString>
20#include "../../backend/drivers/cswordmoduleinfo.h"
21
22
24class BtConfigCore;
26class CMDIArea;
27class QAction;
28
30
31 Q_OBJECT
32
33public: // Types:
34
36
37 public: // Methods:
38
39 ActionCollection(QObject * parent = nullptr);
40
41 };
42
43public: // methods:
44
45 CBookReadWindow(QList<CSwordModuleInfo *> const & modules,
46 QString const & key,
47 CMDIArea * parent);
48
51
52 void storeProfileSettings(BtConfigCore & windowConf) const override;
53 void applyProfileSettings(BtConfigCore const & windowConf) override;
54
55protected: // methods:
56
57 void initActions() override;
58 void initToolbars() override;
59 void initConnections() override;
60 void setupMainWindowToolBars() override;
61
62protected Q_SLOTS:
63
64 void modulesChanged() override;
65
66private: // fields:
67
68 QAction * m_treeAction = nullptr;
71};
void initConnections() override
CSwordModuleInfo::ModuleType moduleType() const override
CBookTreeChooser * m_treeChooser
void applyProfileSettings(BtConfigCore const &windowConf) override
Loads the settings of this window from configuration.
void modulesChanged() override
void storeProfileSettings(BtConfigCore &windowConf) const override
Stores the settings of this window to configuration.
QDockWidget * m_treeChooserDock
void initToolbars() override
QAction * m_treeAction
void initActions() override
void setupMainWindowToolBars() override
The base class for all display windows of BibleTime.
BtModuleList const & modules() const noexcept