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
cinfodisplay.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 <QWidget>
16
17
#include <QPair>
18
#include "../backend/rendering/btinforendering.h"
19
20
21
class
QAction
;
22
class
QSize;
23
class
BibleTime
;
24
class
BtTextBrowser
;
25
26
namespace
InfoDisplay
{
27
28
class
CInfoDisplay
:
public
QWidget
{
29
30
Q_OBJECT
31
32
public
:
// methods:
33
34
CInfoDisplay
(
BibleTime
* parent =
nullptr
);
35
36
void
unsetInfo
();
37
void
setInfo
(
const
QString & renderedData,
38
const
QString & lang = QString());
39
void
setInfo
(
Rendering::ListInfoData
const
&);
40
QSize
sizeHint
()
const override
;
41
void
updateColors
();
42
43
public
Q_SLOTS:
44
45
void
setInfo
(
Rendering::InfoType
const
, QString
const
& data);
46
void
setInfo
(
CSwordModuleInfo
* module);
47
48
private
:
49
void
setBrowserFont
(
const
CSwordModuleInfo
*
const
module);
50
51
private
:
// fields:
52
53
BtTextBrowser
*
m_textBrowser
;
54
BibleTime
*
m_mainWindow
;
55
56
};
28
class
CInfoDisplay
:
public
QWidget
{
…
};
57
58
}
//end of InfoDisplay namespace
BibleTime
Definition
bibletime.h:130
BtTextBrowser
A QTextBrowser subclass which adds the ability to start drags for references.
Definition
bttextbrowser.h:24
CSwordModuleInfo
Definition
cswordmoduleinfo.h:49
InfoDisplay::CInfoDisplay
Definition
cinfodisplay.h:28
InfoDisplay::CInfoDisplay::setInfo
void setInfo(const QString &renderedData, const QString &lang=QString())
Definition
cinfodisplay.cpp:97
InfoDisplay::CInfoDisplay::m_mainWindow
BibleTime * m_mainWindow
Definition
cinfodisplay.h:54
InfoDisplay::CInfoDisplay::unsetInfo
void unsetInfo()
Definition
cinfodisplay.cpp:82
InfoDisplay::CInfoDisplay::updateColors
void updateColors()
Definition
cinfodisplay.cpp:90
InfoDisplay::CInfoDisplay::sizeHint
QSize sizeHint() const override
Definition
cinfodisplay.cpp:147
InfoDisplay::CInfoDisplay::setBrowserFont
void setBrowserFont(const CSwordModuleInfo *const module)
Definition
cinfodisplay.cpp:138
InfoDisplay::CInfoDisplay::m_textBrowser
BtTextBrowser * m_textBrowser
Definition
cinfodisplay.h:53
QAction
QWidget
InfoDisplay
Definition
bibletime.h:25
Rendering::ListInfoData
QList< InfoData > ListInfoData
Definition
btinforendering.h:35
Rendering::InfoType
InfoType
Definition
btinforendering.h:24
Generated by
1.9.8