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.
AppFlow/GUIDialog/GUICalculateDialog/PostWidget.h

91 lines
2.3 KiB
C

#ifndef _PostWidget_H
#define _PostWidget_H
#include "GUICalculateDialogAPI.h"
#include "GUIWidget/GUIWidgetBase.h"
#include <QProcess>
namespace Ui {
class PostWidget;
}
namespace EventOper {
class ParaWidgetInterfaceOperator;
}
namespace GUI
{
enum class PostExportType {
Post_VTK,
};
class GUICalculateDialogAPI PostWidget :public GUIWidgetBase
{
Q_OBJECT;
public:
PostWidget(EventOper::ParaWidgetInterfaceOperator* oper, QWidget* parent = nullptr);
~PostWidget();
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-31
*/
void init();
private slots:
;
/**
* @brief ParaView
* @return void
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-30
*/
void on_pushButton_ParaView_clicked();
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-31
*/
void on_pushButton_Post_clicked();
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-31
*/
void on_pushButton_Export_clicked();
private:
/**
* @brief paraViewopenFOAM
* @return QString
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-30
*/
QString creatStartParaViewFile();
private:
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-31
*/
EventOper::ParaWidgetInterfaceOperator* _oper = nullptr;
/**
* @brief UI
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-31
*/
Ui::PostWidget* _ui = nullptr;
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-31
*/
QString _workDir = "";
/**
* @brief
* @author BaGuijun (baguijun@163.com)
* @date 2024-08-31
*/
QString _caseDir = "";
};
}
#endif