#ifndef CONFIGMASTERVOLUMEDLG_H #define CONFIGMASTERVOLUMEDLG_H #include #include "config.h" using namespace Define; namespace Ui { class ConfigMasterVolumeDlg; } class ConfigVolumeDlg : public QDialog { Q_OBJECT public: explicit ConfigVolumeDlg(QWidget *parent = 0, ConfigType type=config_invalid); ~ConfigVolumeDlg(); private slots: void on_ctrBtnOk_clicked(); void on_ctrBtnCancel_clicked(); void on_ctrBtnMinus_clicked(); void on_ctrBtnPlus_clicked(); private: Ui::ConfigMasterVolumeDlg *ui; int m_nCurVol; int m_nPrevVol; ConfigType m_cfgType; }; #endif // CONFIGMASTERVOLUMEDLG_H