[Qgis-developer] Raster scale bar in Legend

Benoit de Cabissole benoit at exigesa.com
Wed Aug 11 06:02:33 EDT 2010


Hi all,

Is it possible to change the "scale bar" (horizontal multicolour or grey
bar) displayed below the raster icon in the Legend pane using python? Can
that scale bar have arbitrary dimensions, e.g. grows or retracts like the
legend of a vector layer?

I'm trying to find a reference to it in the API doc but I do not really know
what to look for: legend, icon, symbology, ...?

Has someone do it before?

Cheers,
Benoit



More information about the Qgis-developer mailing list