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.

81 lines
2.2 KiB
C

/**********************************************************************
* @file ExtremumDialog.h
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-10-12
*********************************************************************/
#ifndef _ExtremumDialog_H
#define _ExtremumDialog_H
#include "GUIDialogAPI.h"
#include "GUIDialogBase.h"
#include "FITK_Interface/FITKInterfaceCFDPost/FITKCFDPostEnum.h"
namespace Ui {
class ExtremumDialog;
}
namespace GUI
{
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-10-12
*/
class GUIDialogAPI ExtremumDialog : public GUIDialogBase
{
Q_OBJECT;
public:
/**
* @brief
* @param[i] dataID id
* @param[i] oper
* @author BaGuijun (baguijun@163.com)
* @date 2024-10-12
*/
ExtremumDialog(int dataID, EventOper::ParaWidgetInterfaceOperator* oper);
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-10-12
*/
~ExtremumDialog();
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-10-12
*/
void init();
/**
* @brief
* @param[i] fieldName
* @param[i] fieldType
* @author BaGuijun (baguijun@163.com)
* @date 2024-10-14
*/
void updateWidget(QString fieldName, Interface::FITKPostFieldType fieldType);
private slots:
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-10-14
*/
void on_comboBox_Field_currentIndexChanged(int index);
private:
/**
* @brief ui
* @author BaGuijun (baguijun@163.com)
* @date 2024-10-12
*/
Ui::ExtremumDialog* _ui = nullptr;
/**
* @brief id
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-24
*/
int _currentDataID = -1;
};
}
#endif