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.
|
|
|
|
/**
|
|
|
|
|
*
|
|
|
|
|
* @file ParaWidgetInterfaceOperator.h
|
|
|
|
|
* @brief 与参数窗口相关的operator基类
|
|
|
|
|
* @author BaGuijun (baguijun@163.com)
|
|
|
|
|
* @date 2024-08-01
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
#ifndef _PARAWIDGET_OPERATOR_INTERFACE_H___
|
|
|
|
|
#define _PARAWIDGET_OPERATOR_INTERFACE_H___
|
|
|
|
|
|
|
|
|
|
#include "FITK_Kernel/FITKCore/FITKActionOperator.h"
|
|
|
|
|
#include "OperatorsInterfaceAPI.h"
|
|
|
|
|
|
|
|
|
|
#define objID_String "objID"
|
|
|
|
|
|
|
|
|
|
namespace EventOper
|
|
|
|
|
{
|
|
|
|
|
/**
|
|
|
|
|
* @brief 参数窗口相关的widget
|
|
|
|
|
* @author BaGuijun (baguijun@163.com)
|
|
|
|
|
* @date 2024-08-01
|
|
|
|
|
*/
|
|
|
|
|
class OperatorsInterfaceAPI ParaWidgetInterfaceOperator : public Core::FITKActionOperator
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
/**
|
|
|
|
|
* @brief Construct a new Para Widget Interface Oper object
|
|
|
|
|
* @author BaGuijun (baguijun@163.com)
|
|
|
|
|
* @date 2024-08-01
|
|
|
|
|
*/
|
|
|
|
|
ParaWidgetInterfaceOperator();
|
|
|
|
|
/**
|
|
|
|
|
* @brief Destroy the Para Widget Interface Oper object
|
|
|
|
|
* @author BaGuijun (baguijun@163.com)
|
|
|
|
|
* @date 2024-08-01
|
|
|
|
|
*/
|
|
|
|
|
virtual ~ParaWidgetInterfaceOperator();
|
|
|
|
|
/**
|
|
|
|
|
* @brief 其他事件执行
|
|
|
|
|
* @param[i] index 事件索引(自定义)
|
|
|
|
|
* @param[i] value 其他数据
|
|
|
|
|
* @author BaGuijun (baguijun@163.com)
|
|
|
|
|
* @date 2024-08-01
|
|
|
|
|
*/
|
|
|
|
|
virtual void eventProcess(int index, QHash<int, QVariant> value = QHash<int, QVariant>());
|
|
|
|
|
/**
|
|
|
|
|
* @brief 当前数据发生更改
|
|
|
|
|
* @param[i] objID 数据对象id
|
|
|
|
|
* @author BaGuijun (baguijun@163.com)
|
|
|
|
|
* @date 2024-09-07
|
|
|
|
|
*/
|
|
|
|
|
virtual void CurrentObjectChange(int objID);
|
|
|
|
|
/**
|
|
|
|
|
* @brief 更新树
|
|
|
|
|
* @author BaGuijun (baguijun@163.com)
|
|
|
|
|
* @date 2024-09-07
|
|
|
|
|
*/
|
|
|
|
|
virtual void updateTree();
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endif
|