#ifndef PROPERTYCONTENTDLG_H #define PROPERTYCONTENTDLG_H #include #include #include #include "global.h" /******************************************************* 每个属性组单独的界面信息,动态生成后加入到itemPropertyDlg ********************************************************/ class PropertyContentDlg : public QDialog { Q_OBJECT public: PropertyContentDlg(QWidget *parent = nullptr); ~PropertyContentDlg(); void createGroupView(groupStateInfo); //创建页面 QWidget* createEditor(propertyStateInfo); //创建属性 QMap getPropertyValue() const; //返回当前页面的属性值 void setPropertyValue(QMap); private: QVBoxLayout* _layout; QMap _mapPro; private: QFormLayout* createFormLayout(); }; #endif