<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Thanks for your answer, but some precison:<br>
<br>
in pyqt3 (maybe also in pyqt4), when the signal is sent, the
application will not be immediately affected by it (in my application
at least).<br>
<br>
the application have to trigger an event loop to be affected by the
signal.<br>
<br>
I had to implement a QTimer that call a slot that execute the
processEvents() method, to obtain a kind of reaction to the signal...<br>
<br>
maybe there is a better/simpler way to force the application to
immediately react to the signal, without having the user to move the
mouse inside the app or something else.<br>
<br>
Regards,<br>
Strato<br>
<br>
<br>
Christoph Burgmer a écrit :
<blockquote cite="mid:200807251104.51606.chrislb@gmx.de" type="cite">
<pre wrap="">Am Freitag, 25. Juli 2008 schrieb Strato:
</pre>
<blockquote type="cite">
<pre wrap="">is there a way for a pyqt application, to handle/detect linux signals
send by the system, like SIGTERM, SIGUSR, etc ?
</pre>
</blockquote>
<pre wrap=""><!---->
Check the attached example. This was posted already earlier here.
Chris
</pre>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
PyQt mailing list <a class="moz-txt-link-abbreviated" href="mailto:PyQt@riverbankcomputing.com">PyQt@riverbankcomputing.com</a>
<a class="moz-txt-link-freetext" href="http://www.riverbankcomputing.com/mailman/listinfo/pyqt">http://www.riverbankcomputing.com/mailman/listinfo/pyqt</a></pre>
</blockquote>
</body>
</html>