• PySide 模块
  • PySide.QtGui
  • 内容表

    上一话题

    QGraphicsSceneHelpEvent

    下一话题

    QGraphicsSceneContextMenuEvent

    QGraphicsSceneHoverEvent

    概要

    函数

    详细描述

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

    Constructs a graphics scene hover event of the specified type .

    PySide.QtGui.QGraphicsSceneHoverEvent. lastPos ( )
    返回类型: PySide.QtCore.QPointF

    Returns the last recorded mouse cursor position in item coordinates.

    PySide.QtGui.QGraphicsSceneHoverEvent. lastScenePos ( )
    返回类型: 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 ( )
    返回类型: 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 ( )
    返回类型: PySide.QtCore.Qt.KeyboardModifiers

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

    PySide.QtGui.QGraphicsSceneHoverEvent. pos ( )
    返回类型: 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 ( )
    返回类型: 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 ( )
    返回类型: 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 )
    参数: pos PySide.QtCore.QPointF
    PySide.QtGui.QGraphicsSceneHoverEvent. setLastScenePos ( pos )
    参数: pos PySide.QtCore.QPointF
    PySide.QtGui.QGraphicsSceneHoverEvent. setLastScreenPos ( pos )
    参数: pos PySide.QtCore.QPoint
    PySide.QtGui.QGraphicsSceneHoverEvent. setModifiers ( modifiers )
    参数: modifiers PySide.QtCore.Qt.KeyboardModifiers
    PySide.QtGui.QGraphicsSceneHoverEvent. setPos ( pos )
    参数: pos PySide.QtCore.QPointF

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

    PySide.QtGui.QGraphicsSceneHoverEvent. setScenePos ( pos )
    参数: pos PySide.QtCore.QPointF

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

    PySide.QtGui.QGraphicsSceneHoverEvent. setScreenPos ( pos )
    参数: pos PySide.QtCore.QPoint

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