libyui  3.4.2
YDialogSpyPrivate Class Reference

Public Member Functions

 ~YDialogSpyPrivate ()
 Destructor - switch off widget highlighting at the end.
 
YWidgetselectedWidget ()
 The currently selected wiget. More...
 
void selectedWidgetChanged ()
 The selected item has been changed, refresh the UI.
 
void refreshProperties ()
 Refresh the displayed properties.
 
bool toggleProperties ()
 Hide or show the properties dialog. More...
 
void highlightWidget (bool enable=true)
 Highlight the currently selected widget in the spy dialog.
 
void deleteWidget ()
 Delete the currently selected widget.
 
void addWidget (const std::string &type)
 Generic handler for adding widgets. More...
 
void editProperty ()
 Run the property editor for the current widget.
 
void moveSelectedUp ()
 
void moveSelectedDown ()
 

Public Attributes

YDialogtargetDialog
 
YDialogspyDialog
 
YTreewidgetTree
 
YPushButtonpropButton
 
YMenuButtonaddButton
 
YPushButtondeleteButton
 
YPushButtonupButton
 
YPushButtondownButton
 
YReplacePointpropReplacePoint
 
YTablepropTable
 
YMenuItemexportMenu
 

Detailed Description

Definition at line 129 of file YDialogSpy.cc.

Member Function Documentation

◆ addWidget()

void YDialogSpyPrivate::addWidget ( const std::string &  type)

Generic handler for adding widgets.

Parameters
typeType of the widget to add

Definition at line 692 of file YDialogSpy.cc.

◆ selectedWidget()

YWidget * YDialogSpyPrivate::selectedWidget ( )

The currently selected wiget.

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

Definition at line 557 of file YDialogSpy.cc.

◆ toggleProperties()

bool YDialogSpyPrivate::toggleProperties ( )

Hide or show the properties dialog.

Returns
true if the dialog is now displayed

Definition at line 395 of file YDialogSpy.cc.


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