<div dir="ltr">Thanks!<br><br><div class="gmail_quote">On Sun, Jul 8, 2012 at 9:30 AM, Vincent Vande Vyvre <span dir="ltr"><<a href="mailto:vincent.vandevyvre@swing.be" target="_blank">vincent.vandevyvre@swing.be</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On 08/07/12 00:37, Itay Brandes wrote:<br>
> Hey,<br>
> I'm trying to start a QStateMachine and seem to fail.<br>
><br>
> Here is my code: <a href="http://pastebin.com/mQmyva9K" target="_blank">http://pastebin.com/mQmyva9K</a><br>
> Where am i wrong?<br>
><br>
> Thanks.<br>
><br>
><br>
</div></div>> _______________________________________________<br>
> PyQt mailing list <a href="mailto:PyQt@riverbankcomputing.com">PyQt@riverbankcomputing.com</a><br>
> <a href="http://www.riverbankcomputing.com/mailman/listinfo/pyqt" target="_blank">http://www.riverbankcomputing.com/mailman/listinfo/pyqt</a><br>
You must keep a reference of the machine.<br>
self.machine = QtCore.QStateMachine()<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Vincent V.V.<br>
Oqapy <<a href="https://launchpad.net/oqapy" target="_blank">https://launchpad.net/oqapy</a>> . Qarte+7<br>
<<a href="https://launchpad.net/qarte+7" target="_blank">https://launchpad.net/qarte+7</a>> . PaQager <<a href="https://launchpad.net/paqager" target="_blank">https://launchpad.net/paqager</a>><br>
<br>
_______________________________________________<br>
PyQt mailing list <a href="mailto:PyQt@riverbankcomputing.com">PyQt@riverbankcomputing.com</a><br>
<a href="http://www.riverbankcomputing.com/mailman/listinfo/pyqt" target="_blank">http://www.riverbankcomputing.com/mailman/listinfo/pyqt</a><br>
</font></span></blockquote></div><br></div>