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

115 lines
3.1 KiB
C

/**********************************************************************
* @file BoundaryCreateDialog.h
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-26
*********************************************************************/
#ifndef _BoundaryCreateDialog_H
#define _BoundaryCreateDialog_H
#include "GUIWidget/GUIDialogBase.h"
#include "GUICalculateDialogAPI.h"
namespace Ui {
class BoundaryCreateDialog;
}
namespace Interface {
class FITKOFPhysicsData;
class FITKFlowPhysicsHandlerFactory;
}
namespace EventOper {
class ParaWidgetInterfaceOperator;
}
namespace GUI
{
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-26
*/
class GUICalculateDialogAPI BoundaryCreateDialog : public GUIDialogBase
{
Q_OBJECT;
public:
/**
* @brief
* @param[i] oper
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-26
*/
BoundaryCreateDialog(EventOper::ParaWidgetInterfaceOperator* oper);
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-26
*/
~BoundaryCreateDialog();
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-26
*/
void init();
protected:
/**
* @brief
* @param[i] event
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-26
*/
void hideEvent(QHideEvent *event) override;
/**
* @brief
* @param[i] event
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-26
*/
void showEvent(QShowEvent *event) override;
private slots:
;
void on_comboBox_Boundary_activated(int index);
void on_pushButton_OK_clicked();
void on_pushButton_Cancel_clicked();
private:
/**
* @brief
* @param[i] meshBoundID id
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-26
*/
void highlightMeshBoundary(int meshBoundID);
private:
/**
* @brief ui
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-26
*/
Ui::BoundaryCreateDialog* _ui = nullptr;
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-26
*/
EventOper::ParaWidgetInterfaceOperator* _oper = 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;
};
}
#endif