libyui
Public Member Functions | Static Public Member Functions | Protected Member Functions

YDialogSpy Class Reference

#include <YDialogSpy.h>

List of all members.

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


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.

YDialogSpy::~YDialogSpy ( ) [protected, virtual]

Destructor.


Member Function Documentation

void YDialogSpy::exec ( ) [protected]

Execute the event loop. This will only return when the user closes the YDialogSpy 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.

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.

void YDialogSpy::showProperties ( )

Show the "Properties" sub-window.

void YDialogSpy::showProperties ( YWidget widget) [protected]

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


The documentation for this class was generated from the following files:
 All Classes Functions Variables Enumerations Friends