Workspace 6.21.5
Public Slots | Public Member Functions | List of all members
WidgetPropertyMonitor Class Reference

Class for monitoring changes to a widget property. More...

#include <Workspace/Widgets/widgetpropertymonitor.h>

Inherits QObject.

Public Slots

void handlePropertyChange ()
 

Public Member Functions

 WidgetPropertyMonitor (QWidgetConnector &connector, const QString &propertyName)
 
 ~WidgetPropertyMonitor () override
 

Detailed Description

Note
The monitor is automatically parented to the QWidgetConnector thus ensuring the monitors are deleted along with the connector.

Constructor & Destructor Documentation

◆ WidgetPropertyMonitor()

WidgetPropertyMonitor ( QWidgetConnector connector,
const QString &  propertyName 
)

◆ ~WidgetPropertyMonitor()

~WidgetPropertyMonitor ( )
overridedefault

Member Function Documentation

◆ handlePropertyChange

void handlePropertyChange ( )
slot

Connect your widget's property changed signal to this slot to save the property value to to IOBase.