QGIS API Documentation 3.38.0-Grenoble (exported)
Loading...
Searching...
No Matches
Public Member Functions | List of all members
QgsSymbolLayerReference Class Reference

Type used to refer to a specific symbol layer in a symbol of a layer. More...

#include <qgssymbollayerreference.h>

Public Member Functions

 QgsSymbolLayerReference ()=default
 Default constructor.
 
Q_DECL_DEPRECATED QgsSymbolLayerReference (const QString &layerId, const QgsSymbolLayerId &symbolLayer)
 Constructor.
 
 QgsSymbolLayerReference (const QString &layerId, const QString &symbolLayerId)
 Constructor.
 
QString layerId () const
 The referenced vector layer / feature renderer.
 
bool operator== (const QgsSymbolLayerReference &other) const
 Comparison operator.
 
Q_DECL_DEPRECATED QgsSymbolLayerId symbolLayerId () const
 The symbol layer's id.
 
QString symbolLayerIdV2 () const
 The symbol layer's id.
 

Detailed Description

Type used to refer to a specific symbol layer in a symbol of a layer.

Since
QGIS 3.12

Definition at line 137 of file qgssymbollayerreference.h.

Constructor & Destructor Documentation

◆ QgsSymbolLayerReference() [1/3]

QgsSymbolLayerReference::QgsSymbolLayerReference ( )
default

Default constructor.

◆ QgsSymbolLayerReference() [2/3]

Q_DECL_DEPRECATED QgsSymbolLayerReference::QgsSymbolLayerReference ( const QString &  layerId,
const QgsSymbolLayerId symbolLayer 
)
inline

Constructor.

Parameters
layerIdlayer id
symbolLayersymbol layer id
Deprecated:
since QGIS 3.30

Definition at line 149 of file qgssymbollayerreference.h.

◆ QgsSymbolLayerReference() [3/3]

QgsSymbolLayerReference::QgsSymbolLayerReference ( const QString &  layerId,
const QString &  symbolLayerId 
)
inline

Constructor.

Parameters
layerIdlayer id
symbolLayerIdsymbol layer id
Since
QGIS 3.30

Definition at line 159 of file qgssymbollayerreference.h.

Member Function Documentation

◆ layerId()

QString QgsSymbolLayerReference::layerId ( ) const
inline

The referenced vector layer / feature renderer.

Definition at line 166 of file qgssymbollayerreference.h.

◆ operator==()

bool QgsSymbolLayerReference::operator== ( const QgsSymbolLayerReference other) const
inline

Comparison operator.

Definition at line 181 of file qgssymbollayerreference.h.

◆ symbolLayerId()

Q_DECL_DEPRECATED QgsSymbolLayerId QgsSymbolLayerReference::symbolLayerId ( ) const
inline

The symbol layer's id.

Deprecated:
since QGIS 3.30, use symbolLayerIdV2 instead

Definition at line 172 of file qgssymbollayerreference.h.

◆ symbolLayerIdV2()

QString QgsSymbolLayerReference::symbolLayerIdV2 ( ) const
inline

The symbol layer's id.

Since
QGIS 3.30

Definition at line 178 of file qgssymbollayerreference.h.


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