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/FlowApp/WorkBenchHandler.h

72 lines
1.8 KiB
C

/**
*
* @file WorkBenchHandler.h
* @brief
* @author libaojun (libaojunqd@foxmail.com)
* @date 2024-08-26
*
*/
#ifndef _FLOWAPP_WORKBENCH_HANDLER_H___
#define _FLOWAPP_WORKBENCH_HANDLER_H___
#include <QString>
#include "FITK_Kernel/FITKAppFramework/FITKWorkBenchHandler.h"
/**
* @brief
* @author libaojun (libaojunqd@foxmail.com)
* @date 2024-08-26
*/
class FlowAppWorkBenchHandler : public AppFrame::FITKWorkBenchHandler
{
public:
/**
* @brief Construct a new Flow App Work Bench Handler object
* @author libaojun (libaojunqd@foxmail.com)
* @date 2024-08-26
*/
explicit FlowAppWorkBenchHandler() = default;
/**
* @brief Destroy the Flow App Work Bench Handler object
* @author libaojun (libaojunqd@foxmail.com)
* @date 2024-08-26
*/
virtual ~FlowAppWorkBenchHandler() = default;
/**
* @brief
* @author libaojun (libaojunqd@foxmail.com)
* @date 2024-08-26
*/
virtual void execHandler() override;
/**
* @brief
* @author libaojun (libaojunqd@foxmail.com)
* @date 2024-08-27
*/
virtual void execOutput() override;
private:
/**
* @brief
* @param[i] fileName
* @author libaojun (libaojunqd@foxmail.com)
* @date 2024-08-26
*/
void importGeoFile(const QString & fileName);
/**
* @brief
* @param[i] fileName
* @author libaojun (libaojunqd@foxmail.com)
* @date 2024-08-26
*/
void openProjectFile(const QString & fileName);
/**
* @brief
* @author libaojun (libaojunqd@foxmail.com)
* @date 2024-08-26
*/
void saveProjectFile();
};
#endif