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.

70 lines
1.8 KiB
C++

/**********************************************************************
* @file GUIDialogBase.h
* @brief 对话框基类
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-12
*********************************************************************/
#ifndef _GUIDialogBase_H
#define _GUIDialogBase_H
#include "GUIDialogAPI.h"
#include "FITK_Kernel/FITKCore/FITKAbstractGUI.h"
namespace Interface {
class FITKCFDPost3DManager;
class PostGraphObjectManager;
}
namespace EventOper {
class ParaWidgetInterfaceOperator;
}
namespace GUI
{
class MainWindow;
/**
* @brief 对话框基类
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-12
*/
class GUIDialogAPI GUIDialogBase : public Core::FITKDialog
{
Q_OBJECT;
public:
/**
* @brief 构造函数
* @param[i] oper 操作器对象
* @param[i] parent 父对象
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-12
*/
GUIDialogBase(EventOper::ParaWidgetInterfaceOperator* oper, QString dialogTitle, QWidget* parent = nullptr);
/**
* @brief 析构函数
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-12
*/
~GUIDialogBase();
/**
* @brief 刷新
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-26
*/
void reRender();
protected:
/**
* @brief 操作对象
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-12
*/
EventOper::ParaWidgetInterfaceOperator* _oper = nullptr;
Interface::FITKCFDPost3DManager* _postDataManager = nullptr;
Interface::PostGraphObjectManager* _postGraphManager = nullptr;
MainWindow* _mainWin = nullptr;
};
}
#endif