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
tips
bttipdialog.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 <QDialog>
16
17
#include <QObject>
18
#include <QString>
19
#include <QStringList>
20
#include <Qt>
21
22
23
class
QCheckBox;
24
class
QDialogButtonBox;
25
class
QTextBrowser
;
26
class
QWidget
;
27
/**
28
The Tip Of The Day dialog.
29
*/
30
class
BtTipDialog
:
public
QDialog
{
31
Q_OBJECT
32
33
public
:
// methods:
34
35
BtTipDialog
(
QWidget
*parent =
nullptr
, Qt::WindowFlags wflags = Qt::Dialog);
36
37
private
:
// methods:
38
39
void
retranslateUi
();
40
41
/** Sends the current tip to the web view */
42
void
displayTip
();
43
44
private
:
// fields:
45
46
QDialogButtonBox*
m_buttonBox
;
47
QTextBrowser
*
m_tipView
;
48
QCheckBox*
m_showTipsCheckBox
;
49
int
m_tipNumber
;
50
QStringList
m_tips
;
51
};
30
class
BtTipDialog
:
public
QDialog
{
…
};
BtTipDialog
Definition
bttipdialog.h:30
BtTipDialog::m_tipView
QTextBrowser * m_tipView
Definition
bttipdialog.h:47
BtTipDialog::retranslateUi
void retranslateUi()
Definition
bttipdialog.cpp:134
BtTipDialog::m_buttonBox
QDialogButtonBox * m_buttonBox
Definition
bttipdialog.h:46
BtTipDialog::displayTip
void displayTip()
Definition
bttipdialog.cpp:200
BtTipDialog::m_tips
QStringList m_tips
Definition
bttipdialog.h:50
BtTipDialog::m_showTipsCheckBox
QCheckBox * m_showTipsCheckBox
Definition
bttipdialog.h:48
BtTipDialog::m_tipNumber
int m_tipNumber
Definition
bttipdialog.h:49
QDialog
QTextBrowser
QWidget
Generated by
1.9.8