28 lines
795 B
C++
28 lines
795 B
C++
#ifndef BASECONTENTDLG_H
|
|
#define BASECONTENTDLG_H
|
|
|
|
#include <QDialog>
|
|
#include <QVBoxLayout>
|
|
#include <QFormLayout>
|
|
#include "global.h"
|
|
/*******************************************************
|
|
属性组界面基类
|
|
********************************************************/
|
|
|
|
class BaseContentDlg : public QDialog
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
BaseContentDlg(QWidget *parent = nullptr);
|
|
virtual ~BaseContentDlg();
|
|
virtual void createGroupView(groupStateInfo) = 0; //创建页面
|
|
virtual QMap<QString,propertyStateInfo> getPropertyValue() = 0; //返回当前页面的属性值
|
|
virtual void setPropertyValue(QMap<QString,propertyStateInfo>) = 0;
|
|
protected:
|
|
QMap<QString,propertyContentInfo> _mapPro;
|
|
QFormLayout* createFormLayout(QWidget* parent);
|
|
};
|
|
|
|
#endif
|