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.

61 lines
1.7 KiB
C++

/**********************************************************************
* @file OperatorsLight.h
* @brief 灯光操作器
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-12
*********************************************************************/
#ifndef _OperatorsLight_H_
#define _OperatorsLight_H_
#include "FITK_Kernel/FITKCore/FITKActionOperator.h"
#include "FITK_Kernel/FITKCore/FITKOperatorRepo.h"
#include "FITK_Kernel/FITKCore/FITKThreadTask.h"
#include "OperatorsBase.h"
namespace OperModel
{
/**
* @brief 灯光操作器
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-12
*/
class OperatorsLight : public OperatorsBase
{
Q_OBJECT;
public:
/**
* @brief Construct a new Operators Open object
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-04
*/
explicit OperatorsLight() = default;
/**
* @brief Destroy the Operators Open object
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-04
*/
~OperatorsLight( ) = default;
/**
* @brief ui事件
* @return true 成功
* @return false 失败
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-04
*/
virtual bool execGUI( ) override;
/**
* @brief 执行结果处理
* @return true 成功
* @return false 失败
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-04
*/
virtual bool execProfession();
};
//根据按钮的ObjectName进行注册按钮事件
Register2FITKOPeratorRepo(actionLight, OperatorsLight);
Register2FITKOPeratorRepo(actionLightDelete, OperatorsLight);
}
#endif