QGIS API Documentation  3.20.0-Odense (decaadbb31)
Public Member Functions | Public Attributes | List of all members
QgsPointDistanceRenderer::GroupedFeature Struct Reference

Contains properties for a feature within a clustered group. More...

#include <qgspointdistancerenderer.h>

Public Member Functions

 GroupedFeature (const QgsFeature &feature, QgsMarkerSymbol *symbol, bool isSelected, const QString &label=QString())
 Constructor for GroupedFeature. More...
 
 ~GroupedFeature ()
 
QgsMarkerSymbolsymbol () const
 Base symbol for rendering feature. More...
 

Public Attributes

QgsFeature feature
 Feature. More...
 
bool isSelected
 True if feature is selected and should be rendered in a selected state. More...
 
QString label
 Optional label text. More...
 

Detailed Description

Contains properties for a feature within a clustered group.

Definition at line 45 of file qgspointdistancerenderer.h.

Constructor & Destructor Documentation

◆ GroupedFeature()

QgsPointDistanceRenderer::GroupedFeature::GroupedFeature ( const QgsFeature feature,
QgsMarkerSymbol symbol,
bool  isSelected,
const QString &  label = QString() 
)

Constructor for GroupedFeature.

Parameters
featurefeature
symbolbase symbol for rendering feature (owned by GroupedFeature)
isSelectedset to true if feature is selected and should be rendered in a selected state
labeloptional label text, or empty string for no label

Definition at line 509 of file qgspointdistancerenderer.cpp.

◆ ~GroupedFeature()

QgsPointDistanceRenderer::GroupedFeature::~GroupedFeature ( )
default

Member Function Documentation

◆ symbol()

QgsMarkerSymbol* QgsPointDistanceRenderer::GroupedFeature::symbol ( ) const
inline

Base symbol for rendering feature.

Definition at line 62 of file qgspointdistancerenderer.h.

Member Data Documentation

◆ feature

QgsFeature QgsPointDistanceRenderer::GroupedFeature::feature

Feature.

Definition at line 59 of file qgspointdistancerenderer.h.

◆ isSelected

bool QgsPointDistanceRenderer::GroupedFeature::isSelected

True if feature is selected and should be rendered in a selected state.

Definition at line 65 of file qgspointdistancerenderer.h.

◆ label

QString QgsPointDistanceRenderer::GroupedFeature::label

Optional label text.

Definition at line 68 of file qgspointdistancerenderer.h.


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