qlabel click python code example
Example 1: qlabel click python
...
def doSomething(self, event):
...
Example 2: qlabel click python
self.QPLabel.mousePressEvent = self.doSomething
Example 3: qlabel click python
QtCore.QObject.connect(self.QPLabel, QtCore.SIGNAL(_fromUtf8("clicked()")), self.doSomething)