QtSignalViewer is a Visual Studio Code extension for viewing Qt signal and slot relationships as an interactive graph.
Features
- Press
Ctrl+F2on a Qt signal, slot, function,emit, orconnectline to open a graph view. - Shows signal flow across
emit,connect, and slot functions. - Supports common Qt connection styles:
connect(sender, SIGNAL(signalName(...)), receiver, SLOT(slotName(...)))QObject::connect(sender, &Sender::signalName, receiver, &Receiver::slotName)connect(sender, &Sender::signalName, receiver, &Receiver::slotName)
- Click a graph node to jump to the corresponding file and line.
- Drag and zoom the graph view.
- Highlights the selected node and colors incoming/outgoing edges.
Usage
- Open a Qt/C++ source file.
- Place the cursor on a signal, slot, function name,
emit, orconnectline. - Press
Ctrl+F2. - The Qt signal graph opens beside the editor.
Notes
The extension uses lightweight source scanning instead of a full C++ compiler frontend. It works best with typical Qt signal/slot code patterns and may not resolve every macro-heavy or highly dynamic case.
Release Notes
0.0.1
Initial release with Qt signal/slot graph visualization.