00001 #ifndef _ADVSETTINGSDLG_H_ 00002 #define _ADVSETTINGSDLG_H_ 00003 00004 #include <QDialog> 00005 #include <QObject> 00006 00007 class QSettings; 00008 class QPushButton; 00009 class QVBoxLayout; 00010 class QHBoxLayout; 00011 class SettingsTable; 00012 00013 class AdvSettingsDlg : public QDialog 00014 { 00015 Q_OBJECT 00016 00017 public: 00018 AdvSettingsDlg(QDialog *parent = 0); 00019 ~AdvSettingsDlg(); 00020 00021 private: 00022 void refreshList(); 00023 00024 private slots: 00025 void resetToDefaults(); 00026 void save(); 00027 00028 private: 00029 QHBoxLayout *layout; 00030 QVBoxLayout *btnLayout; 00031 QSettings *settings; 00032 QPushButton *resetBtn; 00033 QPushButton *saveBtn; 00034 SettingsTable *table; 00035 }; 00036 00037 #endif // _ADVSETTINGSDLG_H_ 00038