Class: QgsProjectPropertyValue

class qgis.core.QgsProjectPropertyValue

Bases: QgsProjectProperty

Project property value node, contains a QgsProjectPropertyKey’s value.

New in version 3.0.

QgsProjectPropertyValue() Constructor for QgsProjectPropertyValue.

QgsProjectPropertyValue(value: Any) Constructor for QgsProjectPropertyValue, initialized to a specified value.

QgsProjectPropertyValue(QgsProjectPropertyValue)

Methods

dump

param tabs

isKey

rtype

bool

isLeaf

rtype

bool

isValue

rtype

bool

readXml

param keyNode

value

rtype

Any

writeXml

param nodeName

dump(self, tabs: int = 0)
Parameters

tabs (int = 0) –

isKey(self)bool
Return type

bool

isLeaf(self)bool
Return type

bool

isValue(self)bool
Return type

bool

readXml(self, keyNode: QDomNode)bool
Parameters

keyNode (QDomNode) –

Return type

bool

value(self)Any
Return type

Any

writeXml(self, nodeName: str, element: QDomElement, document: QDomDocument)bool
Parameters
  • nodeName (str) –

  • element (QDomElement) –

  • document (QDomDocument) –

Return type

bool