diagramBackup/diagramCavas/include/propertyContentDlg.h

33 lines
1006 B
C
Raw Normal View History

#ifndef PROPERTYCONTENTDLG_H
#define PROPERTYCONTENTDLG_H
#include <QDialog>
#include <QVBoxLayout>
#include <QFormLayout>
2026-03-13 08:31:37 +08:00
//#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();
2026-03-13 08:31:37 +08:00
virtual void createGroupView(GroupStateInfo); //创建页面
virtual QMap<QString,PropertyStateInfo> getPropertyValue(BaseProperty* = nullptr); //返回当前页面的属性值
2025-05-23 10:30:52 +08:00
//void setPropertyValue(QMap<QString,propertyStateInfo>);
virtual void setPropertyValue(QVariant);
2025-05-16 19:20:46 +08:00
protected:
QVBoxLayout* _layout;
2026-03-13 08:31:37 +08:00
QWidget* createEditor(PropertyStateInfo); //创建属性
2025-07-18 18:26:13 +08:00
private:
2026-03-13 08:31:37 +08:00
QMap<QString,PropertyStateInfo> _curValue;
};
#endif