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

我在查找为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.

相关文章

本程序的编译和运行环境如下(如果有运行方面的问题欢迎在评...
水了一学期的院选修,万万没想到期末考试还有比较硬核的编程...
补充一下,先前文章末尾给出的下载链接的完整代码含有部分C&...
思路如标题所说采用模N取余法,难点是这个除法过程如何实现。...
本篇博客有更新!!!更新后效果图如下: 文章末尾的完整代码...
刚开始学习模块化程序设计时,估计大家都被形参和实参搞迷糊...