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

95 lines
2.7 KiB
C++

/**
*
* @file GUICalculateWidgetBase.h
* @brief 求解器参数界面基类
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-14
*
*/
#ifndef _GUICalculateWidgetBase_H
#define _GUICalculateWidgetBase_H
#include "GUICalculateDialogAPI.h"
#include "GUIWidget/GUIWidgetBase.h"
namespace EventOper {
class ParaWidgetInterfaceOperator;
}
namespace Interface {
class FITKOFPhysicsManager;
class FITKAbstractOFSolver;
class FITKOFSolverManager;
class FITKOFPhysicsData;
class FITKFlowPhysicsHandlerFactory;
}
namespace GUI
{
/**
* @brief 求解器参数界面基类
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-14
*/
class GUICalculateDialogAPI GUICalculateWidgetBase :public GUIWidgetBase
{
Q_OBJECT;
public:
/**
* @brief Construct a new GUICalculateWidgetBase object
* @param[i] oper 操作器对象
* @param[i] parent 父对象
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-14
*/
GUICalculateWidgetBase(EventOper::ParaWidgetInterfaceOperator* oper, QWidget* parent = nullptr);
/**
* @brief Destroy the GUICalculateWidgetBase object
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-14
*/
~GUICalculateWidgetBase();
protected:
/**
* @brief 操作器对象
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-14
*/
EventOper::ParaWidgetInterfaceOperator* _oper = nullptr;
/**
* @brief 求解器管理器
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-21
*/
Interface::FITKOFSolverManager* _solverManager = nullptr;
/**
* @brief 物理数据管理器
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-21
*/
Interface::FITKOFPhysicsManager* _physicsManager = nullptr;
/**
* @brief 物理数据对象
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-21
*/
Interface::FITKOFPhysicsData* _physicsData = nullptr;
/**
* @brief 工厂对象
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-21
*/
Interface::FITKFlowPhysicsHandlerFactory* _factoryData = nullptr;
};
//---------------------------------------------------------------------------------------------------------------
class GUICalculateDialogAPI GUICalculateSubWidgetBase
{
public:
GUICalculateSubWidgetBase(QWidget* parent = nullptr);
virtual ~GUICalculateSubWidgetBase();
protected:
GUICalculateWidgetBase* _calculateWdiget = nullptr;
};
}
#endif