00001 #ifndef SETTINGSDLG_H 00002 #define SETTINGSDLG_H 00003 00004 #include <QDialog> 00005 00006 class QWidget; 00007 class QHBoxLayout; 00008 class QVBoxLayout; 00009 class QPushButton; 00010 class QLabel; 00011 00012 class SettingsDlg : public QDialog 00013 { 00014 Q_OBJECT 00015 public: 00016 SettingsDlg(QWidget *parent = 0); 00017 ~SettingsDlg(); 00018 00019 public slots: 00020 void updateRemoteName(); 00021 00022 private slots: 00023 void showAdvSettingsDlg(); 00024 void showSelectRemoteDlg(); 00025 void showAboutDlg(); 00026 00027 private: 00028 QVBoxLayout *layout; 00029 QHBoxLayout *btnLayout; 00030 QHBoxLayout *remoteNameLayout; 00031 QPushButton *advSettingsBtn; 00032 QPushButton *selectRemoteBtn; 00033 QPushButton *aboutBtn; 00034 QLabel *remoteNameLabel; 00035 }; 00036 00037 #endif 00038