def mouseDoubleClickEvent(self, mouseEvent): QGraphicsObject.mouseDoubleClickEvent(self, mouseEvent)
def mouseDoubleClickEvent(self, event): if self.shapeItem.path().contains(event.pos()): QGraphicsObject.mouseDoubleClickEvent(self, event) QTimer.singleShot(0, self.activated.emit) else: event.ignore()
def mouseDoubleClickEvent(self, event): if self.shapeItem.path().contains(event.pos()): QGraphicsObject.mouseDoubleClickEvent(self, event) QTimer.singleShot(0, self.activated.emit) else: event.ignore()
def mouseDoubleClickEvent(self, mouseEvent): QGraphicsObject.mouseDoubleClickEvent(self, mouseEvent)