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.

69 lines
1.9 KiB
C

/**********************************************************************
* @file FITKWidgetVBox.h
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-22
*********************************************************************/
#ifndef _FITKWidgetVBox_H
#define _FITKWidgetVBox_H
#include "FITKEasyParamAPI.h"
#include <QWidget>
namespace Ui {
class FITKWidgetVBox;
}
class QRadioButton;
namespace Core
{
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-22
*/
class FITKEasyParamAPI FITKWidgetVBox : public QWidget
{
Q_OBJECT;
public:
FITKWidgetVBox(QList<QWidget*> widgetList, QWidget* parent = nullptr);
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-22
*/
~FITKWidgetVBox();
/**
* @brief
* @param[i] enable
* @param[i] isFirst
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-22
*/
void setSubWidgetEnable(bool enable, bool isFirst = true);
/**
* @brief
* @return QList<QWidget*>
* @author BaGuijun (baguijun@163.com)
* @date 2024-10-12
*/
QList<QWidget*> getSubWidget();
private:
/**
* @brief ui
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-22
*/
Ui::FITKWidgetVBox* _ui = nullptr;
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-10-12
*/
QList<QWidget*> _subWidgets = {};
};
}
#endif // !_FITKWidgetVBox_H