Uranium
Application Framework
UM.Settings.Models.ContainerPropertyProvider.ContainerPropertyProvider Class Reference

This class provides the value and change notifications for the properties of a single setting. More...

Inherits QObject.

Public Member Functions

def __init__ (self, parent=None, *args, **kwargs)
 
def setContainerId (self, container_id)
 Set the containerId property.
 
def containerId (self)
 The ID of the container we should query for property values.
 
def setWatchedProperties (self, properties)
 Set the watchedProperties property.
 
def watchedProperties (self)
 A list of property names that should be watched for changes.
 
def setKey (self, key)
 Set the key property.
 
def key (self)
 The key of the setting that we should provide property values for.
 
def properties (self)
 
def setPropertyValue (self, property_name, property_value)
 Set the value of a property. More...
 

Static Public Attributes

 containerIdChanged = pyqtSignal()
 Emitted when the containerId property changes.
 
 watchedPropertiesChanged = pyqtSignal()
 Emitted when the watchedProperties property changes.
 
 keyChanged = pyqtSignal()
 Emitted when the key property changes.
 
 propertiesChanged = pyqtSignal()
 

Detailed Description

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.

Member Function Documentation

◆ setPropertyValue()

def UM.Settings.Models.ContainerPropertyProvider.ContainerPropertyProvider.setPropertyValue (   self,
  property_name,
  property_value 
)

Set the value of a property.

Parameters
property_nameThe name of the property to set.
property_valueThe value of the property to set.

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