#pragma once #include "Defines.h" #include "TreeItemBase.h" #include "TreeNodeDescBase.h" class ZxDataProject; class ZxDataObject; class M_GUI_TREE_EXPORT TreeItemMain : public TreeItemBase { public: TreeItemMain(QTreeWidget* parent = 0); ~TreeItemMain(); void setNodeType(MainTreeNodeType o); void setTableName(QString sTable); void setNodeDesc(TreeNodeDescBase* p); void setDataObj(ZxDataObject* p); ZxDataObject* getDataObj(); public slots: public: MainTreeNodeType m_oType; QString m_sTable; TreeNodeDescBase* m_pNodeDesc; ZxDataObject* m_pDataObj; };