DiagramDesigner/diagramCavas/include/baseContentDlg.h

28 lines
795 B
C
Raw Normal View History

2025-05-16 19:20:46 +08:00
#ifndef BASECONTENTDLG_H
#define BASECONTENTDLG_H
#include <QDialog>
#include <QVBoxLayout>
#include <QFormLayout>
#include "global.h"
/*******************************************************
********************************************************/
class BaseContentDlg : public QDialog
{
Q_OBJECT
public:
BaseContentDlg(QWidget *parent = nullptr);
virtual ~BaseContentDlg();
virtual void createGroupView(groupStateInfo) = 0; //创建页面
virtual QMap<QString,propertyStateInfo> getPropertyValue() = 0; //返回当前页面的属性值
virtual void setPropertyValue(QMap<QString,propertyStateInfo>) = 0;
protected:
QMap<QString,propertyContentInfo> _mapPro;
QFormLayout* createFormLayout(QWidget* parent);
};
#endif