Complete rewrite. Does not work yet.
[irwi] / src / advsettingsdlg.h
1 #ifndef _ADVSETTINGSDLG_H_
2 #define _ADVSETTINGSDLG_H_
3
4 #include <QDialog>
5
6 class QSettings;
7 class QPushButton;
8 class QVBoxLayout;
9 class QHBoxLayout;
10 class SettingsTable;
11 class IEngine;
12
13 class AdvSettingsDlg : public QDialog
14 {
15     Q_OBJECT
16
17 public:
18     AdvSettingsDlg(QDialog *parent, IEngine *engine);
19     ~AdvSettingsDlg();
20
21 private:
22     void refreshList();
23     void setDefaults();
24
25 private slots:
26     void showResetQuery();
27     void save();
28
29 private:
30     IEngine *engine;
31     QHBoxLayout *layout;
32     QVBoxLayout *btnLayout;
33     QSettings *settings;
34     QPushButton *resetBtn;
35     QPushButton *saveBtn;
36     SettingsTable *table;
37 };
38
39 #endif // _ADVSETTINGSDLG_H_
40