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 individualQgsMapLayer
behaves with respect to feature selection.Added in version 3.34.
QgsMapLayerSelectionProperties(parent: QObject) Constructor for
QgsMapLayerSelectionProperties
, with the specifiedparent
object.Methods
Creates a clone of the properties.
Reads temporal properties from a DOM
element
previously written bywriteXml()
.Writes the properties to a DOM
element
, to be used later withreadXml()
.- childEvent(self, QChildEvent)¶
- clone(self) QgsMapLayerSelectionProperties ¶
Creates a clone of the properties.
- Return type:
- 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 bywriteXml()
.See also
- Parameters:
element (QDomElement)
context (QgsReadWriteContext)
- 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 withreadXml()
.See also
- Parameters:
element (QDomElement)
doc (QDomDocument)
context (QgsReadWriteContext)
- Return type:
QDomElement