configdoormonitoring.h
842 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
40
41
42
43
#ifndef CONFIGDOORMONITORING_H
#define CONFIGDOORMONITORING_H
#include <QMainWindow>
#include <QSignalMapper>
#include <QKeyEvent>
#include "config.h"
using namespace Define;
namespace Ui {
class ConfigDoorMonitoring;
}
class ConfigDoorMonitoring : public QMainWindow
{
Q_OBJECT
void reloadUi();
public:
explicit ConfigDoorMonitoring(QWidget *parent = 0, ConfigType idx=config_invalid);
~ConfigDoorMonitoring();
private slots:
void on_backButton_clicked();
void onBtnClicked(const int sel);
protected:
void keyReleaseEvent(QKeyEvent* event);
void keyPressEvent(QKeyEvent* event);
private:
Ui::ConfigDoorMonitoring *ui;
ConfigType m_nCfgType;
int m_nSetStage;
int m_n1Stage;
int m_n2Stage;
int m_n3Stage;
QSignalMapper* m_pSignalMapper;
};
#endif // CONFIGDOORMONITORING_H