def mouseDoubleClickEvent( self, event ): " Generates the doubleClicked signal " if event.button() == Qt.LeftButton: self.doubleClicked.emit() QLabel.mouseDoubleClickEvent( self, event ) return
def mouseDoubleClickEvent( self, event ): if event.button() == Qt.LeftButton: if self.__callback is None: txt = self.text().strip() if txt: QApplication.clipboard().setText( txt ) else: self.__callback() QLabel.mouseDoubleClickEvent( self, event ) return
def mouseDoubleClickEvent(self, event): QLabel.mouseDoubleClickEvent(self, event) self.emit(SIGNAL('double click'))