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

52 lines
1.2 KiB
C++

#pragma once
#include "TreeWxMain.h"
class M_GUI_TREE_EXPORT TreeWxMainJb : public TreeWxMain
{
Q_OBJECT
public:
TreeWxMainJb(QWidget* parent = 0);
~TreeWxMainJb();
// 刷新视图
virtual void fillTree();
// virtual void freshTreeEx();
virtual void initTopLevel_OneWell(ZxDataObject* p, \
TreeItemMain*& pItem, \
TreeItemMain* pItemP, \
bool bExcusive = true);
virtual void initSubLevels(TreeItemMain* pItem);
// 改变当前选项状态
virtual void modifyCurrentItemStates(QString sItemName, bool bInit);
protected:
// 公共Action初始化
virtual void initCommonActions();
// 右键菜单功能_节点通用
virtual void initContextMenuCommonNode(QMenu* pMenu);
// 空节点通用
virtual void initContextMenuCommonAll(QMenu* pMenu);
// 右键节点级别的菜单
virtual void initContextMenuJob(QMenu* pMenu);
virtual void changeNodeAttrs(TreeItemMain*& p);
virtual QString getTipsOf(TreeItemMain*& p);
public slots:
void slotNewJob();
void slotJobManager();
void slotSetAsDefault();
Q_SIGNALS:
};