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
settingsdialogs
cacceleratorsettings.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 "
btconfigdialog.h
"
16
17
#include <QObject>
18
#include <QPointer>
19
#include <QString>
20
21
22
class
BtActionCollection
;
23
class
BtShortcutsEditor
;
24
class
CConfigurationDialog
;
25
class
QComboBox
;
26
class
QLabel;
27
class
QStackedWidget;
28
29
/**
30
* @brief The shortcut settings page.
31
*/
32
class
CAcceleratorSettingsPage
:
public
BtConfigDialog::Page
{
33
34
Q_OBJECT
35
36
public
:
// methods:
37
38
CAcceleratorSettingsPage
(
CConfigurationDialog
*parent =
nullptr
);
39
40
void
save
()
const
final
override
;
41
42
protected
:
// methods:
43
44
void
retranslateUi
();
45
46
private
:
47
48
struct
WindowType
{
49
QPointer<BtShortcutsEditor>
keyChooser
;
50
BtActionCollection
*
actionCollection
=
nullptr
;
51
QString
title
;
52
};
48
struct
WindowType
{
…
};
53
54
WindowType
m_application
;
55
WindowType
m_general
;
56
WindowType
m_bible
;
57
WindowType
m_commentary
;
58
WindowType
m_lexicon
;
59
WindowType
m_book
;
60
61
QLabel *
m_actionGroupLabel
;
62
QComboBox
*
m_typeChooser
;
63
QStackedWidget*
m_keyChooserStack
;
64
65
};
32
class
CAcceleratorSettingsPage
:
public
BtConfigDialog::Page
{
…
};
btconfigdialog.h
BtActionCollection
Definition
btactioncollection.h:24
BtConfigDialog::Page
Definition
btconfigdialog.h:43
BtShortcutsEditor
Definition
btshortcutseditor.h:31
CAcceleratorSettingsPage
The shortcut settings page.
Definition
cacceleratorsettings.h:32
CAcceleratorSettingsPage::m_book
WindowType m_book
Definition
cacceleratorsettings.h:59
CAcceleratorSettingsPage::m_keyChooserStack
QStackedWidget * m_keyChooserStack
Definition
cacceleratorsettings.h:63
CAcceleratorSettingsPage::m_bible
WindowType m_bible
Definition
cacceleratorsettings.h:56
CAcceleratorSettingsPage::m_typeChooser
QComboBox * m_typeChooser
Definition
cacceleratorsettings.h:62
CAcceleratorSettingsPage::m_actionGroupLabel
QLabel * m_actionGroupLabel
Definition
cacceleratorsettings.h:61
CAcceleratorSettingsPage::m_commentary
WindowType m_commentary
Definition
cacceleratorsettings.h:57
CAcceleratorSettingsPage::save
void save() const final override
Definition
cacceleratorsettings.cpp:194
CAcceleratorSettingsPage::m_application
WindowType m_application
Definition
cacceleratorsettings.h:54
CAcceleratorSettingsPage::retranslateUi
void retranslateUi()
Definition
cacceleratorsettings.cpp:173
CAcceleratorSettingsPage::m_general
WindowType m_general
Definition
cacceleratorsettings.h:55
CAcceleratorSettingsPage::m_lexicon
WindowType m_lexicon
Definition
cacceleratorsettings.h:58
CConfigurationDialog
Definition
cconfigurationdialog.h:24
QComboBox
CAcceleratorSettingsPage::WindowType
Definition
cacceleratorsettings.h:48
CAcceleratorSettingsPage::WindowType::keyChooser
QPointer< BtShortcutsEditor > keyChooser
Definition
cacceleratorsettings.h:49
CAcceleratorSettingsPage::WindowType::title
QString title
Definition
cacceleratorsettings.h:51
CAcceleratorSettingsPage::WindowType::actionCollection
BtActionCollection * actionCollection
Definition
cacceleratorsettings.h:50
Generated by
1.9.8