1 #ifndef PREFERENCEDIALOG_H
2 #define PREFERENCEDIALOG_H
4 #include "colorsamplemodel.h"
7 #include <QAbstractTableModel>
11 class PreferenceDialog;
14 class PreferenceDialog : public QDialog
19 explicit PreferenceDialog(QWidget *parent = 0);
23 Ui::PreferenceDialog *ui;
24 ColorSampleModel m_model;
27 void saveAppearance(QSettings &settings);
28 void loadAppearance(QSettings &settings, bool import);
32 void setControlsEnabled(bool enabled);
33 void setIgnoreExtDefault();
34 void selectBoxColor();
35 void selectViewColor();
36 void selectViewerColor();
38 void importAppearance();
39 void exportAppearance();
46 #endif // PREFERENCEDIALOG_H