QGIS API Documentation 3.37.0-Master (fdefdf9c27f)
Public Member Functions | List of all members
QgsMapLayerSelectionProperties Class Referenceabstract

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

#include <qgsmaplayerselectionproperties.h>

Inheritance diagram for QgsMapLayerSelectionProperties:
Inheritance graph
[legend]

Public Member Functions

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

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 37 of file qgsmaplayerselectionproperties.h.

Constructor & Destructor Documentation

◆ QgsMapLayerSelectionProperties()

QgsMapLayerSelectionProperties::QgsMapLayerSelectionProperties ( QObject *  parent)

Constructor for QgsMapLayerSelectionProperties, with the specified parent object.

Definition at line 20 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: