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

102 lines
2.5 KiB
C++

/**
*
* @file InitialWidget.h
* @brief 求解器初始化参数界面
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-14
*
*/
#ifndef _InitialWidget_H
#define _InitialWidget_H
#include "GUICalculateDialogAPI.h"
#include "GUICalculateWidgetBase.h"
namespace Ui {
class InitialWidget;
}
namespace Interface {
class FITKOFInitialConditions;
}
namespace EventOper {
class ParaWidgetInterfaceOperator;
}
namespace GUI
{
class InitialCreatePatchDialog;
/**
* @brief 求解器初始化参数界面
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-14
*/
class GUICalculateDialogAPI InitialWidget :public GUICalculateWidgetBase
{
Q_OBJECT;
public:
/**
* @brief Construct a new Initial Widget object
* @param[i] oper 操作器对象
* @param[i] parent 父对象
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-14
*/
InitialWidget(EventOper::ParaWidgetInterfaceOperator* oper, QWidget* parent = nullptr);
/**
* @brief Destroy the Initial Widget object
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-14
*/
~InitialWidget();
/**
* @brief 初始化
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-14
*/
void init();
/**
* @brief 更新界面
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-04
*/
void updateWidget();
private slots:
;
/**
* @brief patch添加
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-04
*/
void on_pushButton_PatchAdd_clicked();
private:
/**
* @brief 更新Basic界面
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-23
*/
void updateBasicWidget();
/**
* @brief 更新Patch界面
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-05
*/
void updatePatchWidget();
private:
/**
* @brief ui
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-14
*/
Ui::InitialWidget* _ui = nullptr;
/**
* @brief 初始化对象
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-23
*/
Interface::FITKOFInitialConditions* _initValue = nullptr;
};
}
#endif