17
#include "backend/config/cbtconfig.h"
19
class CConfigurationDialog;
25
@author The BibleTime team <info@bibletime.info>
27
class BtLanguageSettingsPage : public BtConfigPage {
23
class BtLanguageSettingsPage: public BtConfigDialog::Page {
30
BtLanguageSettingsPage(QWidget *parent = 0);
31
~BtLanguageSettingsPage();
27
public: /* Methods: */
29
BtLanguageSettingsPage(CConfigurationDialog *parent = 0);
34
/** Reimplemented from BtConfigPage. */
35
virtual const QIcon &icon() const;
37
/** Reimplemented from BtConfigPage. */
38
virtual QString header() const;
40
33
static void resetLanguage();
44
// This slot is called when the "Use own font for language" button was clicked.
45
//void useOwnFontClicked(bool);
47
// Called when a new font in the fonts page was selected.
48
//void newDisplayWindowFontSelected(const QFont &);
50
35
private: /* Methods: */
52
37
static QVector<QString> bookNameAbbreviationsTryVector();
53
38
void initSwordLocaleCombo();
55
// Called when the combobox contents is changed
56
//void newDisplayWindowFontAreaSelected(const QString&);
41
private: /* Fields: */
43
QLabel *m_languageNamesLabel;
59
44
QComboBox* m_swordLocaleCombo;
60
//QComboBox* m_usageCombo;
61
//QCheckBox* m_useOwnFontCheck;
62
//CFontChooser* m_fontChooser;
64
//QMap<QString, CBTConfig::FontSettingsPair> m_fontMap;