BibleTime
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-2021 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;
25 class QComboBox;
26 class QLabel;
27 class QStackedWidget;
28 
29 /**
30  * @brief The shortcut settings page.
31  */
33 
34  Q_OBJECT
35 
36  public: // methods:
37 
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;
51  QString title;
52  };
53 
60 
63  QStackedWidget* m_keyChooserStack;
64 
65 };
The shortcut settings page.
QStackedWidget * m_keyChooserStack
void save() const final override
CAcceleratorSettingsPage(CConfigurationDialog *parent=nullptr)
QPointer< BtShortcutsEditor > keyChooser