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.
AppFlow/FITK_Kernel/FITKEasyParam/FITKParamBoolGroup.h

98 lines
2.9 KiB
C

/**********************************************************************
* @file FITKParamBoolGroup.h
* @brief bool
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-09
*********************************************************************/
#ifndef FITKParamBoolGroup_H
#define FITKParamBoolGroup_H
#include "FITKEasyParamAPI.h"
#include "FITKAbstractEasyParam.h"
namespace Core
{
class FITKParameter;
/**
* @brief bool
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-09
*/
class FITKEasyParamAPI FITKParamBoolGroup : public FITKAbstractEasyParam
{
Q_OBJECT;
public:
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-09
*/
FITKParamBoolGroup();
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-09
*/
virtual ~FITKParamBoolGroup();
/**
* @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
* @return bool
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-09
*/
bool getValue();
/**
* @brief
* booltrue
* @param[i] g
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-09
*/
void setValueGroup(FITKParameter* g);
/**
* @brief
* boolfalse
* @return FITKParameter*
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-09
*/
FITKParameter* getValueGroup();
private:
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-09
*/
bool _value = false;
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-09
*/
FITKParameter* _valueGroup = nullptr;
};
}
#endif