QGraphicsSceneHoverEvent

Inheritance diagram of QGraphicsSceneHoverEvent

Synopsis

Functions

Detailed Description

class PySide.QtGui.QGraphicsSceneHoverEvent([type=None])
Parameters:typePySide.QtCore.QEvent.Type

Constructs a graphics scene hover event of the specified type .

PySide.QtGui.QGraphicsSceneHoverEvent.lastPos()
Return type:PySide.QtCore.QPointF

Returns the last recorded mouse cursor position in item coordinates.

PySide.QtGui.QGraphicsSceneHoverEvent.lastScenePos()
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.

PySide.QtGui.QGraphicsSceneHoverEvent.lastScreenPos()
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.

PySide.QtGui.QGraphicsSceneHoverEvent.modifiers()
Return type:PySide.QtCore.Qt.KeyboardModifiers

Returns the keyboard modifiers at the moment the hover event was sent.

PySide.QtGui.QGraphicsSceneHoverEvent.pos()
Return type:PySide.QtCore.QPointF

Returns the position of the mouse cursor in item coordinates at the moment the hover event was sent.

PySide.QtGui.QGraphicsSceneHoverEvent.scenePos()
Return type:PySide.QtCore.QPointF

Returns the position of the mouse cursor in scene coordinates at the moment the hover event was sent.

PySide.QtGui.QGraphicsSceneHoverEvent.screenPos()
Return type:PySide.QtCore.QPoint

Returns the position of the mouse cursor in screen coordinates at the moment the hover event was sent.

PySide.QtGui.QGraphicsSceneHoverEvent.setLastPos(pos)
Parameters:posPySide.QtCore.QPointF
PySide.QtGui.QGraphicsSceneHoverEvent.setLastScenePos(pos)
Parameters:posPySide.QtCore.QPointF
PySide.QtGui.QGraphicsSceneHoverEvent.setLastScreenPos(pos)
Parameters:posPySide.QtCore.QPoint
PySide.QtGui.QGraphicsSceneHoverEvent.setModifiers(modifiers)
Parameters:modifiersPySide.QtCore.Qt.KeyboardModifiers
PySide.QtGui.QGraphicsSceneHoverEvent.setPos(pos)
Parameters:posPySide.QtCore.QPointF

Sets the position associated with the hover event to the given point in item coordinates.

PySide.QtGui.QGraphicsSceneHoverEvent.setScenePos(pos)
Parameters:posPySide.QtCore.QPointF

Sets the position associated with the hover event to the given point in scene coordinates.

PySide.QtGui.QGraphicsSceneHoverEvent.setScreenPos(pos)
Parameters:posPySide.QtCore.QPoint

Sets the position associated with the hover event to the given point in screen coordinates.