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.

68 lines
1.6 KiB
C

/**
*
* @file FITKWidgetBool.h
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-14
*
*/
#ifndef _GUIWidgetBool_H
#define _GUIWidgetBool_H
#include "FITKEasyParamAPI.h"
#include "FITKAbstractEasyParamWidget.h"
#include <QCheckBox>
namespace Core
{
class FITKAbstractEasyParam;
class FITKParamBool;
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-14
*/
class FITKEasyParamAPI FITKWidgetBool : public QCheckBox ,public FITKAbstractEasyParamWidget
{
Q_OBJECT;
public:
/**
* @brief Construct a new FITKWidgetBool object
* @param[i] data
* @param[i] parent
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-14
*/
FITKWidgetBool(FITKAbstractEasyParam* data, QWidget* parent = nullptr);
/**
* @brief Destroy the FITKWidgetBool object
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-14
*/
~FITKWidgetBool();
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-14
*/
void init();
private slots:
;
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-14
*/
void slotDataChange();
protected:
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-14
*/
FITKParamBool* _value = nullptr;
};
}
#endif