Build from InfoObject.h
+Krita 4.0.0
InfoObject wrap a properties map. These maps can be used to set the configuration for filters.
Methods
properties() ➞ dict[str: QVariant]
property(key: str) ➞ QVariant
setProperties(propertyMap: dict[str: QVariant])
setProperty(key: str, value: QVariant)
Member documentation
+Krita 4.0.0
Return all properties this InfoObject manages.
Return
(no description provided) |
+Krita 4.0.0↻Krita 4.0.1
return the value for the property identified by key, or None if there is no such key.
Parameters
key | (no description provided) |
Return
(no description provided) |
+Krita 4.0.0↻Krita 4.2.0
Add all properties in the propertyMap to this InfoObject
Parameters
propertyMap | (no description provided) |
+Krita 4.0.0↻Krita 4.3.0
set the property identified by key to value
If you want create a property that represents a color, you can use a QColor or hex string, as defined in https://doc.qt.io/qt-5/qcolor.html#setNamedColor.
Parameters
key | (no description provided) |
value | (no description provided) |