QGIS API Documentation
3.10.0-A Coruña (6c816b4204)
|
Structure that stores tree representation of map layer's legend. More...
#include <qgslayertreemodel.h>
Public Attributes | |
QMap< QgsLayerTreeModelLegendNode *, QList< QgsLayerTreeModelLegendNode * > > | children |
List of children for each active node. Top-level nodes are under nullptr key. Pointers are not owned. More... | |
QMap< QgsLayerTreeModelLegendNode *, QgsLayerTreeModelLegendNode * > | parents |
Pointer to parent for each active node. Top-level nodes have nullptr parent. Pointers are not owned. More... | |
Structure that stores tree representation of map layer's legend.
This structure is used only when the following requirements are met:
Definition at line 375 of file qgslayertreemodel.h.
QMap<QgsLayerTreeModelLegendNode *, QList<QgsLayerTreeModelLegendNode *> > QgsLayerTreeModel::LayerLegendTree::children |
List of children for each active node. Top-level nodes are under nullptr
key. Pointers are not owned.
Definition at line 380 of file qgslayertreemodel.h.
QMap<QgsLayerTreeModelLegendNode *, QgsLayerTreeModelLegendNode *> QgsLayerTreeModel::LayerLegendTree::parents |
Pointer to parent for each active node. Top-level nodes have nullptr
parent. Pointers are not owned.
Definition at line 378 of file qgslayertreemodel.h.