Class hierarchy diagram
-
Can someone point me to a link or documentation of Class hierarchy diagram?
It is a whole lot easier and faster to understand Qt classes if there is a diagram. -
I know of this older one for "Qt 4.3":http://doc.qt.nokia.com/extras/qt43-class-chart.pdf but I haven't seen anything for any more recent versions.
-
If I remember correctly "doxygen":http://www.doxygen.org in conjunction with "graphviz":http://www.graphviz.org/ was able - or is able - to create class diagrams right from the sources. If you use doxywizard there should be an option for generating inheritance and collaboration diagrams.
-
I think the reason why there is no diagram above 4.3 is because it would be huge (even the 4.3 diagram seems huge to me).
-
I don't doubt it would be huge. Would still be nice to have one, though. I'm sure we'd have a poster-sized print hanging up here in our office if there was one available. If for no other reason than showing it off. :)
-
I'd consider using it as wallpaper for my room :)
-
A diagram with all 1000 or so classes on it would be... unreadable, I think. I think smaller, per module or group of classes that belong together maps would be much more useful.
-
As far as I'm concerned, class interaction is way more educating than class hierarchy.
-
@Lukas: +1
We use doxygen with graphviz in our project made in Qt, you could very well use it on Qt itself. It should give you some diagrams and actually probably a complete API reference too.. considering the level of documentation Qt code has.