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
bookmarks
bteditbookmarkdialog.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 <QLineEdit>
18
#include <QObject>
19
#include <QString>
20
#include <Qt>
21
#include <QTextEdit>
22
23
24
class
QDialogButtonBox;
25
class
QFormLayout;
26
class
QLabel;
27
class
QWidget
;
28
29
/**
30
\brief A dialog box for editing bookmarks.
31
*/
32
class
BtEditBookmarkDialog
:
public
QDialog
{
33
Q_OBJECT
34
35
public
:
// methods:
36
BtEditBookmarkDialog
(
const
QString &key,
37
const
QString &title,
38
const
QString &description,
39
QWidget
*parent =
nullptr
,
40
Qt::WindowFlags wflags = Qt::Dialog);
41
42
/**
43
* Returns the description written in the description box.
44
*/
45
QString
descriptionText
() {
return
m_descriptionEdit
->toPlainText(); }
46
47
/**
48
* Returns the title written in the title box.
49
*/
50
QString
titleText
() {
return
m_titleEdit
->text(); }
51
52
protected
:
// methods:
53
void
retranslateUi
();
54
55
private
:
// fields:
56
QFormLayout *
m_layout
;
57
QLabel *
m_keyLabel
;
58
QLabel *
m_keyTextLabel
;
59
QLabel *
m_titleLabel
;
60
QLineEdit
*
m_titleEdit
;
61
QLabel *
m_descriptionLabel
;
62
QTextEdit
*
m_descriptionEdit
;
63
QDialogButtonBox *
m_buttonBox
;
64
65
};
32
class
BtEditBookmarkDialog
:
public
QDialog
{
…
};
BtEditBookmarkDialog
A dialog box for editing bookmarks.
Definition
bteditbookmarkdialog.h:32
BtEditBookmarkDialog::m_descriptionEdit
QTextEdit * m_descriptionEdit
Definition
bteditbookmarkdialog.h:62
BtEditBookmarkDialog::m_layout
QFormLayout * m_layout
Definition
bteditbookmarkdialog.h:56
BtEditBookmarkDialog::m_buttonBox
QDialogButtonBox * m_buttonBox
Definition
bteditbookmarkdialog.h:63
BtEditBookmarkDialog::descriptionText
QString descriptionText()
Definition
bteditbookmarkdialog.h:45
BtEditBookmarkDialog::m_keyTextLabel
QLabel * m_keyTextLabel
Definition
bteditbookmarkdialog.h:58
BtEditBookmarkDialog::titleText
QString titleText()
Definition
bteditbookmarkdialog.h:50
BtEditBookmarkDialog::retranslateUi
void retranslateUi()
Definition
bteditbookmarkdialog.cpp:75
BtEditBookmarkDialog::m_titleEdit
QLineEdit * m_titleEdit
Definition
bteditbookmarkdialog.h:60
BtEditBookmarkDialog::m_titleLabel
QLabel * m_titleLabel
Definition
bteditbookmarkdialog.h:59
BtEditBookmarkDialog::m_descriptionLabel
QLabel * m_descriptionLabel
Definition
bteditbookmarkdialog.h:61
BtEditBookmarkDialog::m_keyLabel
QLabel * m_keyLabel
Definition
bteditbookmarkdialog.h:57
QDialog
QLineEdit
QTextEdit
QWidget
Generated by
1.9.8