QGIS API Documentation 3.41.0-Master (af5edcb665c)
Loading...
Searching...
No Matches
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.
 
 ~GroupedFeature ()
 
QgsMarkerSymbolsymbol () const
 Base symbol for rendering feature.
 

Public Attributes

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

Detailed Description

Contains properties for a feature within a clustered group.

Definition at line 46 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 525 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 63 of file qgspointdistancerenderer.h.

Member Data Documentation

◆ feature

QgsFeature QgsPointDistanceRenderer::GroupedFeature::feature

Feature.

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

◆ label

QString QgsPointDistanceRenderer::GroupedFeature::label

Optional label text.

Definition at line 69 of file qgspointdistancerenderer.h.


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