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