1 #ifndef PREFERENCEDIALOG_H
2 #define PREFERENCEDIALOG_H
9 class PreferenceDialog;
12 class PreferenceDialog : public QDialog
17 explicit PreferenceDialog(QWidget *parent = 0);
21 Ui::PreferenceDialog *ui;
23 void loadAppearance(Preferences &prefs);
24 void saveAppearance(Preferences &prefs);
25 void setFont(QLabel *label, const QFont &font);
26 void setPalette(QWidget *w, QPalette::ColorRole role, const QColor &color);
32 void exportAppearance();
33 void importAppearance();
40 #endif // PREFERENCEDIALOG_H