加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

c – 自动为QT应用程序创建类图的工具

发布时间:2020-12-16 03:46:34 所属栏目:百科 来源:网络整理
导读:我在查找为qtcreator应用程序创建类图的工具时遇到问题 我尝试了BOUML和Umbrello,但是它们都有一些类的问题. 我正在研究Ubuntu. 解决方法 doxygen可以构建很多图表(继承,协作,甚至是callflow),我想你应该尝试一下. 我过去曾经使用它,即使没有按要求对代码进
我在查找为qtcreator应用程序创建类图的工具时遇到问题
我尝试了BOUML和Umbrello,但是它们都有一些类的问题.

我正在研究Ubuntu.

解决方法

doxygen可以构建很多图表(继承,协作,甚至是callflow),我想你应该尝试一下.

我过去曾经使用它,即使没有按要求对代码进行评论,它也能够生成非常好的(尽管很复杂的)图表.

引用Features在线文档部分:

  • Uses the dot tool of the Graphviz tool kit to generate include dependency graphs,collaboration diagrams,call graphs,directory structure graphs,and graphical class hierarchy graphs.

  • Automatically detects public,protected and private sections,as well as the Qt specific signal and slots sections. Extraction of private class members is optional.

Although doxygen can now be used in any project written in a language that is supported by doxygen,initially it was specifically designed to be used for projects that make use of Qt Software’s Qt toolkit. I have tried to make doxygen `Qt-compatible’. That is: Doxygen can read the documentation contained in the Qt source code and create a class browser that looks quite similar to the one that is generated by Qt Software. Doxygen understands the C++ extensions used by Qt such as signals and slots and many of the markup commands used in the Qt sources.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读