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

116 lines
3.1 KiB
C

/**
*
* @file MeshBaseTypeBoxWidget.h
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-14
*
*/
#ifndef _MeshBaseTypeBoxWidget_H
#define _MeshBaseTypeBoxWidget_H
#include "MeshBaseTypeWidgetBase.h"
namespace Ui {
class MeshBaseTypeBoxWidget;
}
namespace Interface {
class FITKRegionMeshSizeBox;
}
namespace GUI
{
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-14
*/
class MeshBaseTypeBoxWidget :public MeshBaseTypeWidgetBase
{
Q_OBJECT;
public:
/**
* @brief Construct a new Mesh Base Type Box Widget object
* @param[i] parent
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-14
*/
MeshBaseTypeBoxWidget(QWidget* parent);
/**
* @brief Destroy the Mesh Base Type Box Widget object
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-14
*/
~MeshBaseTypeBoxWidget();
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-14
*/
void init();
/**
* @brief
* @return true
* @return false
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-14
*/
bool checkValue();
/**
* @brief Set the Data To Widget object
* @param[i] obj
* @return true
* @return false
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-14
*/
bool setDataToWidget(Interface::FITKAbstractRegionMeshSize* obj) override;
/**
* @brief Get the Data From Widget object
* @param[i] obj
* @return true
* @return false
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-14
*/
bool getDataFromWidget(Interface::FITKAbstractRegionMeshSize* obj) override;
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-14
*/
void updateGeometryGraph() override;
protected:
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-14
*/
void clearBoundaryBackgroudColor() override;
private slots:
;
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-14
*/
void on_pushButton_AutoSize_clicked();
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-14
*/
void slotSaveValue();
private:
/**
* @brief ui
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-14
*/
Ui::MeshBaseTypeBoxWidget* _ui = nullptr;
};
}
#endif