QGIS API Documentation 3.99.0-Master (21b3aa880ba)
Loading...
Searching...
No Matches
QgsMapLayerSelectionProperties Class Referenceabstract

Base class for storage of map layer selection properties. More...

#include <qgsmaplayerselectionproperties.h>

Inheritance diagram for QgsMapLayerSelectionProperties:

Public Member Functions

 QgsMapLayerSelectionProperties (QObject *parent)
 Constructor for QgsMapLayerSelectionProperties, with the specified parent object.
virtual QgsMapLayerSelectionPropertiesclone () const =0
 Creates a clone of the properties.
virtual bool readXml (const QDomElement &element, const QgsReadWriteContext &context)=0
 Reads temporal properties from a DOM element previously written by writeXml().
virtual QDomElement writeXml (QDomElement &element, QDomDocument &doc, const QgsReadWriteContext &context)=0
 Writes the properties to a DOM element, to be used later with readXml().

Detailed Description

Base class for storage of map layer selection properties.

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

Since
QGIS 3.34

Definition at line 38 of file qgsmaplayerselectionproperties.h.

Constructor & Destructor Documentation

◆ QgsMapLayerSelectionProperties()

QgsMapLayerSelectionProperties::QgsMapLayerSelectionProperties ( QObject * parent)

Constructor for QgsMapLayerSelectionProperties, with the specified parent object.

Definition at line 22 of file qgsmaplayerselectionproperties.cpp.

Member Function Documentation

◆ clone()

virtual QgsMapLayerSelectionProperties * QgsMapLayerSelectionProperties::clone ( ) const
pure virtual

Creates a clone of the properties.

Implemented in QgsVectorLayerSelectionProperties.

◆ readXml()

virtual bool QgsMapLayerSelectionProperties::readXml ( const QDomElement & element,
const QgsReadWriteContext & context )
pure virtual

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

See also
writeXml()

Implemented in QgsVectorLayerSelectionProperties.

◆ writeXml()

virtual QDomElement QgsMapLayerSelectionProperties::writeXml ( QDomElement & element,
QDomDocument & doc,
const QgsReadWriteContext & context )
pure virtual

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

See also
readXml()

Implemented in QgsVectorLayerSelectionProperties.


The documentation for this class was generated from the following files: