View Full Version : Visualize Signals & Slots

18th October 2006, 20:33

Is there anything out there that will help me visualize the flow of signals and slots in a project, kind of like how doxygen will automatically generate call graphs.


18th October 2006, 22:27
Qt Designer has a signals and slots mode that displays connections between GUI widgets. This of course only shows the connections at the UI design-time (as opposed to at run-time)

19th October 2006, 02:40
This won't give you neat flow chart graphics, but check out signalspy (http://www.digitalfanatics.org/qt4/articles/signalspy.html).

One of the neat things with Qt's introspection is that connections can be made and destroyed dynamically based on any programmatic criteria at run time and with classes that aren't known at compile time. This makes any visualization more complicated. You must as questions, like at what time and state of application to know the specific connections.