kur3k -3 Light Poster

Hi,

sorry but my english is not excellent.

I create app on QSystemTrayIcon, i want get all event ( mouse, key ). How? My code under, but how connect to this event?

def keyPressEvent(self, event):
    result = QtGui.QSystemTrayIcon.keyPressEvent(self, event)
    return result

def mousePressEvent(self, event):
    result = QtGui.QSystemTrayIcon.mousePressEvent(self, event)
    return result
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.