Class: QgsMapLayerSelectionProperties

class qgis.core.QgsMapLayerSelectionProperties

Bases: PyQt5.QtCore.QObject

Base class for storage of map layer selection properties.

QgsMapLayerSelectionProperties exposes settings for controlling how an individual QgsMapLayer behaves with respect to feature selection.

Added in version 3.34.

QgsMapLayerSelectionProperties(parent: Optional[QObject]) Constructor for QgsMapLayerSelectionProperties, with the specified parent object.

Methods

childEvent

clone

Creates a clone of the properties.

connectNotify

customEvent

disconnectNotify

isSignalConnected

readXml

Reads temporal properties from a DOM element previously written by writeXml().

receivers

sender

senderSignalIndex

timerEvent

writeXml

Writes the properties to a DOM element, to be used later with readXml().

childEvent(self, a0: QChildEvent | None)
clone(self) QgsMapLayerSelectionProperties | None

Creates a clone of the properties.

Return type:

Optional[QgsMapLayerSelectionProperties]

connectNotify(self, signal: QMetaMethod)
customEvent(self, a0: QEvent | None)
disconnectNotify(self, signal: QMetaMethod)
isSignalConnected(self, signal: QMetaMethod) bool
readXml(self, element: QDomElement, context: QgsReadWriteContext) bool

Reads temporal properties from a DOM element previously written by writeXml().

See also

writeXml()

Parameters:
Return type:

bool

receivers(self, signal: PYQT_SIGNAL) int
sender(self) QObject | None
senderSignalIndex(self) int
timerEvent(self, a0: QTimerEvent | None)
writeXml(self, element: QDomElement, doc: QDomDocument, context: QgsReadWriteContext) QDomElement

Writes the properties to a DOM element, to be used later with readXml().

See also

readXml()

Parameters:
Return type:

QDomElement