2025-03-14 15:07:39 +08:00
|
|
|
|
#ifndef CALARMINHIBITDIALOG_H
|
|
|
|
|
|
#define CALARMINHIBITDIALOG_H
|
|
|
|
|
|
|
|
|
|
|
|
#include <QMap>
|
|
|
|
|
|
#include <QDialog>
|
|
|
|
|
|
#include "CAlarmMsgInfo.h"
|
|
|
|
|
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
|
|
class CAlarmInhibitDialog;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
class CAlarmInhibitDialog : public QDialog
|
|
|
|
|
|
{
|
|
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
explicit CAlarmInhibitDialog(QWidget *parent = 0);
|
|
|
|
|
|
~CAlarmInhibitDialog();
|
|
|
|
|
|
|
|
|
|
|
|
void setInhibitAlarmList(const QList<AlarmMsgPtr> &alarmList);
|
|
|
|
|
|
|
|
|
|
|
|
signals:
|
|
|
|
|
|
void removeInhibitAlarmList(QList<AlarmMsgPtr> alarmList);
|
|
|
|
|
|
|
|
|
|
|
|
protected slots:
|
|
|
|
|
|
void onRemoveInhibit();
|
|
|
|
|
|
protected:
|
|
|
|
|
|
void contextMenuEvent(QContextMenuEvent *event);
|
|
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
|
Ui::CAlarmInhibitDialog *ui;
|
|
|
|
|
|
|
|
|
|
|
|
QList<AlarmMsgPtr> m_inhibitAlarmList;
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif // CALARMINHIBITDIALOG_H
|