hi everybody,
I have a un little problem. I have writed a plugin for qgis and I have
implemented a function to print the map whit legend. But i can not to set
the background of legend. The background of legend show me trasparent.
this is the fragment code:
legend = QgsComposerLegend(c)
legend.model().setLayerSet(mapRenderer.layerSet())
legend.setItemPosition(1,1)#settare la posizione
legend.setFrame(True)#aggiungere il contorno
c.addItem(legend)
Thanks!!
enzo
--
Enzo Cocca (PhD Candidate)
Research Fellow
Università di Napoli "L'Orientale"
mail: [email protected]
cell: +393495087014
_______________________________________________
Qgis-developer mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-developer