34 void restoreDefaults();
36 void onLanguageChanged(
int index);
38 void onThemeChanged(
int index);
44 QStringList getAvailableLocales();
46 QStringList getAvailableStyles();
48 void applyLanguage(
const QString &locale);
50 void applyTheme(
const QString &theme);
52 void applyKeySound(
bool enabled);
54 void applyHapticFeedback(
bool enabled);
56 void applyKeySize(
int size);
60 QComboBox *m_languageCombo;
61 QComboBox *m_themeCombo;
62 QCheckBox *m_keySoundCheck;
63 QCheckBox *m_hapticCheck;
64 QSlider *m_keySizeSlider;
65 QLabel *m_keySizeLabel;
66 QCheckBox *m_smallTextCheck;
67 QCheckBox *m_autoCapsCheck;
68 QPushButton *m_applyButton;
69 QPushButton *m_okButton;
70 QPushButton *m_cancelButton;
71 QPushButton *m_defaultsButton;
74 QSettings *m_settings;
77 QStringList m_localeList;
78 int m_currentLocaleIndex;