2025-03-17 15:06:54 +08:00
|
|
|
|
#ifndef CALARMPLUGINWIDGET_H
|
2025-03-14 17:05:48 +08:00
|
|
|
|
#define CALARMPLUGINWIDGET_H
|
|
|
|
|
|
|
|
|
|
|
|
#include <QObject>
|
|
|
|
|
|
#include "GraphShape/CPluginWidget.h" //< ISCS6000_HOME/platform/src/include/gui/GraphShape
|
|
|
|
|
|
|
|
|
|
|
|
class CAlarmPluginWidget : public QObject, public CPluginWidgetInterface
|
|
|
|
|
|
{
|
|
|
|
|
|
Q_OBJECT
|
2025-03-17 15:06:54 +08:00
|
|
|
|
Q_PLUGIN_METADATA(IID HMI_WidgetPlugin_IID)
|
2025-03-14 17:05:48 +08:00
|
|
|
|
Q_INTERFACES(CPluginWidgetInterface)
|
|
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
CAlarmPluginWidget(QObject *parent = 0);
|
|
|
|
|
|
~CAlarmPluginWidget();
|
|
|
|
|
|
|
|
|
|
|
|
bool createWidget(QWidget *parent, bool editMode, QWidget **widget, IPluginWidget **alarmWidget, QVector<void *> ptrVec);
|
|
|
|
|
|
void release();
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif //CALARMPLUGINWIDGET_H
|
|
|
|
|
|
|