Hello all,<br><br>        Based on this example <a href="http://www.saltycrane.com/blog/2008/01/how-to-capture-tab-key-press-event-with/">http://www.saltycrane.com/blog/2008/01/how-to-capture-tab-key-press-event-with/</a> i've created a class as below<br>
<br>class SystemTrayIcon(QtGui.QSystemTrayIcon):<br>    <br>    def __init__(self,parent,objectName):<br>        <br>        QtGui.QSystemTrayIcon.__init__(self,parent)<br>        <br>        self.setObjectName(objectName)<br>
        <br>        print("Tray icon created")<br>  <br>    def activated(self,reason):<br>    <br>        if reason==QtGui.QSystemTrayIcon.DoubleClick:<br><br>            print("Tray icon Double clicked")<br>
<br>After creating an object for this class when i double click the tray icon nothing happens. Any idea of what am i missing here?? Thanks..<br><br>