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.

74 lines
2.0 KiB
C

/**********************************************************************
* @file FITKParamBool.h
* @brief Bool
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-09
*********************************************************************/
#ifndef FITKParamBool_H
#define FITKParamBool_H
#include "FITKEasyParamAPI.h"
#include "FITKAbstractEasyParam.h"
namespace Core
{
/**
* @brief Bool
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-09
*/
class FITKEasyParamAPI FITKParamBool : public FITKAbstractEasyParam
{
Q_OBJECT;
public:
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-09
*/
FITKParamBool();
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-09
*/
virtual ~FITKParamBool();
/**
* @brief
* @return FITKAbstractEasyParam::FITKEasyParamType
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-09
*/
virtual FITKAbstractEasyParam::FITKEasyParamType getParamType() override;
/**
* @brief
* @param[i] data
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-09
*/
virtual void copyParaData(FITKAbstractEasyParam* data) override;
/**
* @brief
* @param[i] value
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-09
*/
void setValue(bool value);
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-09
*/
bool getValue();
private:
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-09
*/
bool _value = false;
};
}
#endif