configsoundselelectdlg.h
747 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#ifndef CONFIGSOUNDSELELECTDLG_H
#define CONFIGSOUNDSELELECTDLG_H
#include <QDialog>
#include <QSignalMapper>
#include <config.h>
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