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/GUIMeshDialog/MeshGeoSubWidget.h

167 lines
4.7 KiB
C

/**
*
* @file MeshGeoSubWidget.h
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-14
*
*/
#ifndef _MeshGeoSubWidget_H
#define _MeshGeoSubWidget_H
#include "GUIWidget/GUIWidgetBase.h"
namespace Ui {
class MeshGeoSubWidget;
}
namespace EventOper {
class ParaWidgetInterfaceOperator;
}
namespace Interface {
class FITKRegionMeshSizeGeom;
class FITKRegionGeometryRefine;
class FITKRegionMeshSizeManager;
class FITKRegionGeometryRefineManager;
class FITKAbsGeoCommand;
}
namespace GUI
{
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-14
*/
class MeshGeoSubWidget :public GUIWidgetBase
{
Q_OBJECT;
public:
/**
* @brief Construct a new Mesh Geo Sub Widget object
* @param[i] geoID id
* @param[i] oper
* @param[i] parent
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-14
*/
MeshGeoSubWidget(Interface::FITKAbsGeoCommand* geoObj, EventOper::ParaWidgetInterfaceOperator * oper, QWidget* parent = nullptr);
/**
* @brief Destroy the Mesh Geo Sub Widget object
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-14
*/
~MeshGeoSubWidget();
/**
* @brief id
* @return int id
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-14
*/
int getObjID();
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-14
*/
void init();
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-02
*/
void updateWidget();
private slots:
/**
* @brief
* @param[i] arg1
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-14
*/
void on_spinBox_Min_valueChanged(int arg1);
/**
* @brief
* @param[i] arg1
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-14
*/
void on_spinBox_Max_valueChanged(int arg1);
void on_checkBox_Mesh_clicked();
void on_checkBox_Refine_clicked();
void on_checkBox_Limit_clicked();
void on_comboBox_RefineModel_currentIndexChanged(int index);
void on_doubleSpinBox_Distance_valueChanged(double arg1);
void on_spinBox_Level_valueChanged(int arg1);
void on_comboBox_Gap_currentIndexChanged(int index);
void on_spinBox_NoCell_valueChanged(int arg1);
void on_spinBox_MaxGap_valueChanged(int arg1);
private:
/**
* @brief Set the Data To Widget object
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-14
*/
void setDataToWidget();
/**
* @brief get the data from widget
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-02
*/
void getDataFromWidget();
private:
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-02
*/
Interface::FITKRegionMeshSizeManager* _meshSizeManager = nullptr;
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-02
*/
Interface::FITKRegionGeometryRefineManager* _geoRefineManager = nullptr;
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-14
*/
Interface::FITKRegionMeshSizeGeom* _geoMeshSize = nullptr;
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-02
*/
Interface::FITKRegionGeometryRefine* _geoRefine = nullptr;
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-14
*/
EventOper::ParaWidgetInterfaceOperator* _oper = nullptr;
/**
* @brief ui
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-14
*/
Ui::MeshGeoSubWidget* _ui = nullptr;
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-14
*/
Interface::FITKAbsGeoCommand* _geoObj = nullptr;
};
}
#endif