libyui  3.3.3
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Pages
YDialogSpyPrivate Class Reference
Collaboration diagram for YDialogSpyPrivate:

Public Member Functions

 ~YDialogSpyPrivate ()
 Destructor - switch off widget highlighting at the end.
 
YWidget * selectedWidget ()
 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

YDialog * targetDialog
 
YDialog * spyDialog
 
YTree * widgetTree
 
YPushButton * propButton
 
YMenuButton * addButton
 
YPushButton * deleteButton
 
YPushButton * upButton
 
YPushButton * downButton
 
YReplacePoint * propReplacePoint
 
YTable * propTable
 
YMenuItem * exportMenu
 

Detailed Description

Definition at line 128 of file YDialogSpy.cc.

Member Function Documentation

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

Generic handler for adding widgets.

Parameters
typeType of the widget to add

Definition at line 688 of file YDialogSpy.cc.

Here is the call graph for this function:

YWidget * YDialogSpyPrivate::selectedWidget ( )

The currently selected wiget.

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

Definition at line 553 of file YDialogSpy.cc.

Here is the call graph for this function:

bool YDialogSpyPrivate::toggleProperties ( )

Hide or show the properties dialog.

Returns
true if the dialog is now displayed

Definition at line 394 of file YDialogSpy.cc.

Here is the call graph for this function:


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