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.
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 "iXmlBtn.h"
// @brief Cmd信息
class I_XMLMANAGER_EXPORT iXmlCmdItem : public iXmlBaseItem
{
public :
iXmlCmdItem ( QObject * parent = 0 ) ;
~ iXmlCmdItem ( ) ;
// 把List分配到成员变量
// 输入开始的m_listValues中index, 并且返回下一个index
virtual int allocateInfo ( int nIndex ) ;
void clear ( ) ;
protected :
virtual void initXmlTags ( ) ;
public :
QStringList m_listIDs ; //ID
vecXmlBtnsPtr m_vecXmlBtnItems ;
} ;
typedef QVector < iXmlCmdItem * > vecXmlCmdItemsPtr ;
// @brief Cmd组合信息
class I_XMLMANAGER_EXPORT iXmlCmdGroup : public iXmlBaseItem
{
public :
iXmlCmdGroup ( QObject * parent = 0 ) ;
~ iXmlCmdGroup ( ) ;
// 解析xml节点到List
virtual void parseInfo ( const QDomElement & e ) ;
// 把List分配到成员变量
// 输入开始的m_listValues中index, 并且返回下一个index
virtual int allocateInfo ( int nIndex ) ;
void clear ( ) ;
protected :
virtual void initXmlTags ( ) ;
public :
QString m_sType ; //
vecXmlCmdItemsPtr m_vecXmlCmdItems ;
} ;
typedef QVector < iXmlCmdGroup * > vecXmlCmdGroupsPtr ;