[Qgis-developer] How to get renderComplete painter reference

Anita Graser anitagraser at gmx.at
Sun Apr 6 09:08:25 PDT 2014


Hi,

I need the painter from the renderComplete signal? Could you help me with  
the correct syntax?
I have:

    self.iface.mapCanvas().renderComplete.connect(self.waitAfterRenderComplete)

and

    def waitAfterRenderComplete(self, painter):

but waitAfterRenderComplete does not receive a painter.

Thanks and best wishes,
Anita


-- 
anitagraser.com


More information about the Qgis-developer mailing list