[Qgis-developer] How to refresh the legend from a plugin

Jürgen E. Fischer jef+qgis at norbit.de
Sun Jul 29 16:39:27 EDT 2007


Hi Tim,

On Fri, Jul 27, 2007 at 13:04:56 -0300, Tim Sutton wrote:
> I had a look at this this morning and I think it will need an addition
> to the plugin interface to allow connecting to the legend refresh
> slot. Post 0.9 would be a good time for such a change...

The attached patch does what I need, but obviously I don't know enough
about signals&slots yet.

And I'm not sure if the sip part does more than making it compile again
;)

Comments?


Jürgen

-- 
Jürgen E. Fischer         norBIT GmbH               Tel. +49-4931-918175-0
Dipl.-Inf. (FH)           Rheinstraße 13            Fax. +49-4931-918175-50
Software Engineer         D-26506 Norden               http://www.norbit.de

-- 
norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH
Rheinstrasse 13, 26506 Norden
GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502

-------------- next part --------------
A non-text attachment was scrubbed...
Name: legendupdate.diff
Type: text/x-diff
Size: 2095 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/qgis-developer/attachments/20070729/76e86c4a/legendupdate.bin


More information about the Qgis-developer mailing list