#ifndef MONITORATTRIBUTEDLG_H #define MONITORATTRIBUTEDLG_H #include #include class MonitorToolBox; class MonitorAttributeDlg : public QDialog { Q_OBJECT public: MonitorAttributeDlg(QWidget *parent = nullptr); ~MonitorAttributeDlg(); void initial(); void setCurAttribute(MonitorToolBox*); //设置当前显示的属性对象 void clearCurAttribute(); //清空属性对象 private: QVBoxLayout* _pLayout; }; #endif