This class provides the value and change notifications for the properties of a single setting.
More...
Inherits QObject.
|
|
def | __init__ (self, parent=None, args, kwargs) |
| |
| def | setContainerId (self, container_id) |
| | Set the containerId property. More...
|
| |
|
def | containerId (self) |
| |
| def | setWatchedProperties (self, properties) |
| | Set the watchedProperties property. More...
|
| |
|
def | watchedProperties (self) |
| |
| def | setKey (self, key) |
| | Set the key property. More...
|
| |
|
def | key (self) |
| |
|
def | properties (self) |
| |
| def | setPropertyValue (self, property_name, property_value) |
| | Set the value of a property. More...
|
| |
|
| | containerIdChanged = pyqtSignal() |
| | Emitted when the containerId property changes. More...
|
| |
| | str |
| | The ID of the container we should query for property values. More...
|
| |
| | fset |
| | A list of property names that should be watched for changes. More...
|
| |
|
| setContainerId |
| |
|
| notify |
| |
| | watchedPropertiesChanged = pyqtSignal() |
| | Emitted when the watchedProperties property changes. More...
|
| |
|
| setWatchedProperties |
| |
| | keyChanged = pyqtSignal() |
| | Emitted when the key property changes. More...
|
| |
|
| setKey |
| |
|
| propertiesChanged = pyqtSignal() |
| |
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.
◆ setContainerId()
| def UM.Settings.Models.ContainerPropertyProvider.ContainerPropertyProvider.setContainerId |
( |
|
self, |
|
|
|
container_id |
|
) |
| |
Set the containerId property.
◆ setKey()
| def UM.Settings.Models.ContainerPropertyProvider.ContainerPropertyProvider.setKey |
( |
|
self, |
|
|
|
key |
|
) |
| |
◆ setPropertyValue()
| def UM.Settings.Models.ContainerPropertyProvider.ContainerPropertyProvider.setPropertyValue |
( |
|
self, |
|
|
|
property_name, |
|
|
|
property_value |
|
) |
| |
Set the value of a property.
- Parameters
-
| property_name | The name of the property to set. |
| property_value | The value of the property to set. |
◆ setWatchedProperties()
| def UM.Settings.Models.ContainerPropertyProvider.ContainerPropertyProvider.setWatchedProperties |
( |
|
self, |
|
|
|
properties |
|
) |
| |
Set the watchedProperties property.
◆ containerIdChanged
| UM.Settings.Models.ContainerPropertyProvider.ContainerPropertyProvider.containerIdChanged = pyqtSignal() |
|
static |
Emitted when the containerId property changes.
◆ fset
| UM.Settings.Models.ContainerPropertyProvider.ContainerPropertyProvider.fset |
|
static |
A list of property names that should be watched for changes.
◆ keyChanged
| UM.Settings.Models.ContainerPropertyProvider.ContainerPropertyProvider.keyChanged = pyqtSignal() |
|
static |
Emitted when the key property changes.
◆ str
| UM.Settings.Models.ContainerPropertyProvider.ContainerPropertyProvider.str |
|
static |
The ID of the container we should query for property values.
The key of the setting that we should provide property values for.
◆ watchedPropertiesChanged
| UM.Settings.Models.ContainerPropertyProvider.ContainerPropertyProvider.watchedPropertiesChanged = pyqtSignal() |
|
static |
Emitted when the watchedProperties property changes.
The documentation for this class was generated from the following file:
- UM/Settings/Models/ContainerPropertyProvider.py