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

129 lines
3.4 KiB
C

/**
*
* @file LocalGroupInfoWidget.h
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-14
*
*/
#ifndef LocalGroupInfoWidget_H
#define LocalGroupInfoWidget_H
#include "GUIWidget/GUIWidgetBase.h"
#include "GUIMeshDialogAPI.h"
namespace Ui {
class LocalGroupInfoWidget;
}
namespace Interface {
class FITKGeometryMeshSize;
}
namespace EventOper {
class ParaWidgetInterfaceOperator;
}
namespace GUI
{
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-14
*/
class GUIMeshDialogAPI LocalGroupInfoWidget : public GUIWidgetBase
{
Q_OBJECT;
public:
/**
* @brief Construct a new Local Group Info Widget object
* @param[i] obj
* @param[i] oper
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-14
*/
LocalGroupInfoWidget(Interface::FITKGeometryMeshSize* obj, EventOper::ParaWidgetInterfaceOperator* oper);
/**
* @brief Destroy the Local Group Info Widget object
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-14
*/
~LocalGroupInfoWidget();
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-14
*/
void init();
/**
* @brief
* @return Interface::FITKGeometryMeshSize*
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-14
*/
Interface::FITKGeometryMeshSize* getCurrentGeoMeshObj();
private slots:
;
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-14
*/
void on_lineEdit_NoLayers_editingFinished();
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-14
*/
void on_lineEdit_Expansion_editingFinished();
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-14
*/
void on_lineEdit_FirThickness_editingFinished();
private:
/**
* @brief
* @return true
* @return false
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-14
*/
bool checkValue();
/**
* @brief Set the Data To Widget object
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-14
*/
void setDataToWidget();
/**
* @brief Get the Data From Widget object
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-14
*/
void getDataFromWidget();
private:
/**
* @brief ui
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-14
*/
Ui::LocalGroupInfoWidget* _ui = nullptr;
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-14
*/
EventOper::ParaWidgetInterfaceOperator* _oper = nullptr;
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-14
*/
Interface::FITKGeometryMeshSize* _obj = nullptr;
};
}
#endif