6d2babc7b72dc27ff6ca0df9cdb3de48165f2be6
[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 private slots:
21     void difficultySelectionChanged(bool value);
22     void imageSelectionChanged(const QString &txt);
23
24 private:
25     QVBoxLayout *mainLayout_;
26     QHBoxLayout *buttonLayout_;
27
28     QRadioButton *easyButton_;
29     QRadioButton *hardButton_;
30
31     QGroupBox *buttonGroup_;
32
33     QComboBox *imageCombo_;
34
35     QLabel *selectedImageLabel_;
36 };
37 #endif