How to Use the Wat Inspector - russ-hensel/qt5_by_example GitHub Wiki
Table of Contents
The Wat Inspector is an inspection app ( or introspection app ) derived from ..... which gives that app a GUI. We have a button on most tabs to facilitate inspection of its objects.
an image would be nice.
At the top of the dialog are 2 lists, one for global objects one for local. Click on a variable to inspect it. The results appear in the message area below.
Because the code for an exercise is largely tucked away under self we often localize some of the code with things like
self_button = self.button
so you can see the variable as a local variable
- Buttons at top
- Where --
- Cust Inspect --
- Get Super --
- Obj Help --
- Obj Source --
- Eval -- use eval to evaluate text in line edit to the right
- Buttons at bottom -- operate on text in message box above the buttons
- Up
- Down
- Filter beginning of line -- remove all content that does not have the text, left of this button, at the beginning of the line
- Filter somewhere in line -- remove all content that does not have the text, left of this button, somewhere in the line
- Append to File -- Append message to a scratch file
- Edit File -- Edit the scratch file above ( parameters need to be set for editor for this to work )
- Help -- open help info, could be text or this page or something else ( may need parameter as above )
- Ok or Done -- what it says
( note: keeping screenshot up to date is a task that still eludes us, hopefully this is close enough )
)