QGIS API Documentation 3.99.0-Master (2fe06baccd8)
Loading...
Searching...
No Matches
QgsDefaultPointCloudLayerLegend Class Reference

Default legend implementation for point cloud layers. More...

#include <qgsmaplayerlegend.h>

Inheritance diagram for QgsDefaultPointCloudLayerLegend:

Public Member Functions

 QgsDefaultPointCloudLayerLegend (QgsPointCloudLayer *layer)
 Creates an instance for the given point cloud layer.
QList< QgsLayerTreeModelLegendNode * > createLayerTreeModelLegendNodes (QgsLayerTreeLayer *nodeLayer) override
 Returns list of legend nodes to be used for a particular layer tree layer node.
Public Member Functions inherited from QgsMapLayerLegend
 QgsMapLayerLegend (QObject *parent=nullptr)
 Constructor for QgsMapLayerLegend.
Qgis::MapLayerLegendFlags flags () const
 Returns flags associated with the legend.
virtual void readXml (const QDomElement &elem, const QgsReadWriteContext &context)
 Reads configuration from a DOM element previously written by writeXml().
void setFlag (Qgis::MapLayerLegendFlag flag, bool on=true)
 Enables or disables a particular flag (other flags are not affected).
void setFlags (Qgis::MapLayerLegendFlags flags)
 Sets the flags associated with the legend.
virtual QDomElement writeXml (QDomDocument &doc, const QgsReadWriteContext &context) const
 Writes configuration to a DOM element, to be used later with readXml().

Additional Inherited Members

Signals inherited from QgsMapLayerLegend
void itemsChanged ()
 Emitted when existing items/nodes got invalid and should be replaced by new ones.
Static Public Member Functions inherited from QgsMapLayerLegend
static QgsMapLayerLegenddefaultMeshLegend (QgsMeshLayer *ml)
 Create new legend implementation for mesh layer.
static QgsMapLayerLegenddefaultPointCloudLegend (QgsPointCloudLayer *layer)
 Create new legend implementation for a point cloud layer.
static QgsMapLayerLegenddefaultRasterLegend (QgsRasterLayer *rl)
 Create new legend implementation for raster layer.
static QgsMapLayerLegenddefaultVectorLegend (QgsVectorLayer *vl)
 Create new legend implementation for vector layer.

Detailed Description

Default legend implementation for point cloud layers.

Since
QGIS 3.18

Definition at line 385 of file qgsmaplayerlegend.h.

Constructor & Destructor Documentation

◆ QgsDefaultPointCloudLayerLegend()

QgsDefaultPointCloudLayerLegend::QgsDefaultPointCloudLayerLegend ( QgsPointCloudLayer * layer)
explicit

Creates an instance for the given point cloud layer.

Definition at line 674 of file qgsmaplayerlegend.cpp.

Member Function Documentation

◆ createLayerTreeModelLegendNodes()

QList< QgsLayerTreeModelLegendNode * > QgsDefaultPointCloudLayerLegend::createLayerTreeModelLegendNodes ( QgsLayerTreeLayer * nodeLayer)
overridevirtual

Returns list of legend nodes to be used for a particular layer tree layer node.

Ownership is transferred to the caller.

Implements QgsMapLayerLegend.

Definition at line 680 of file qgsmaplayerlegend.cpp.


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