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.
AppFlowPost/GUIDialog/ClipSliceWidgetBase.h

75 lines
2.1 KiB
C

/**********************************************************************
* @file ClipSliceWidgetBase.h
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-10-08
*********************************************************************/
#ifndef _ClipSliceWidgetBase_H
#define _ClipSliceWidgetBase_H
#include "GUIWidget/GUIWidgetBase.h"
namespace Interface {
class FITKAbstractCFDPostData;
}
namespace GUI
{
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-10-11
*/
enum class ClipSlice{
None,
Clip,
Slice,
};
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-10-08
*/
class ClipSliceWidgetBase :public GUIWidgetBase
{
Q_OBJECT;
public:
/**
* @brief
* @param[i] parent
* @author BaGuijun (baguijun@163.com)
* @date 2024-10-08
*/
ClipSliceWidgetBase(ClipSlice widgetType,QWidget* parent = nullptr);
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-10-08
*/
virtual ~ClipSliceWidgetBase();
/**
* @brief
* @param[i] glyphData
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-26
*/
virtual void getDataFromWidget(Interface::FITKAbstractCFDPostData* postData) = 0;
/**
* @brief
* @param[i] glyphData
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-26
*/
virtual void setDataToWidget(Interface::FITKAbstractCFDPostData* postParentData, Interface::FITKAbstractCFDPostData* postData) = 0;
protected:
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-10-11
*/
ClipSlice _widgetType = ClipSlice::None;
};
}
#endif