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/FITKAbstractEasyParam.h

84 lines
2.2 KiB
C

/**********************************************************************
* @file FITKAbstractEasyParam.h
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-09
*********************************************************************/
#ifndef _FITKABSTRACT_EASY_PARAM_H___
#define _FITKABSTRACT_EASY_PARAM_H___
#include "FITK_Kernel/FITKCore/FITKAbstractNDataObject.h"
#include "FITKEasyParamAPI.h"
namespace Core
{
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-09
*/
class FITKEasyParamAPI FITKAbstractEasyParam : public FITKAbstractNDataObject
{
Q_OBJECT
public:
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-09
*/
enum FITKEasyParamType
{
FEPNone,
FEPBool,
FEPBoolGroup,
FEPCombox,
FEPDouble,
FEPDoubleList,
FEPInt,
FEPLabel,
FEPRadioGroup,
FEPString,
};
Q_ENUM(FITKEasyParamType);
public:
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-09
*/
explicit FITKAbstractEasyParam() = default;
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-09
*/
virtual ~FITKAbstractEasyParam() = 0;
/**
* @brief
* @return FITKEasyParamType
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-09
*/
virtual FITKEasyParamType getParamType() = 0;
/**
* @brief
* @param[i] data
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-09
*/
virtual void copyParaData(FITKAbstractEasyParam* data);
signals:
;
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-09
*/
void sigDataChange();
};
}
#endif