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
btprinter.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 <QObject>
16
#include "../backend/rendering/cdisplayrendering.h"
17
18
19
/** \brief Manages the print item queue and printing. */
20
class
BtPrinter
final:
public
QObject
,
public
Rendering::CDisplayRendering
{
21
22
Q_OBJECT
23
24
public
:
// methods:
25
26
BtPrinter
(
DisplayOptions
const
&
displayOptions
,
27
FilterOptions
const
&
filterOptions
,
28
QObject
*
const
parent =
nullptr
);
29
30
void
printKeyTree
(
KeyTree
const
&);
31
32
private
:
// methods:
33
34
QString
entryLink
(
KeyTreeItem
const
& item,
35
CSwordModuleInfo
const
& module)
const override
;
36
37
QString
renderEntry
(
KeyTreeItem
const
& item,
38
CSwordKey
*
const
key =
nullptr
)
const override
;
39
QString
finishText
(QString
const
& text,
KeyTree
const
& tree)
40
const override
;
41
42
};
20
class
BtPrinter
final:
public
QObject
,
public
Rendering::CDisplayRendering
{
…
};
BtPrinter
Manages the print item queue and printing.
Definition
btprinter.h:20
BtPrinter::renderEntry
QString renderEntry(KeyTreeItem const &item, CSwordKey *const key=nullptr) const override
Definition
btprinter.cpp:77
BtPrinter::printKeyTree
void printKeyTree(KeyTree const &)
Definition
btprinter.cpp:43
BtPrinter::entryLink
QString entryLink(KeyTreeItem const &item, CSwordModuleInfo const &module) const override
Definition
btprinter.cpp:53
BtPrinter::finishText
QString finishText(QString const &text, KeyTree const &tree) const override
Definition
btprinter.cpp:96
CSwordKey
Definition
cswordkey.h:22
CSwordModuleInfo
Definition
cswordmoduleinfo.h:49
QObject
Rendering::CDisplayRendering
Rendering for the html display widget.
Definition
cdisplayrendering.h:27
Rendering::CTextRendering::KeyTreeItem
Definition
ctextrendering.h:42
Rendering::CTextRendering::KeyTree
std::list< KeyTreeItem > KeyTree
Definition
ctextrendering.h:40
Rendering::CTextRendering::filterOptions
FilterOptions const & filterOptions() const noexcept
Definition
ctextrendering.h:126
Rendering::CTextRendering::displayOptions
DisplayOptions const & displayOptions() const noexcept
Definition
ctextrendering.h:134
DisplayOptions
Definition
btglobal.h:46
FilterOptions
Definition
btglobal.h:25
Generated by
1.9.8