DiagramDesigner/diagramCavas/include/propertyContentDlg.h

31 lines
887 B
C
Raw 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); //创建页面
virtual QMap<QString,propertyStateInfo> getPropertyValue(); //返回当前页面的属性值
virtual void setPropertyValue(QMap<QString,propertyStateInfo>);
protected:
QVBoxLayout* _layout;
2025-05-16 19:20:46 +08:00
QWidget* createEditor(propertyStateInfo); //创建属性
};
#endif