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

42 lines
1.2 KiB
C++

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