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/iGui/iGuiRibbon/iRibbonXml/iRibbonXmlGroup.h

33 lines
674 B
C

#pragma once
#include "iRibbonXmlCmd.h"
// Cmd group
class I_GUI_RIBBON_EXPORT iRibbonXmlGroup : public iXmlBaseItem
{
public:
iRibbonXmlGroup(QObject* parent = 0);
~iRibbonXmlGroup();
// 解析xml节点到List
virtual void parseInfo(const QDomElement& e);
// 把List分配到成员变量
// 输入开始的m_listValues中index并且返回下一个index
virtual int allocateInfo(int nIndex);
protected:
virtual void initXmlTags();
public:
// QString m_sID; //ID
// QString m_sName; //名称
QString m_sAlias; //别名
vecRibbonCmdPtr m_vecChildren;
};
typedef QVector<iRibbonXmlGroup*> vecRibbonGroupPtr;