Yeah! i was thiking kind of it! That worked good! thanks for guide this newbie developer :P Now, for the systray i have only the close issue.
Thanksss!! Cheers! René 'Necoro' Neumann escribió: > Gustavo A. Díaz schrieb: > > Here is what i did, and works (i didn't posted all in my last reply, > sorry): > > > def OnActivated(self, reason): > > if reason != QtGui.QSystemTrayIcon.Context: > > self.hide() > > if self.windowState() & Qt.WindowMinimized: > > self.showNormal() > > else: > > self.setWindowState(self.windowState() | > > Qt.WindowMinimized) > > > try this :) > > def OnActivated (self, reason): > if reason != QtGui.QSystemTrayIcon.Context: > if self.isHidden(): > self.showNormal() > else: > self.hide() -- /Gustavo A. Díaz/ *GDNet Projects* www.gdnet.com.ar <http://www.gdnet.com.ar> Gustavo A. Díaz _______________________________________________ PyQt mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/pyqt
