|
Uranium
Application Framework
|
Public Member Functions | |
| def | __init__ |
| def | __hash__ (self) |
| def | __deepcopy__ |
| def | __eq__ |
| def | __ne__ |
| def | __getnewargs__ (self) |
| def | __getstate__ (self) |
| def | __setstate__ |
| def | getId (self) |
| def | setCachedValues |
| def | getLoadingPriority (cls) |
| def | getPath (self) |
| def | setPath |
| def | getName (self) |
| def | setName |
| def | getReadOnly (self) |
| def | getNumInstances (self) |
| def | getMetaData (self) |
| def | setMetaData |
| def | getMetaDataEntry |
| def | setMetaDataEntry |
| def | isDirty (self) |
| def | setDirty |
| def | getProperty |
| def | hasProperty |
| def | setProperty |
| def | clear (self) |
| def | getAllKeys (self) |
| def | duplicate |
| def | serialize |
| def | getConfigurationTypeFromSerialized |
| def | getVersionFromSerialized |
| def | deserialize |
| def | deserializeMetadata |
| def | findInstances |
| def | getInstance |
| def | addInstance |
| def | removeInstance |
| def | update (self) |
| def | getDefinition (self) |
| def | setDefinition |
| def | __lt__ |
| def | __str__ (self) |
| def | __repr__ (self) |
| def | sendPostponedEmits (self) |
Public Member Functions inherited from UM.Settings.Interfaces.ContainerInterface | |
| def | __init__ (self, args, kwargs) |
| def | getId (self) |
| def | getName (self) |
| def | getMetaData (self) |
| def | getMetaDataEntry |
| def | getProperty |
| def | hasProperty |
| def | getAllKeys (self) |
| def | serialize |
| def | setProperty |
| def | deserialize |
| def | deserializeMetadata |
| def | getLoadingPriority (cls) |
| def | getConfigurationTypeFromSerialized |
| def | getVersionFromSerialized |
| def | getPath (self) |
| def | setPath |
| def | isDirty (self) |
| def | setDirty |
Public Member Functions inherited from UM.PluginObject.PluginObject | |
| def | __init__ (self, args, kwags) |
| def | getId (self) |
| def | setPluginId |
| def | setMetaData |
| def | getMetaData (self) |
| def | getPluginId (self) |
| def | setVersion |
| def | getVersion (self) |
Static Public Attributes | |
| int | Version = 4 |
| tuple | version_regex = re.compile("\nversion ?= ?(\d+)") |
| tuple | setting_version_regex = re.compile("\nsetting_version ?= ?(\d+)") |
| tuple | type_regex = re.compile("\ntype ?= ?(\w+)") |
| tuple | id = pyqtProperty(str, fget = getId, constant = True) |
| tuple | pyqtNameChanged = pyqtSignal() |
| tuple | nameChanged = Signal() |
| tuple | name = pyqtProperty(str, fget = getName, fset = setName, notify = pyqtNameChanged) |
| tuple | readOnly = pyqtProperty(bool, fget = getReadOnly) |
| tuple | metaDataChanged = pyqtSignal(QObject) |
| tuple | metaData = pyqtProperty("QVariantMap", fget = getMetaData, fset = setMetaData, notify = metaDataChanged) |
| tuple | propertyChanged = Signal() |
Static Public Attributes inherited from UM.Settings.Interfaces.ContainerInterface | |
| propertyChanged = None | |
| metaDataChanged = None | |
A container for SettingInstance objects.
| def UM.Settings.InstanceContainer.InstanceContainer.__getnewargs__ | ( | self, | |
| Tuple, | |||
| str | |||
| ) |
For pickle support
| def UM.Settings.InstanceContainer.InstanceContainer.__getstate__ | ( | self, | |
| Dict, | |||
| str, | |||
| Any | |||
| ) |
For pickle support
| def UM.Settings.InstanceContainer.InstanceContainer.__str__ | ( | self, | |
| str | |||
| ) |
Simple string representation for debugging.
| def UM.Settings.InstanceContainer.InstanceContainer.clear | ( | self, | |
| None | |||
| ) |
Remove all instances from this container.
| def UM.Settings.InstanceContainer.InstanceContainer.getAllKeys | ( | self, | |
| Set, | |||
| str | |||
| ) |
Get all the keys of the instances of this container :returns: list of keys
| def UM.Settings.InstanceContainer.InstanceContainer.getDefinition | ( | self, | |
| DefinitionContainerInterface | |||
| ) |
Get the DefinitionContainer used for new instance creation.
| def UM.Settings.InstanceContainer.InstanceContainer.getId | ( | self, | |
| str | |||
| ) |
:copydoc ContainerInterface::getId Reimplemented from ContainerInterface
| def UM.Settings.InstanceContainer.InstanceContainer.getMetaData | ( | self, | |
| Dict, | |||
| str, | |||
| Any | |||
| ) |
:copydoc ContainerInterface::getMetaData Reimplemented from ContainerInterface
| def UM.Settings.InstanceContainer.InstanceContainer.getName | ( | self, | |
| str | |||
| ) |
:copydoc ContainerInterface::getName Reimplemented from ContainerInterface
| def UM.Settings.InstanceContainer.InstanceContainer.getPath | ( | self, | |
| str | |||
| ) |
:copydoc ContainerInterface::getPath. Reimplemented from ContainerInterface
| def UM.Settings.InstanceContainer.InstanceContainer.isDirty | ( | self, | |
| bool | |||
| ) |
Check if this container is dirty, that is, if it changed from deserialization.
| def UM.Settings.InstanceContainer.InstanceContainer.sendPostponedEmits | ( | self, | |
| None | |||
| ) |
Send the postponed emits These emits are collected from the option postpone_emit. Note: the option can be implemented for all functions modifying the container.
| def UM.Settings.InstanceContainer.InstanceContainer.update | ( | self, | |
| None | |||
| ) |
Update all instances from this container.