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/GUIGeometryDialog/BoolInfoWidget.h

122 lines
3.1 KiB
C

/**
*
* @file BoolInfoWidget.h
* @brief bool
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-08
*
*/
#ifndef _BoolInfoWidget_H
#define _BoolInfoWidget_H
#include "GUIGeometryDialogAPI.h"
#include "GeometryWidgetBase.h"
class QTableWidgetItem;
namespace Ui {
class BoolInfoWidget;
}
namespace Interface {
class FITKAbstractGeoModel;
class FITKAbsGeoCommand;
}
namespace EventOper {
class ParaWidgetInterfaceOperator;
}
namespace GUI
{
class CompFaceGroupWidget;
/**
* @brief bool
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-08
*/
class GUIGeometryDialogAPI BoolInfoWidget :public GeometryWidgetBase
{
Q_OBJECT;
public:
/**
* @brief Construct a new Bool Info Widget object
* @param[i] obj
* @param[i] oper
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-08
*/
BoolInfoWidget(Interface::FITKAbsGeoCommand* obj, EventOper::ParaWidgetInterfaceOperator* oper);
/**
* @brief Destroy the Bool Info Widget object
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-08
*/
~BoolInfoWidget();
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-08
*/
void init();
/**
* @brief
* @param[i] rowIndex
* @param[i] facesId id
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-08
*/
void setFaceGroupValue(int rowIndex, QList<int> facesId);
protected:
/**
* @brief
* @param[i] event My Param doc
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-08
*/
void closeEvent(QCloseEvent *event) override;
private:
/**
* @brief
* @return true
* @return false
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-08
*/
bool checkValue();
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-08
*/
void setDataToWidget();
private:
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-08
*/
bool _isCreate = false;
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-08
*/
/*Interface::FITKAbsGeoCommand* _obj = nullptr;*/
/**
* @brief ui
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-08
*/
Ui::BoolInfoWidget* _ui = nullptr;
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-08
*/
CompFaceGroupWidget* _faceGroupWidget = nullptr;
};
}
#endif