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/GUIDialog/GUICalculateDialog/TurbulenceWidget.h

110 lines
2.7 KiB
C

/**
*
* @file TurbulenceWidget.h
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-14
*
*/
#ifndef _TurbulenceWidget_H
#define _TurbulenceWidget_H
#include "GUICalculateDialogAPI.h"
#include "GUICalculateWidgetBase.h"
class QButtonGroup;
namespace Ui {
class TurbulenceWidget;
}
namespace EventOper {
class ParaWidgetInterfaceOperator;
}
namespace Interface {
class FITKOFTurbulenceManager;
}
namespace GUI
{
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-14
*/
class GUICalculateDialogAPI TurbulenceWidget :public GUICalculateWidgetBase
{
Q_OBJECT;
public:
/**
* @brief Construct a new Turbulence Widget object
* @param[i] oper
* @param[i] parent
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-14
*/
TurbulenceWidget(EventOper::ParaWidgetInterfaceOperator* oper, QWidget* parent = nullptr);
/**
* @brief Destroy the Turbulence Widget object
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-14
*/
~TurbulenceWidget();
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-14
*/
void init();
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-14
*/
void updateSubWidget();
private:
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-14
*/
void setDataToWidget();
private slots:
;
/**
* @brief RadioButton
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-14
*/
void slotRadioButtonClicked();
void slotComboBoxModelChange(int index);
void slotComboBoxDeltaChange(int index);
void on_pushButton_ModelUnfold_clicked();
void on_pushButton_DeltaUnfold_clicked();
private:
/**
* @brief ui
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-14
*/
Ui::TurbulenceWidget* _ui = nullptr;
/**
* @brief RadioButton group
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-14
*/
QButtonGroup* _radioGroup = nullptr;
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-21
*/
Interface::FITKOFTurbulenceManager* _turManager = nullptr;
};
}
#endif