Complete rewrite. Does not work yet.
[irwi] / src / settingsdlg.h
1 #ifndef SETTINGSDLG_H
2 #define SETTINGSDLG_H
3
4 #include <QDialog>
5
6 class QWidget;
7 class QHBoxLayout;
8 class QVBoxLayout;
9 class QPushButton;
10 class QLabel;
11 class IEngine;
12
13 class SettingsDlg : public QDialog
14 {
15     Q_OBJECT
16 public:
17     SettingsDlg(QWidget *parent, IEngine *engine);
18     ~SettingsDlg();
19
20 public slots:
21     void updateRemoteName();
22
23 private slots:
24     void showAdvSettingsDlg();
25     void showSelectRemoteDlg();
26     void showAboutDlg();
27     void setRating(int);
28
29 private:
30     IEngine *engine;
31     QVBoxLayout *layout;
32     QHBoxLayout *btnLayout;
33     QHBoxLayout *remoteNameLayout;
34     QPushButton *advSettingsBtn;
35     QPushButton *selectRemoteBtn;
36     QPushButton *rateUpBtn;
37     QPushButton *rateDownBtn;
38     QPushButton *aboutBtn;
39     QLabel *remoteNameLabel;
40     QLabel *ratingLabel;
41 };
42
43 #endif
44