BibleTime
cdisplaysettings.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 <QString>
19 #include <QVector>
20 
21 
23 class QCheckBox;
24 class QComboBox;
25 class QLabel;
26 
28 
29  Q_OBJECT
30 
31  public: // methods:
32 
33  CDisplaySettingsPage(CConfigurationDialog *parent = nullptr);
34 
35  void save() const final override;
36 
37  static void resetLanguage();
38 
39  protected: // methods:
40 
41  void retranslateUi();
42 
43  private Q_SLOTS:
44  /** Update the style preview widget. */
45  void updateStylePreview();
46 
47  private: // methods:
48 
49  static QVector<QString> bookNameAbbreviationsTryVector();
50  void initSwordLocaleCombo();
51 
52  private: // fields:
53 
54  QLabel* m_showLogoLabel;
55  QCheckBox* m_showLogoCheck;
64  QLabel *m_previewLabel;
65 
66 };
static QVector< QString > bookNameAbbreviationsTryVector()
QComboBox * m_swordLocaleCombo
QCheckBox * m_showLogoCheck
CDisplaySettingsPage(CConfigurationDialog *parent=nullptr)
QComboBox * m_lightDarkCombo
void save() const final override
QComboBox * m_styleChooserCombo