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: 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, QChildEvent)
clone(self) QgsMapLayerSelectionProperties

Creates a clone of the properties.

Return type:

QgsMapLayerSelectionProperties

connectNotify(self, QMetaMethod)
customEvent(self, QEvent)
disconnectNotify(self, QMetaMethod)
isSignalConnected(self, 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, PYQT_SIGNAL) int
sender(self) QObject
senderSignalIndex(self) int
timerEvent(self, QTimerEvent)
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