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.

157 lines
4.6 KiB
C

/**********************************************************************
* @file IsosurfDialog.h
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-18
*********************************************************************/
#ifndef _IsosurfDialog_H
#define _IsosurfDialog_H
#include "GUIDialogAPI.h"
#include "GUIDialogBase.h"
#include "FITK_Interface/FITKInterfaceCFDPost/FITKAbstractCFDPostData.h"
namespace Ui {
class IsosurfDialog;
}
namespace Interface {
class FITKCFDPostIsosurface;
}
namespace GUI
{
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-18
*/
class GUIDialogAPI IsosurfDialog : public GUIDialogBase
{
Q_OBJECT;
public:
/**
* @brief
* @param[i] postDataID id
* @param[i] oper
* @param[i] isCreate
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-26
*/
IsosurfDialog(int dataID, EventOper::ParaWidgetInterfaceOperator* oper, bool isCreate);
/**
* @brief
* @return void
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-18
*/
~IsosurfDialog();
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-18
*/
void init();
private slots:
;
/**
* @brief OK
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-18
*/
void on_pushButton_OK_clicked();
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-18
*/
void on_pushButton_Cancel_clicked();
void on_comboBox_Contour_currentIndexChanged(int index);
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-18
*/
void on_pushButton_Add_clicked();
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-18
*/
void on_pushButton_Remove_clicked();
/**
* @brief tableWidget
* @param[i] row
* @param[i] column
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-18
*/
void on_tableWidget_cellClicked(int row, int column);
private:
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-26
*/
void createInit();
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-26
*/
void editInit();
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-26
*/
bool createOK();
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-26
*/
bool editOK();
/**
* @brief
* @param[i] glyphData
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-26
*/
void getDataFromWidget(Interface::FITKCFDPostIsosurface* isoSurData);
/**
* @brief
* @param[i] glyphData
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-26
*/
void setDataToWidget(Interface::FITKCFDPostIsosurface* isoSurData);
private:
/**
* @brief ui
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-18
*/
Ui::IsosurfDialog* _ui = nullptr;
/**
* @brief id
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-24
*/
int _currentDataID = -1;
/**
* @brief ID
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-26
*/
int _parentDataID = -1;
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-26
*/
bool _isCreate = false;
};
}
#endif