#ifndef PROPERTYDLG_H #define PROPERTYDLG_H /*********存放属性栏的窗口(运行时)*******/ #include #include class PropertyDlg : public QDialog { Q_OBJECT public: PropertyDlg(QWidget *parent = nullptr); ~PropertyDlg(); void setContent(QWidget* content); void removeContent(QWidget* content); private: QVBoxLayout* _layout; }; #endif