[Qgis-developer] custom legend with python API
bastien.breteau at airinov.fr
Fri Oct 16 08:36:17 PDT 2015
I am using the python API to generate pdf reports. I need to change some
labels in a raster legend.
I attempted to use the QgsLegendModelV2, and QgsSymbolV2LegendNode classes
(setData or setUserLabel), but the "default implementation does nothing and
returns false" according to the documentation.
What is the more appropriate way to access and update the legend nodes?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Qgis-developer