[Qgis-developer] Python renderer plugin icon

Martin Dobias wonder.sk at gmail.com
Fri Jan 29 04:25:43 EST 2010


On Tue, Jan 26, 2010 at 11:03 PM, Chris Crook <ccrook at linz.govt.nz> wrote:
> I'm wanting to associate an icon with a python based renderer plugin, so
> that it looks like the other renderers in the symbology dialog.  It seems
> that the icon defined by name in the QgsRendererV2AbstractMetadata
> constructor.

Hi Chris,

setting the renderer icon as of now is a bit awkward. I'm going to
change it so that the metadata contains instance of QIcon, not just as
file name for the icon. I'll update symbology-ng wiki to give an
example how to do it.

Martin


More information about the Qgis-developer mailing list