On Mon, Apr 7, 2014 at 2:36 AM, Mathieu Pellerin nirvn.a...@gmail.com wrote:
May I suggest a small improvement? You should calculate the time it took, in
ms, to render canvas and deduce that ms value from the animationFrameLength
ms value in your singleShot call:
Good point. I thought of it,
Hi Anita
On Sun, Apr 6, 2014 at 6:08 PM, Anita Graser anitagra...@gmx.at 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
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 wonder...@gmail.com wrote:
Hi Anita
On Sun, Apr 6, 2014 at 6:08 PM, Anita Graser anitagra...@gmx.at wrote:
I need the painter
Hi Nathan,
On Mon, 07. Apr 2014 at 19:37:35 +1000, Nathan Woodrow wrote:
Both those signals are the same and work the same. The newer .connect method
is the better way.
Maybe that was to rule out something else.
Apropos does either connect actually return True?
Jürgen
--
Jürgen E. Fischer
Hi Jürgen
On Mon, Apr 7, 2014 at 11:42 AM, Jürgen E. j...@norbit.de wrote:
Hi Nathan,
On Mon, 07. Apr 2014 at 19:37:35 +1000, Nathan Woodrow wrote:
Both those signals are the same and work the same. The newer .connect method
is the better way.
Maybe that was to rule out something else.
Am 07.04.2014, 11:57 Uhr, schrieb Martin Dobias wonder...@gmail.com:
Yeah, anyway I checked again and even original Anita's statement
worked for me. This is what I did in python console:
from PyQt4.QtCore import *
class A(QObject):
def __init__(self): QObject.__init__(self)
def f(self,
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
On 4/6/2014 11:08 AM, Anita Graser wrote:
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
Anita, just saw you commited a fix. Thanks!
May I suggest a small improvement? You should calculate the time it took,
in ms, to render canvas and deduce that ms value from the
animationFrameLength ms value in your singleShot call:
QTimer.singleShot(self.animationFrameLength,self.playAnimation)