* Mark Summerfield [Thu, 21 Feb 2008 11:26:15 +0000]: > Aside: AFAIK there is no way to intercept a left-click with > QSystemTrayIcon; it is a QObject subclass (but not a QWidget subclass) > so you can't reimplement either mouse or keyboard handlers. So if you > want interaction it can only be by providing menu options.
For mouse clicks, you do it with the activated() signal: http://doc.trolltech.com/4.3/qsystemtrayicon.html#activated http://doc.trolltech.com/4.3/qsystemtrayicon.html#ActivationReason-enum HTH, -- Adeodato Simó dato at net.com.org.es Debian Developer adeodato at debian.org - They love him. He chases them around and shouts and pretends to be mad, and they laugh and laugh. -- Mr. Krumholtze, about Michel _______________________________________________ PyQt mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/pyqt
