#ifndef CONFIGSOUNDSELELECTDLG_H #define CONFIGSOUNDSELELECTDLG_H #include #include #include using namespace Define; namespace Ui { class ConfigSoundSelelectDlg; } class ConfigSoundSelelectDlg : public QDialog { Q_OBJECT void reloadUi(void); public: explicit ConfigSoundSelelectDlg(QWidget *parent = 0, ConfigType cfgtype=config_keypad_sound1); ~ConfigSoundSelelectDlg(); private slots: void on_ctrBtnOk_clicked(); void on_ctrBtnCancel_clicked(); public slots: void onConfigBtnClicked(const int sel); private: Ui::ConfigSoundSelelectDlg *ui; QSignalMapper *m_pSignalMapper; ConfigType m_nCfgType; uint32_t m_nCurSel; }; #endif // CONFIGSOUNDSELELECTDLG_H