def hoverLeaveEvent(self, event):
        """
        Called when mouse leaves the timeable.
        Sets cursor back to normal arrow cursor
        """
        self.setCursor(Qt.ArrowCursor)

        QGraphicsItem.hoverLeaveEvent(self, event)
Example #2
0
    def hoverLeaveEvent(self, event: QGraphicsSceneHoverEvent):
        """Summary

        Args:
            event (QGraphicsSceneHoverEvent): the hover event
        """
        self.prexoveritem_manager.updateModelActiveBaseInfo(None)
        self.setActiveHovered(False)
        self.clearFocus()
        self.parentItem().window().statusBar().showMessage("")
        return QGraphicsItem.hoverLeaveEvent(self, event)
Example #3
0
    def hoverLeaveEvent(self, event: QGraphicsSceneHoverEvent):
        """Summary

        Args:
            event (QGraphicsSceneHoverEvent): the hover event
        """
        self.prexoveritem_manager.updateModelActiveBaseInfo(None)
        self.setActiveHovered(False)
        self.clearFocus()
        self.parentItem().window().statusBar().showMessage("")
        return QGraphicsItem.hoverLeaveEvent(self, event)
Example #4
0
 def hoverLeaveEvent(self, event):
     self.setCursor(Qt.ArrowCursor)
     self._part_item.updateStatusBar("")
     QGraphicsItem.hoverLeaveEvent(self, event)
Example #5
0
 def hoverLeaveEvent(self, event):
     if options.auto_select_items:
         self.setSelected(False)
     QGraphicsItem.hoverLeaveEvent(self, event)
 def createToolHoverLeave(self, tool, event):
     self.removeAllCreateHints()
     return QGraphicsItem.hoverLeaveEvent(self, event)
 def hoverLeaveEvent(self, event):
     self.mouse_hovering = False
     self.updateContents()
     self.parentItem().textBoxChanged()
     QGraphicsItem.hoverLeaveEvent(self, event)
Example #8
0
 def hoverLeaveEvent(self, event):
     self.setCursor(Qt.ArrowCursor)
     self._part_item.updateStatusBar("")
     QGraphicsItem.hoverLeaveEvent(self, event)
Example #9
0
 def hoverLeaveEvent(self, event):
     self.pen.setStyle(QtCore.Qt.SolidLine)
     QGraphicsItem.hoverLeaveEvent(self, event)
Example #10
0
 def hoverLeaveEvent(self, event):
     self._part_item.updateStatusBar("")
     QGraphicsItem.hoverLeaveEvent(self, event)