QGIS API Documentation 3.41.0-Master (3440c17df1d)
Loading...
Searching...
No Matches
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.
 
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 37 of file qgsmaplayerselectionproperties.h.

Constructor & Destructor Documentation

◆ QgsMapLayerSelectionProperties()

QgsMapLayerSelectionProperties::QgsMapLayerSelectionProperties ( QObject *  parent)

Constructor for QgsMapLayerSelectionProperties, with the specified parent object.

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