Fine tuning save and restore and adding maemo5 style notifications
[impuzzle] / src / settingsdialog.h
1 #ifndef SETTINGSDIALOG_H
2 #define SETTINGSDIALOG_H
3
4 #include <QDialog>
5
6 class QVBoxLayout;
7 class QGroupBox;
8 class QRadioButton;
9 class QHBoxLayout;
10 class QComboBox;
11 class QLabel;
12
13 class SettingsDialog : public QDialog
14 {
15     Q_OBJECT
16
17 public:
18     SettingsDialog(QWidget *parent = 0);
19
20 public slots:
21     int exec();
22
23 private slots:
24     void difficultySelectionChanged(bool value);
25     void imageSelectionChanged(const QString &txt);
26
27 private:
28     QVBoxLayout *mainLayout_;
29     QHBoxLayout *buttonLayout_;
30
31     QRadioButton *easyButton_;
32     QRadioButton *hardButton_;
33
34     QGroupBox *buttonGroup_;
35
36     QComboBox *imageCombo_;
37
38     QLabel *selectedImageLabel_;
39 };
40 #endif