The PySide.QtGui.QGraphicsSceneHoverEvent class provides hover events in the graphics view framework.
When a PySide.QtGui.QGraphicsView receives a PySide.QtGui.QHoverEvent event, it translates it into PySide.QtGui.QGraphicsSceneHoverEvent . The event is then forwarded to the PySide.QtGui.QGraphicsScene associated with the view.
Parameters: | type – PySide.QtCore.QEvent.Type |
---|
Constructs a graphics scene hover event of the specified type .
Return type: | PySide.QtCore.QPointF |
---|
Returns the last recorded mouse cursor position in item coordinates.
Return type: | PySide.QtCore.QPointF |
---|
Returns the last recorded, the scene coordinates of the previous mouse or hover event received by the view, that created the event mouse cursor position in scene coordinates.
Return type: | PySide.QtCore.QPoint |
---|
Returns the last recorded mouse cursor position in screen coordinates. The last recorded position is the position of the previous mouse or hover event received by the view that created the event.
Return type: | PySide.QtCore.Qt.KeyboardModifiers |
---|
Returns the keyboard modifiers at the moment the hover event was sent.
Return type: | PySide.QtCore.QPointF |
---|
Returns the position of the mouse cursor in item coordinates at the moment the hover event was sent.
Return type: | PySide.QtCore.QPointF |
---|
Returns the position of the mouse cursor in scene coordinates at the moment the hover event was sent.
Return type: | PySide.QtCore.QPoint |
---|
Returns the position of the mouse cursor in screen coordinates at the moment the hover event was sent.
Parameters: | pos – PySide.QtCore.QPointF |
---|
Parameters: | pos – PySide.QtCore.QPointF |
---|
Parameters: | pos – PySide.QtCore.QPoint |
---|
Parameters: | modifiers – PySide.QtCore.Qt.KeyboardModifiers |
---|
Parameters: | pos – PySide.QtCore.QPointF |
---|
Sets the position associated with the hover event to the given point in item coordinates.
Parameters: | pos – PySide.QtCore.QPointF |
---|
Sets the position associated with the hover event to the given point in scene coordinates.
Parameters: | pos – PySide.QtCore.QPoint |
---|
Sets the position associated with the hover event to the given point in screen coordinates.