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.

104 lines
3.1 KiB
C

/**********************************************************************
* @file FITKParamComboxVector.h
* @brief combox
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-09
*********************************************************************/
#ifndef _FITKParamComboxVector_H
#define _FITKParamComboxVector_H
#include "FITKEasyParamAPI.h"
#include "FITKAbstractEasyParam.h"
namespace Core
{
class FITKParamCombox;
/**
* @brief combox
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-09
*/
class FITKEasyParamAPI FITKParamComboxVector : public FITKAbstractEasyParam
{
Q_OBJECT;
public:
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-09
*/
FITKParamComboxVector();
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-09
*/
virtual ~FITKParamComboxVector();
/**
* @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
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-09
*/
int getCount();
/**
* @brief
* @param[i] values
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-09
*/
void setDatas(QList<FITKParamCombox*> values);
/**
* @brief
* @param[i] value
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-09
*/
void pushData(FITKParamCombox* value);
/**
* @brief
* @param[i] index
* @return FITKParamDouble*
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-09
*/
FITKParamCombox* getData(int index);
/**
* @brief
* @return QList<FITKParamCombox*>
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-09
*/
QList<FITKParamCombox*> getDatas();
private:
/**
* @brief
* @return void
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-09
*/
void clear();
private:
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-09
*/
QList<FITKParamCombox*> _value;
};
}
#endif