libyui
 
Loading...
Searching...
No Matches
YDialogSpyPrivate Class Reference
Collaboration diagram for YDialogSpyPrivate:

Public Member Functions

 ~YDialogSpyPrivate ()
 
YWidgetselectedWidget ()
 
void selectedWidgetChanged ()
 
void refreshProperties ()
 
bool toggleProperties ()
 
void highlightWidget (bool enable=true)
 
void deleteWidget ()
 
void addWidget (const string &type)
 
void editProperty ()
 
void moveSelectedUp ()
 
void moveSelectedDown ()
 

Public Attributes

YDialogtargetDialog
 
YDialogspyDialog
 
YTreewidgetTree
 
YPushButtonpropButton
 
YMenuButtonaddButton
 
YPushButtondeleteButton
 
YPushButtonupButton
 
YPushButtondownButton
 
YReplacePointpropReplacePoint
 
YTablepropTable
 
YMenuItemcloseItem
 

Constructor & Destructor Documentation

◆ ~YDialogSpyPrivate()

YDialogSpyPrivate::~YDialogSpyPrivate ( )

Destructor - switch off widget highlighting at the end

Member Function Documentation

◆ addWidget()

void YDialogSpyPrivate::addWidget ( const string & type)

Generic handler for adding widgets

Parameters
typeType of the widget to add

◆ deleteWidget()

void YDialogSpyPrivate::deleteWidget ( )

Delete the currently selected widget

◆ editProperty()

void YDialogSpyPrivate::editProperty ( )

Run the property editor for the current widget

◆ highlightWidget()

void YDialogSpyPrivate::highlightWidget ( bool enable = true)

Highlight the currently selected widget in the spy dialog

◆ refreshProperties()

void YDialogSpyPrivate::refreshProperties ( )

Refresh the displayed properties

◆ selectedWidget()

YWidget * YDialogSpyPrivate::selectedWidget ( )

The currently selected wiget

Returns
The currently selected widget (or nullptr if nothing is selected)

◆ selectedWidgetChanged()

void YDialogSpyPrivate::selectedWidgetChanged ( )

The selected item has been changed, refresh the UI

◆ toggleProperties()

bool YDialogSpyPrivate::toggleProperties ( )

Hide or show the properties dialog

Returns
true if the dialog is now displayed

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