#ifndef CONFIGDOORMONITORING_H #define CONFIGDOORMONITORING_H #include #include #include #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