class QWidget;
class QHBoxLayout;
+class QVBoxLayout;
class QPushButton;
+class QLabel;
+class Remote;
class SettingsDlg : public QDialog
{
SettingsDlg(QWidget *parent = 0);
~SettingsDlg();
-public slots:
- void updateRemoteName;
-
private slots:
void showAdvSettingsDlg();
void showSelectRemoteDlg();
+ void showAboutDlg();
+ void changeRemote(const QString &name);
+ void updateRemoteInfo();
+ void rateUpClicked();
+ void rateDownClicked();
+
+private:
+ void enableRateBtns(bool enable = true);
private:
- QHBoxLayout *layout;
+ QVBoxLayout *layout;
+ QHBoxLayout *btnLayout;
+ QHBoxLayout *remoteNameLayout;
QPushButton *advSettingsBtn;
QPushButton *selectRemoteBtn;
+ QPushButton *rateUpBtn;
+ QPushButton *rateDownBtn;
+ QPushButton *aboutBtn;
+ QLabel *remoteNameLabel;
+ QLabel *ratingLabel;
+ Remote *remote;
};
#endif