#include <YDialogSpy.h>
Public Member Functions | |
void | showProperties () |
void | hideProperties () |
bool | propertiesShown () const |
Static Public Member Functions | |
static void | showDialogSpy (YDialog *dialog=0) |
Protected Member Functions | |
YDialogSpy (YDialog *dialog=0) | |
virtual | ~YDialogSpy () |
void | exec () |
void | showProperties (YWidget *widget) |
An interactive dialog debugger: Show the structure and content of a dialog and its widgets.
This can be invoked by special key combinations: Ctrl-Alt-Shift-Y in the Qt UI
|
protected |
Constructor: Create a YDialogSpy for the specified dialog. 0 means "use the topmost dialog".
In most cases it is more useful to use the static showDialogSpy() method rather than create this dialog directly.
Constructor - create the main spy dialog
|
protectedvirtual |
Destructor.
Destructor
|
protected |
Execute the event loop. This will only return when the user closes the YDialogSpy dialog.
The main loop of the spy dialog
void YDialogSpy::hideProperties | ( | ) |
Hide the "Properties" sub-window.
bool YDialogSpy::propertiesShown | ( | ) | const |
Return 'true' if the "Properties" sub-window is currently shown, 'false' if not.
|
static |
Show a YDialogSpy for the specified dialog. 0 means "use the topmost dialog". This will return only when the user closes the YDialogSpy dialog.
Run the spy dialog for selected UI dialog
dialog | UI dialog to examine |
void YDialogSpy::showProperties | ( | ) |
Show the "Properties" sub-window.
|
protected |
Show the properties of the specified widget if the "Properties" sub-window is currently shown.