DiagramDesigner/diagramCavas/include/customHMIGenerateDlg.h

42 lines
1013 B
C++
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#ifndef CUSTOMHMICREATEDLG_H
#define CUSTOMHMICREATEDLG_H
#include <QDialog>
QT_BEGIN_NAMESPACE
namespace Ui { class customHMIGenerateDlg; }
QT_END_NAMESPACE
class SelectPanel;
class PowerEntity;
class DiagramCavas;
class CustomHMIList;
struct HierarchyItem;
class CustomHMIGenerateDlg : public QDialog
{
Q_OBJECT
public:
CustomHMIGenerateDlg(QWidget *parent = nullptr);
~CustomHMIGenerateDlg();
void initial();
void showDlg(QString,QString,int); //hmi名系统图名模板
signals:
void backCreateHMI(); //退回初始界面信号
public slots:
void onGenerateClicked();
void onBackClicked();
void onPreviewHMI(QList<HierarchyItem>);
private:
Ui::customHMIGenerateDlg *ui;
SelectPanel* _pOperatePanel; //操作界面
SelectPanel* _pPreviewPanel; //预览界面
PowerEntity* _pPe;
PowerEntity* _pOe;
DiagramCavas* _pCanvas = nullptr;
CustomHMIList* _pItemList;
};
#endif