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.
|
|
|
|
#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;
|
|
|
|
|
|
|
|
|
|
};
|