#ifndef _ColorMapperEditDialog_H #define _ColorMapperEditDialog_H #include "GUIDialogAPI.h" #include "GUIDialogBase.h" #include "FITK_Interface/FITKInterfaceCFDPost/FITKAbstractCFDPostData.h" namespace Ui { class ColorMapperEditDialog; } namespace Interface { class FITKAbstractCFDPostData; } namespace GUI { class GUIDialogAPI ColorMapperEditDialog : public GUIDialogBase { Q_OBJECT; public: ColorMapperEditDialog(Interface::FITKAbstractCFDPostData* postData, EventOper::ParaWidgetInterfaceOperator* oper); ~ColorMapperEditDialog(); void init(); private: void setDataToWidget(); private slots: ; void on_pushButton_OK_clicked(); void on_pushButton_Cencel_clicked(); private: Interface::FITKAbstractCFDPostData* _postData = nullptr; Ui::ColorMapperEditDialog* _ui = nullptr; Interface::FITKPostFieldType _type = Interface::FITKPostFieldType::Post_None; QString _filedName = ""; int _componentIndex = -1; }; } #endif