libyui  3.0.10
 All Classes Functions Variables Enumerations Friends
YDialogSpy Class Reference

#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)
 

Detailed Description

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

Definition at line 43 of file YDialogSpy.h.

Constructor & Destructor Documentation

YDialogSpy::YDialogSpy ( YDialog dialog = 0)
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.

Definition at line 128 of file YDialogSpy.cc.

Here is the call graph for this function:

YDialogSpy::~YDialogSpy ( )
protectedvirtual

Destructor.

Definition at line 163 of file YDialogSpy.cc.

Here is the call graph for this function:

Member Function Documentation

void YDialogSpy::exec ( )
protected

Execute the event loop. This will only return when the user closes the YDialogSpy dialog.

Definition at line 289 of file YDialogSpy.cc.

Here is the call graph for this function:

void YDialogSpy::hideProperties ( )

Hide the "Properties" sub-window.

Definition at line 202 of file YDialogSpy.cc.

Here is the call graph for this function:

bool YDialogSpy::propertiesShown ( ) const

Return 'true' if the "Properties" sub-window is currently shown, 'false' if not.

Definition at line 170 of file YDialogSpy.cc.

void YDialogSpy::showDialogSpy ( YDialog dialog = 0)
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.

Definition at line 336 of file YDialogSpy.cc.

Here is the call graph for this function:

void YDialogSpy::showProperties ( )

Show the "Properties" sub-window.

Definition at line 176 of file YDialogSpy.cc.

Here is the call graph for this function:

void YDialogSpy::showProperties ( YWidget widget)
protected

Show the properties of the specified widget if the "Properties" sub-window is currently shown.

Definition at line 218 of file YDialogSpy.cc.

Here is the call graph for this function:


The documentation for this class was generated from the following files: