Uranium
Application Framework
|
Public Member Functions | |
def | __init__ |
def | __setattr__ |
def | __getnewargs__ (self) |
def | __getstate__ (self) |
def | __setstate__ |
def | getId (self) |
def | getName (self) |
def | isReadOnly (self) |
def | setReadOnly |
def | getPath (self) |
def | setPath |
def | getMetaData (self) |
def | definitions (self) |
def | getInheritedFiles (self) |
def | getAllKeys (self) |
def | getMetaDataEntry |
def | getProperty |
def | hasProperty |
def | serialize |
def | getConfigurationTypeFromSerialized |
def | readAndValidateSerialized |
def | getVersionFromSerialized |
def | addDefinition |
def | deserialize |
def | deserializeMetadata |
def | findDefinitions |
def | getLoadingPriority (cls) |
def | isDirty (self) |
def | __str__ (self) |
def | __repr__ (self) |
![]() | |
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 = 2 |
id = pyqtProperty(str, fget = getId, constant = True) | |
name = pyqtProperty(str, fget = getName, constant = True) | |
readOnly = pyqtProperty(bool, fget = isReadOnly, constant = True) | |
metaData = pyqtProperty("QVariantMap", fget = getMetaData, constant = True) | |
propertyChanged = Signal() | |
metaDataChanged = Signal() | |
A container for SettingDefinition objects.
def UM.Settings.DefinitionContainer.DefinitionContainer.__getnewargs__ | ( | self, | |
Tuple, | |||
str, | |||
Optional, | |||
i18nCatalog | |||
) |
For pickle support
def UM.Settings.DefinitionContainer.DefinitionContainer.__getstate__ | ( | self, | |
Dict, | |||
str, | |||
Any | |||
) |
For pickle support
def UM.Settings.DefinitionContainer.DefinitionContainer.__str__ | ( | self, | |
str | |||
) |
Simple short string representation for debugging purposes.
def UM.Settings.DefinitionContainer.DefinitionContainer.getAllKeys | ( | self, | |
Set, | |||
str | |||
) |
:copydoc DefinitionContainerInterface::getAllKeys :return: A set of all keys of settings in this container.
def UM.Settings.DefinitionContainer.DefinitionContainer.getId | ( | self, | |
str | |||
) |
:copydoc ContainerInterface::getId Reimplemented from ContainerInterface
def UM.Settings.DefinitionContainer.DefinitionContainer.getInheritedFiles | ( | self, | |
List, | |||
str | |||
) |
Gets all ancestors of this definition container. This returns the definition in the "inherits" property of this container, and the definition in its "inherits" property, and so on. The ancestors are returned in order from parent to grand-grand-grand-...-grandparent, normally ending in a "root" container. :return: A list of ancestors, in order from near ancestor to the root.
def UM.Settings.DefinitionContainer.DefinitionContainer.getMetaData | ( | self, | |
Dict, | |||
str, | |||
Any | |||
) |
:copydoc ContainerInterface::getMetaData Reimplemented from ContainerInterface
def UM.Settings.DefinitionContainer.DefinitionContainer.getName | ( | self, | |
str | |||
) |
:copydoc ContainerInterface::getName Reimplemented from ContainerInterface
def UM.Settings.DefinitionContainer.DefinitionContainer.getPath | ( | self, | |
str | |||
) |
:copydoc ContainerInterface::getPath. Reimplemented from ContainerInterface
def UM.Settings.DefinitionContainer.DefinitionContainer.isReadOnly | ( | self, | |
bool | |||
) |
:copydoc ContainerInterface::isReadOnly Reimplemented from ContainerInterface