18 #ifndef SETTINGSWIDGET_H
19 #define SETTINGSWIDGET_H
22 #include <QButtonGroup>
26 #include <QFontDialog>
55 void on_aboutPushButton_clicked();
56 void on_acftSortComboBox_currentIndexChanged(
int index);
57 void on_acAllowIncompleteComboBox_currentIndexChanged(
int index);
58 void on_prefixLineEdit_textChanged(
const QString &arg1);
59 void on_lastnameLineEdit_editingFinished();
60 void on_firstnameLineEdit_editingFinished();
61 void on_employeeidLineEdit_editingFinished();
62 void on_emailLineEdit_editingFinished();
63 void on_phoneLineEdit_editingFinished();
64 void on_aliasComboBox_currentIndexChanged(
int index);
65 void on_functionComboBox_currentIndexChanged(
const QString &arg1);
66 void on_rulesComboBox_currentIndexChanged(
const QString &arg1);
67 void on_approachComboBox_currentIndexChanged(
const QString &arg1);
68 void on_nightComboBox_currentIndexChanged(
int index);
69 void on_pilotSortComboBox_currentIndexChanged(
int index);
70 void on_logbookViewComboBox_currentIndexChanged(
int index);
71 void on_companyLineEdit_editingFinished();
72 void on_styleComboBox_currentTextChanged(
const QString& new_style_setting);
74 void on_fontComboBox_currentFontChanged(
const QFont &f);
76 void on_fontSpinBox_valueChanged(
int arg1);
78 void on_fontCheckBox_stateChanged(
int arg1);
80 void on_resetStylePushButton_clicked();
82 void on_currLicDateEdit_userDateChanged(
const QDate &date);
84 void on_currTrDateEdit_userDateChanged(
const QDate &date);
86 void on_currLckDateEdit_userDateChanged(
const QDate &date);
88 void on_currMedDateEdit_userDateChanged(
const QDate &date);
90 void on_currCustom1DateEdit_userDateChanged(
const QDate &date);
92 void on_currCustom2DateEdit_userDateChanged(
const QDate &date);
94 void on_currToLdgCheckBox_stateChanged(
int arg1);
96 void on_currLicCheckBox_stateChanged(
int arg1);
98 void on_currTrCheckBox_stateChanged(
int arg1);
100 void on_currLckCheckBox_stateChanged(
int arg1);
102 void on_currMedCheckBox_stateChanged(
int arg1);
104 void on_currCustom1CheckBox_stateChanged(
int arg1);
106 void on_currCustom2CheckBox_stateChanged(
int arg1);
108 void on_currWarningCheckBox_stateChanged(
int arg1);
110 void on_currWarningThresholdSpinBox_valueChanged(
int arg1);
112 void on_currCustom1LineEdit_editingFinished();
114 void on_currCustom2LineEdit_editingFinished();
116 void on_dateFormatComboBox_currentIndexChanged(
int index);
118 void on_languageComboBox_activated(
const QString &arg1);
121 Ui::SettingsWidget *ui;
125 void setupValidators();
127 void setupComboBoxes();
129 void setupDateEdits();
131 void updatePersonalDetails();
133 bool usingStylesheet();
150 #endif // SETTINGSWIDGET_H