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/mGui/mGuiTree/TreeWx/TreeItemBase.h

25 lines
466 B
C++

#pragma once
#include <QMap>
#include <QTreeWidgetItem>
#include "mGuiTree_global.h"
class M_GUI_TREE_EXPORT TreeItemBase : public QTreeWidgetItem
{
public:
TreeItemBase(QTreeWidget* parent = 0);
~TreeItemBase();
public slots:
// item的属性
void setExtInfos(QMap<QString, QVariant>& map);
QMap<QString, QVariant> getExtInfos();
public:
QMap<QString, QVariant> m_mapExtInfos;
QString m_sNameNew; //即将重命名的新名字
};