Where is the systray-part in that example?<br><br><div class="gmail_quote">On Mon, Mar 8, 2010 at 7:32 PM, Russell Valentine <span dir="ltr"><<a href="mailto:russ@coldstonelabs.org">russ@coldstonelabs.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Reimplement changeEvent in QMainWindow, something like below:<br>
<br>
def changeEvent(self, e):<br>
if(e.type() == QtCore.QEvent.WindowStateChange and self.isMinimized()):<br>
self.hide()<br>
e.accept()<br>
return<br>
else:<br>
super(Window, self).changeEvent(e)<br>
<br>
sindhuja venkat wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div></div><div class="h5">
Hi......I am doing an application in PyQt4.<br>
Do anyone know how to reduce the application to the system Tray?<br>
When I click the minimize button, the application should go to the tray.<br>
If anybody knows, your help is most welcome.<br>
<br>
<br></div></div>
------------------------------------------------------------------------<br>
<br>
_______________________________________________<br>
PyQt mailing list <a href="mailto:PyQt@riverbankcomputing.com" target="_blank">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>
<br>
_______________________________________________<br>
PyQt mailing list <a href="mailto:PyQt@riverbankcomputing.com" target="_blank">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><br clear="all"><br>-- <br>Nick Gaens<br>