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