I'm currently working with a lot of custom widgets which provide different signals and slots for communicating with each other.
E.g. there is one widget which establishes a network connection and then emits a signal to the others which then change their state from disabled to enabled.
I now want to visualize how these widgets work together and wanted to ask what would be the best way? Is there an UML diagram type which would fit for this purpose?
Perhaps there are already tools which could automatically search for connections and display them?
Would be nice if it would be possible to display not used slots/signals too.
EDIT: Would be nice if there would be an approach which could not just display QWidgets but also classes of QObject which have also Signal/Slots
Maybe this can help http://hackatool.blogspot.co.at/2013/05/simple-tool-to-visualize-connections.html It is a very simple program which uses DOT to visualize the connections but it is quite limited though.
I know the question is dated but maybe it will help someone.
KDAB created a tool to visualize signals and slots and to do a lot of other debugging on Qt applications. You can get it here: https://www.kdab.com/development-resources/qt-tools/gammaray/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With