diff --git a/CustomQch/ifmetwindow.cpp b/CustomQch/ifmetwindow.cpp index 88ea3f3..029182b 100644 --- a/CustomQch/ifmetwindow.cpp +++ b/CustomQch/ifmetwindow.cpp @@ -1,6 +1,10 @@ #include "ifmetwindow.h" #include "ui_ifmetwindow.h" +/*! + * \brief IfmetWindow::IfmetWindow 我的构造函数 + * \param parent + */ IfmetWindow::IfmetWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::IfmetWindow) @@ -8,6 +12,9 @@ IfmetWindow::IfmetWindow(QWidget *parent) : ui->setupUi(this); } +/*! + * \brief IfmetWindow::~IfmetWindow 我的析构函数 + */ IfmetWindow::~IfmetWindow() { delete ui; diff --git a/CustomQch/main.cpp b/CustomQch/main.cpp index 92fce48..11ef655 100644 --- a/CustomQch/main.cpp +++ b/CustomQch/main.cpp @@ -1,6 +1,22 @@ #include "ifmetwindow.h" #include +/* + * Copyright (C) 2021 偕臧 All rights reserved. + * + * Author: 偕臧 + * github: https://github.com/xmuli + * blogs: https://ifmet.cn + * + * 一个自定义 Qt Assistants 的文档例子,写于 2021-03-08 + */ + +/*! + * \brief main 所有函数的入口 + * \param argc 参数个数 + * \param argv 参数地址(二维) + * \return 程序运行状态 + */ int main(int argc, char *argv[]) { QApplication a(argc, argv);