QGIS API Documentation 3.41.0-Master (cea29feecf2)
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
 
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
 
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 133 of file qgssymbollayerreference.h.

Constructor & Destructor Documentation

◆ QgsSymbolLayerReference() [1/3]

QgsSymbolLayerReference::QgsSymbolLayerReference ( )
default

◆ QgsSymbolLayerReference() [2/3]

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

Constructor.

Parameters
layerIdlayer id
symbolLayersymbol layer id
Deprecated:
QGIS 3.30

Definition at line 145 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 155 of file qgssymbollayerreference.h.

Member Function Documentation

◆ layerId()

QString QgsSymbolLayerReference::layerId ( ) const
inline

The referenced vector layer / feature renderer.

Definition at line 162 of file qgssymbollayerreference.h.

◆ operator==()

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

Definition at line 176 of file qgssymbollayerreference.h.

◆ symbolLayerId()

Q_DECL_DEPRECATED QgsSymbolLayerId QgsSymbolLayerReference::symbolLayerId ( ) const
inline

The symbol layer's id.

Deprecated:
QGIS 3.30. Use symbolLayerIdV2() instead.

Definition at line 168 of file qgssymbollayerreference.h.

◆ symbolLayerIdV2()

QString QgsSymbolLayerReference::symbolLayerIdV2 ( ) const
inline

The symbol layer's id.

Since
QGIS 3.30

Definition at line 174 of file qgssymbollayerreference.h.


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