DiagramDesigner/diagramCavas/include/propertyContentDlg.h

33 lines
1006 B
C
Raw Normal View History

2026-03-23 11:06:17 +08:00
#ifndef PROPERTYCONTENTDLG_H
#define PROPERTYCONTENTDLG_H
#include <QDialog>
#include <QVBoxLayout>
#include <QFormLayout>
//#include "global.h"
#include "baseContentDlg.h"
/*******************************************************
itemPropertyDlg
********************************************************/
class PropertyContentDlg : public BaseContentDlg
{
Q_OBJECT
public:
PropertyContentDlg(QWidget *parent = nullptr);
~PropertyContentDlg();
virtual void createGroupView(GroupStateInfo); //创建页面
virtual QMap<QString,PropertyStateInfo> getPropertyValue(BaseProperty* = nullptr); //返回当前页面的属性值
//void setPropertyValue(QMap<QString,propertyStateInfo>);
virtual void setPropertyValue(QVariant);
protected:
QVBoxLayout* _layout;
QWidget* createEditor(PropertyStateInfo); //创建属性
private:
QMap<QString,PropertyStateInfo> _curValue;
};
#endif