1 #ifndef PREFERENCEDIALOG_H
2 #define PREFERENCEDIALOG_H
4 #include "colorsamplemodel.h"
7 #include <QAbstractTableModel>
10 class PreferenceDialog;
13 class PreferenceDialog : public QDialog
18 explicit PreferenceDialog(QWidget *parent = 0);
22 Ui::PreferenceDialog *ui;
23 ColorSampleModel m_model;
28 void setControlsEnabled(bool enabled);
29 void selectBoxColor();
30 void selectViewColor();
37 #endif // PREFERENCEDIALOG_H