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

31 lines
591 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 "Defines.h"
#include "iXmlBaseItem.h"
/// @brief Btn信息
class I_XMLMANAGER_EXPORT iXmlBtn : public iXmlBaseItem
{
public:
iXmlBtn(QObject* parent = 0);
~iXmlBtn();
// 把List分配到成员变量
// 输入开始的m_listValues中index并且返回下一个index
virtual int allocateInfo(int nIndex);
protected:
virtual void initXmlTags();
public:
QString m_sText; //中文名称
QString m_sIcon; //图标
QString m_sTips; //Tips
ActionCheckMode m_oAcm; //状态
};
typedef QVector<iXmlBtn*> vecXmlBtnsPtr;