DiagramDesigner/diagramCavas/include/propertyContentDlg.h

33 lines
942 B
C
Raw Normal View History

#ifndef PROPERTYCONTENTDLG_H
#define PROPERTYCONTENTDLG_H
#include <QDialog>
#include <QVBoxLayout>
#include <QFormLayout>
#include "global.h"
/*******************************************************
itemPropertyDlg
********************************************************/
class PropertyContentDlg : public QDialog
{
Q_OBJECT
public:
PropertyContentDlg(QWidget *parent = nullptr);
~PropertyContentDlg();
void createGroupView(groupStateInfo); //创建页面
QWidget* createEditor(propertyStateInfo); //创建属性
QMap<QString,propertyStateInfo> getPropertyValue() const; //返回当前页面的属性值
void setPropertyValue(QMap<QString,propertyStateInfo>);
private:
QVBoxLayout* _layout;
QMap<QString,propertyContentInfo> _mapPro;
private:
2025-04-09 16:20:34 +08:00
QFormLayout* createFormLayout(QWidget* parent);
};
#endif