DiagramDesigner/diagramCavas/include/propertyContentDlg.h

33 lines
1004 B
C
Raw Permalink Normal View History

#ifndef PROPERTYCONTENTDLG_H
#define PROPERTYCONTENTDLG_H
#include <QDialog>
#include <QVBoxLayout>
#include <QFormLayout>
#include "global.h"
2025-05-16 19:20:46 +08:00
#include "baseContentDlg.h"
/*******************************************************
itemPropertyDlg
********************************************************/
2025-05-16 19:20:46 +08:00
class PropertyContentDlg : public BaseContentDlg
{
Q_OBJECT
public:
PropertyContentDlg(QWidget *parent = nullptr);
~PropertyContentDlg();
2025-05-16 19:20:46 +08:00
virtual void createGroupView(groupStateInfo); //创建页面
2025-05-23 10:30:52 +08:00
virtual QMap<QString,propertyStateInfo> getPropertyValue(BaseProperty* = nullptr); //返回当前页面的属性值
//void setPropertyValue(QMap<QString,propertyStateInfo>);
virtual void setPropertyValue(QVariant);
2025-05-16 19:20:46 +08:00
protected:
QVBoxLayout* _layout;
2025-05-16 19:20:46 +08:00
QWidget* createEditor(propertyStateInfo); //创建属性
2025-07-18 18:26:13 +08:00
private:
QMap<QString,propertyStateInfo> _curValue;
};
#endif