QGIS API Documentation  3.16.0-Hannover (43b64b13f3)
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...
 
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 43 of file qgspointdistancerenderer.h.

Constructor & Destructor Documentation

◆ GroupedFeature()

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

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 53 of file qgspointdistancerenderer.h.

Member Function Documentation

◆ symbol()

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

Base symbol for rendering feature.

Definition at line 64 of file qgspointdistancerenderer.h.

Member Data Documentation

◆ feature

QgsFeature QgsPointDistanceRenderer::GroupedFeature::feature

Feature.

Definition at line 61 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 67 of file qgspointdistancerenderer.h.

◆ label

QString QgsPointDistanceRenderer::GroupedFeature::label

Optional label text.

Definition at line 70 of file qgspointdistancerenderer.h.


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