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.
AppFlowPost/CFDPostAPP/MainWindowGenerator.h

42 lines
1.3 KiB
C++

/**********************************************************************
* @file MainWindowGenerator.h
* @brief 主窗口生成器
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-04
*********************************************************************/
#ifndef __MAINWINDOWGENERATOR__
#define __MAINWINDOWGENERATOR__
#include "FITK_Kernel/FITKAppFramework/FITKAbstractMainWinGenerator.h"
/**
* @brief 主窗口生成器类
* @note 该类继承自`AppFrame::FITKAbstractMainwindowGenerator`,负责生成应用程序的主窗口。
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-04
*/
class MainWindowGenerator : public AppFrame::FITKAbstractMainwindowGenerator
{
public:
/**
* @brief 构造函数
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-04
*/
MainWindowGenerator();
/**
* @brief 析构函数(默认实现)
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-04
*/
~MainWindowGenerator() = default;
/**
* @brief 必须重写的方法,用于生成主窗口实例
* @return 生成的QWidget*类型的主窗口指针
* @author BaGuijun (baguijun@163.com)
* @date 2024-09-04
*/
QWidget *genMainWindow() override;
};
#endif // !__MAINWINDOWGENERATOR__