[CLOSED] Class Diagrams?
-
This might help : http://stackoverflow.com/questions/9446797/uml-tool-for-qt-applications
I use Doxygen though.
-
It's not as easy as you may think. As an example, there are 32 different TextField.qml files in the Qt 5.2.0 that I downloaded for Windows 8, ranging in size from 3KB to 21KB. I have not looked at all 32 but they appear to inherit from Control, FocusScope or Item. There are 3 in the 5.2.0/Src directory and 2 in the Tools/QtCreator directory. The QML type documentation says TextField inherits from FocusScope and there are 6 such TextField.qml files, all in various examples subdirectories. So, which TextField.qml file would I use?
Thanks.
Steve
-
Hi,
you should create a doxygen configuration file, and the first think that you should to do, is to set the configuration to recursive. After the running the doxygen, it will detect and parse the inheritance, create UML type information, etc... If you gernerate HTML output, then you should find a html/index.html file. Open it, and you can whatch the internal structure of the Qt source. Please consider the following link for the doxygen user guide:
http://www.stack.nl/~dimitri/doxygen/manual/starting.htmlI don't know anythink about the QML support of doxygen.
Regards,
Norbert -
Reference "post":http://qt-project.org/forums/viewthread/36786/ for additional info.
Steve
-
This class diagram might be useful:
http://qt-project.org/forums/viewthread/36786/
though it's not UML.