Uranium
Application Framework
|
This class provides the value and change notifications for the properties of a single setting. More...
Inherits QObject.
Public Member Functions | |
__init__ (self, parent=None, *args, **kwargs) | |
setContainerId (self, container_id) | |
Set the containerId property. | |
containerId (self) | |
The ID of the container we should query for property values. | |
setWatchedProperties (self, properties) | |
Set the watchedProperties property. | |
watchedProperties (self) | |
A list of property names that should be watched for changes. | |
setKey (self, key) | |
Set the key property. | |
key (self) | |
The key of the setting that we should provide property values for. | |
properties (self) | |
setPropertyValue (self, property_name, property_value) | |
Set the value of a property. | |
Protected Member Functions | |
_onPropertyChanged (self, key, property_name) | |
_update (self, container=None) | |
str | _getPropertyValue (self, str property_name) |
Protected Attributes | |
_container_id | |
_container | |
_key | |
_watched_properties | |
_property_values | |
_onPropertyChanged | |
This class provides the value and change notifications for the properties of a single setting.
This class provides the property values through QObject dynamic properties so that they are available from QML.
UM.Settings.Models.ContainerPropertyProvider.ContainerPropertyProvider.setPropertyValue | ( | self, | |
property_name, | |||
property_value | |||
) |
Set the value of a property.
property_name | The name of the property to set. |
property_value | The value of the property to set. |