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/iRibbonXmlTab.h

36 lines
816 B
C

#pragma once
#include "iRibbonXmlGroup.h"
// Tab contains multiple cmd groups
class I_GUI_RIBBON_EXPORT iRibbonXmlTab : public iXmlBaseItem
{
public:
iRibbonXmlTab(QObject* parent = 0);
~iRibbonXmlTab();
// 解析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; //别名
bool m_bVisible; //是否可见
bool m_bFileMode; //是否文件Menu模式1 or 0
QString m_sTips; //Tips
vecRibbonGroupPtr m_vecChildren;
};
typedef QVector<iRibbonXmlTab*> vecRibbonTabPtr;