You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nmWATI/Include/iData/iXmlManager/Models/iParameterImg.h

34 lines
663 B
C

#pragma once
#include "iParameter.h"
/// @brief 参数描述,图片,文件
class I_XMLMANAGER_EXPORT iParameterImg : public iParameter
{
public:
iParameterImg();
~iParameterImg();
// 把List分配到成员变量
// 输入开始的m_listValues中index并且返回下一个index
virtual int allocateInfo(int nIndex);
// 写入xml
void writeInfo(QDomElement& e,QDomDocument &doc);
// 备份恢复
virtual bool saveBk();
// 序列化
virtual void onSerialize(ZxSerializer* ser);
virtual void onDeserialize(ZxSerializer* ser);
protected:
virtual void initXmlTags();
public:
QString m_sText;
};