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

前端之家收集整理的这篇文章主要介绍了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.

原文链接:https://www.f2er.com/c/239686.html

猜你在找的C&C++相关文章