DiagramDesigner/diagramCavas/include/selectPanel.h

25 lines
546 B
C
Raw Normal View History

2026-04-24 17:14:45 +08:00
#ifndef SELECTPANEL_H
#define SELECTPANEL_H
#include <QWidget>
#include "baseDrawingPanel.h"
/***********自定义生成HMI操作画布***********/
class PowerEntity;
class SelectPanel : public BaseDrawingPanel
{
Q_OBJECT
public:
SelectPanel(PowerEntity* pEntity,QWidget *parent = nullptr,DiagramMode mode = DM_customHMI);
~SelectPanel();
QJsonObject getDiagramInfo(); //重载
virtual void loadNodes(QJsonObject obj) override; //加载图元信息
void clearItems(); //清空当前item
};
#endif