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.
36 lines
873 B
C++
36 lines
873 B
C++
/**
|
|
* @file OperModelTreeMouseEvent.h
|
|
* @brief 定义模型树点击事件处理器
|
|
*/
|
|
#ifndef _OPERMODOELTREEEVENTMOUDE_H__
|
|
#define _OPERMODOELTREEEVENTMOUDE_H__
|
|
|
|
#include "FITK_Kernel/FITKCore/FITKOperatorRepo.h"
|
|
#include "OperatorsInterface/TreeEventOperator.h"
|
|
#include "OperatorsGUIAPI.h"
|
|
|
|
namespace GUIOper
|
|
{
|
|
/**
|
|
* @brief 模型树点击事件处理器
|
|
*/
|
|
class OperatorsGUIAPI OperModelTreeMouseEvent : public EventOper::TreeEventOperator
|
|
{
|
|
Q_OBJECT;
|
|
public:
|
|
OperModelTreeMouseEvent();
|
|
~OperModelTreeMouseEvent();
|
|
/**
|
|
* @brief 更新整棵树
|
|
*/
|
|
void updateTree() override;
|
|
|
|
virtual void moveProcessToStep(int step, void *addInfo = nullptr) override;
|
|
};
|
|
|
|
Register2FITKOPeratorRepo(ModelTreeEvent, OperModelTreeMouseEvent);
|
|
|
|
} // namespace GUIOper
|
|
|
|
#endif
|