Hi <br><br>You have to construct a QCoreApplication or QApplication and have to start event loop. <br><br><div class="gmail_quote">On Tue, Jul 6, 2010 at 1:06 AM, Zoltan Szalai <span dir="ltr"><<a href="mailto:flc@freemail.hu">flc@freemail.hu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">hello,<br>
<br>
running the attached code snippet the result is as follows:<br>
2destroyed(QObject*)<br>
2aSignal()<br>
<br>
i'd like to ask what are those '2'-s at the start of the strings for?<br>
the result is the same if i'd just print out SIGNAL('aSignal()').<br>
probably a stupid question but i'd like to understand how things work.<br>
<br>
PyQt version: 4.7.3<br>
Qt version: 4.6.2<br>
Python version: 2.6.5<br>
<br>
thx<br><font color="#888888">
Zoltan<br>
</font><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></blockquote></div><br>