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.

119 lines
3.5 KiB
C

/**********************************************************************
* @file ClipSliceWidgetBox.h
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-10-08
*********************************************************************/
#ifndef _ClipSliceWidgetBox_H
#define _ClipSliceWidgetBox_H
#include "ClipSliceWidgetBase.h"
namespace Ui{
class ClipSliceWidgetBox;
}
namespace Interface {
class FITKAbstractCFDPostData;
class PostGraphWidgetBox;
}
namespace GUI
{
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-10-08
*/
class ClipSliceWidgetBox :public ClipSliceWidgetBase
{
Q_OBJECT;
public:
/**
* @brief
* @param[i] parent
* @author BaGuijun (baguijun@163.com)
* @date 2024-10-08
*/
ClipSliceWidgetBox(ClipSlice widgetType, int currentDataID, int parentDataID, QWidget* parent = nullptr);
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-10-08
*/
virtual ~ClipSliceWidgetBox();
/**
* @brief
* @param[i] glyphData
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-26
*/
virtual void getDataFromWidget(Interface::FITKAbstractCFDPostData* postData) override;
/**
* @brief
* @param[i] glyphData
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-26
*/
virtual void setDataToWidget(Interface::FITKAbstractCFDPostData* postParentData, Interface::FITKAbstractCFDPostData* postData) override;
protected:
/**
* @brief
* @param[i] event
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-19
*/
void showEvent(QShowEvent* event);
/**
* @brief
* @param[i] event
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-19
*/
void closeEvent(QCloseEvent* event);
/**
* @brief
* @param[i] event
* @author BaGuijun (baguijun@163.com)
* @date 2024-10-08
*/
void hideEvent(QHideEvent *event);
private slots:
;
/**
* @brief VTK
* @param[i] bounds [6]
* @author BaGuijun (baguijun@163.com)
* @date 2024-10-12
*/
void slotVTKWidgetValueChange(double* bounds);
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-26
*/
void slotDataChange();
private:
/**
* @brief ui
* @author BaGuijun (baguijun@163.com)
* @date 2024-10-08
*/
Ui::ClipSliceWidgetBox* _ui = nullptr;
/**
* @brief ID
* @author BaGuijun (baguijun@163.com)
* @date 2024-10-08
*/
int _parentDataID = -1;
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-10-09
*/
Interface::PostGraphWidgetBox* _boxWidget = nullptr;
};
}
#endif