New architecture
[irwi] / src / settingsdlg.h
index 498f322..25fbab9 100644 (file)
@@ -5,7 +5,10 @@
 
 class QWidget;
 class QHBoxLayout;
+class QVBoxLayout;
 class QPushButton;
+class QLabel;
+class Remote;
 
 class SettingsDlg : public QDialog
 {
@@ -17,11 +20,27 @@ public:
 private slots:
     void showAdvSettingsDlg();
     void showSelectRemoteDlg();
+    void showAboutDlg();
+    void changeRemote(const QString &name);
+    void updateRemoteInfo();
+    void rateUpClicked();
+    void rateDownClicked();
 
 private:
-    QHBoxLayout *layout;
+    void enableRateBtns(bool enable = true);
+
+private:
+    QVBoxLayout *layout;
+    QHBoxLayout *btnLayout;
+    QHBoxLayout *remoteNameLayout;
     QPushButton *advSettingsBtn;
     QPushButton *selectRemoteBtn;
+    QPushButton *rateUpBtn;
+    QPushButton *rateDownBtn;
+    QPushButton *aboutBtn;
+    QLabel *remoteNameLabel;
+    QLabel *ratingLabel;
+    Remote *remote;
 };
 
 #endif