DiagramDesigner/diagramCavas/include/propertyDialog.h

22 lines
392 B
C++

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