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.
nmWTAI-Platform/Include/mData/mSysUtilsCO2/co2PlotGroupXmlDefine.h

43 lines
895 B
C++

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

#pragma once
#include "iXmlBaseItem.h"
#include "mSysUtilsCO2_global.h"
class co2PlotXmlDefine;
// 图ChartGroup定义载体
class M_SYSUTILS_CO2_EXPORT co2PlotGroupXmlDefine : public iXmlBaseItem
{
public:
co2PlotGroupXmlDefine();
~co2PlotGroupXmlDefine();
// 解析xml节点到List
virtual void parseInfo(const QDomElement& e);
// 把List分配到成员变量
// 输入开始的m_listValues中index并且返回下一个index
virtual int allocateInfo(int nIndex);
// 写入xml
//void writeInfo(QDomElement& e,QDomDocument &doc);
// 获取
co2PlotXmlDefine* getPlotDefineOf(QString sName);
protected:
virtual void initXmlTags();
public:
QString m_sAlias; //中文名称
QString m_sTips; //备注
QVector<co2PlotXmlDefine*> m_vecPlotDefines;
};
typedef QVector<co2PlotGroupXmlDefine*> vecCO2ChartGroupsPtr;