summaryrefslogtreecommitdiffstats
path: root/src/generators/objectinstances.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add ObjectInstances.findQuickWindow and passive-instrumenter exampleHEADmasterShawn Rutledge2023-07-051-0/+18
| | | | | | | | | | | | | | This is a means of instrumenting any pure-QML application to generate an object diagram showing the items and related objects belonging to the first top-level window that can be found. Using a Timer for that is kindof crude; perhaps we should rather have a separate WindowFinder object that can emit a signal when a new top-level window is discovered, or something like that. Or use a Shortcut to trigger it manually. But it works well enough for now. Change-Id: Ib2d82dfd6fbd4da4b46fbaadb08de2c5e649ffe6 Reviewed-by: Shawn Rutledge <[email protected]>
* Add ObjectInstances: generate an Object Diagram with GraphvizShawn Rutledge2023-07-051-0/+286
This takes care of many common 2D and 3D use cases, and probably other scenarios with QObjects too: - root can be any QObject - different shapes for Items, Handlers, 3D objects, QAIM and DeliveryAgents - shows objectName, text/label/title - shape (outline) color can correspond to item (fill) color if desired - several new working examples Change-Id: Ica9a312ee6ad7e49c872ea52e6e8ab03fc41bc63 Reviewed-by: Shawn Rutledge <[email protected]>