文档代码

Edit 模式下编写文档注释时,可以启用 Doxygen 代码块,并自动添加简要说明和前导星号。此外,您还可以选择要使用的 Doxygen 命令前缀。

要为特定项目设置文档注释首选项,请选择Projects >Project Settings >Documentation Comments ,然后清除Use global settings 复选框。

项目设置中的文档注释

要设置全局首选项,请选择首选项>Text Editor >Documentation Comments

另请参阅 配置项目

Copyright © The Qt Company Ltd. and other contributors. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.