libyui
 
Loading...
Searching...
No Matches
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

Constructor & Destructor Documentation

◆ YDialogSpy()

YDialogSpy::YDialogSpy ( YDialog * targetDialog = 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.

Constructor - create the main spy dialog

◆ ~YDialogSpy()

YDialogSpy::~YDialogSpy ( )
protectedvirtual

Destructor.

Destructor

Member Function Documentation

◆ exec()

void YDialogSpy::exec ( )
protected

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

The main loop of the spy dialog

◆ hideProperties()

void YDialogSpy::hideProperties ( )

Hide the "Properties" sub-window.

◆ propertiesShown()

bool YDialogSpy::propertiesShown ( ) const

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

◆ showDialogSpy()

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.

Run the spy dialog for selected UI dialog

Parameters
dialogUI dialog to examine

◆ showProperties() [1/2]

void YDialogSpy::showProperties ( )

Show the "Properties" sub-window.

◆ showProperties() [2/2]

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: