Martin, Both those signals are the same and work the same. The newer .connect method is the better way.
- Nathan On Mon, Apr 7, 2014 at 7:31 PM, Martin Dobias <[email protected]> wrote: > Hi Anita > > On Sun, Apr 6, 2014 at 6:08 PM, Anita Graser <[email protected]> wrote: > > 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): > > Try > > QObject.connect(self.iface.mapCanvas(),SIGNAL("renderComplete(QPainter*)"), > self.waitAfterRenderComplete) > > Cheers > Martin > _______________________________________________ > Qgis-developer mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/qgis-developer >
_______________________________________________ Qgis-developer mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-developer
