A window that shows the focused screen's mounted nodes with their evaluated properties, its queries and mutations with a refetch button each, its command log and the reactive counters.
More...
|
| | InspectorWindow (InspectFocused focused) |
| | A hidden inspector window.
|
|
| InspectorWindow (InspectorWindow const &)=delete |
|
InspectorWindow & | operator= (InspectorWindow const &)=delete |
|
| InspectorWindow (InspectorWindow &&)=delete |
|
InspectorWindow & | operator= (InspectorWindow &&)=delete |
| void | attachTo (QQuickWindow &window) |
| | Makes Ctrl+Shift+I in window show or hide this inspector, whichever item has focus.
|
|
void | toggle () |
| | Shows the window if it is hidden, hides it otherwise.
|
|
void | hide () |
| | Hides the window and stops refreshing it.
|
| bool | isVisible () const |
| | Whether the window is shown.
|
|
void | refresh () |
| | Reads the focused screen again and redraws.
|
| std::string | text () const |
| | What the window shows, as plain text, section by section: what a test reads.
|
| void | refetch (std::string const &query) |
| | What the refetch button of a query does: runs {"refetch": "<query>"} on the focused screen.
|
A window that shows the focused screen's mounted nodes with their evaluated properties, its queries and mutations with a refetch button each, its command log and the reactive counters.
It reads the screen through ui::Inspector each time it refreshes, twice a second while it is shown, and keeps nothing of it in between, so a screen that closes or is remounted leaves nothing behind. Its refetch button runs the document's refetch command, as a user's event would. Use it on the GUI thread.
Definition at line 30 of file inspector.hpp.