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.
|
|
|
|
/**
|
|
|
|
|
* @brief 模型树点击事件处理器
|
|
|
|
|
* @author BaGuijun (baguijun@163.com)
|
|
|
|
|
* @date 2024-09-07
|
|
|
|
|
*/
|
|
|
|
|
#ifndef _OperModelTreeMouseEvent_H_
|
|
|
|
|
#define _OperModelTreeMouseEvent_H_
|
|
|
|
|
|
|
|
|
|
#include "FITK_Kernel/FITKCore/FITKOperatorRepo.h"
|
|
|
|
|
#include "OperatorsInterface/ParaWidgetInterfaceOperator.h"
|
|
|
|
|
#include "OperatorsGUIAPI.h"
|
|
|
|
|
|
|
|
|
|
namespace GUIOper
|
|
|
|
|
{
|
|
|
|
|
/**
|
|
|
|
|
* @brief 模型树点击事件处理器
|
|
|
|
|
* @author BaGuijun (baguijun@163.com)
|
|
|
|
|
* @date 2024-09-07
|
|
|
|
|
*/
|
|
|
|
|
class OperatorsGUIAPI OperModelTreeMouseEvent : public EventOper::ParaWidgetInterfaceOperator
|
|
|
|
|
{
|
|
|
|
|
Q_OBJECT;
|
|
|
|
|
public:
|
|
|
|
|
/**
|
|
|
|
|
* @brief 构造函数
|
|
|
|
|
* @author BaGuijun (baguijun@163.com)
|
|
|
|
|
* @date 2024-09-07
|
|
|
|
|
*/
|
|
|
|
|
OperModelTreeMouseEvent();
|
|
|
|
|
/**
|
|
|
|
|
* @brief 析构函数
|
|
|
|
|
* @author BaGuijun (baguijun@163.com)
|
|
|
|
|
* @date 2024-09-07
|
|
|
|
|
*/
|
|
|
|
|
~OperModelTreeMouseEvent();
|
|
|
|
|
/**
|
|
|
|
|
* @brief 更新树
|
|
|
|
|
* @author BaGuijun (baguijun@163.com)
|
|
|
|
|
* @date 2024-09-07
|
|
|
|
|
*/
|
|
|
|
|
void updateTree() override;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
Register2FITKOPeratorRepo(ModelTreeEvent, OperModelTreeMouseEvent);
|
|
|
|
|
|
|
|
|
|
} // namespace GUIOper
|
|
|
|
|
|
|
|
|
|
#endif
|