QGIS API Documentation
3.10.0-A Coruña (6c816b4204)
|
Miscellaneous utility functions for handling of map layer legend. More...
#include <qgsmaplayerlegend.h>
Static Public Member Functions | |
static void | applyLayerNodeProperties (QgsLayerTreeLayer *nodeLayer, QList< QgsLayerTreeModelLegendNode *> &nodes) |
update according to layer node's custom properties (order of items, user labels for items) More... | |
static bool | hasLegendNodeOrder (QgsLayerTreeLayer *nodeLayer) |
static bool | hasLegendNodeUserLabel (QgsLayerTreeLayer *nodeLayer, int originalIndex) |
static QList< int > | legendNodeOrder (QgsLayerTreeLayer *nodeLayer) |
static QString | legendNodeUserLabel (QgsLayerTreeLayer *nodeLayer, int originalIndex) |
static void | setLegendNodeOrder (QgsLayerTreeLayer *nodeLayer, const QList< int > &order) |
static void | setLegendNodeUserLabel (QgsLayerTreeLayer *nodeLayer, int originalIndex, const QString &newLabel) |
Miscellaneous utility functions for handling of map layer legend.
Definition at line 94 of file qgsmaplayerlegend.h.
|
static |
update according to layer node's custom properties (order of items, user labels for items)
Definition at line 150 of file qgsmaplayerlegend.cpp.
|
static |
Definition at line 129 of file qgsmaplayerlegend.cpp.
|
static |
Definition at line 144 of file qgsmaplayerlegend.cpp.
|
static |
Definition at line 102 of file qgsmaplayerlegend.cpp.
|
static |
Definition at line 139 of file qgsmaplayerlegend.cpp.
|
static |
Definition at line 65 of file qgsmaplayerlegend.cpp.
|
static |
Definition at line 134 of file qgsmaplayerlegend.cpp.