[QtGui module]
该QGraphicsSceneHoverEvent类提供悬停在图形事件视图框架。More…
Methods
QPointF lastPos (self)
QPointF lastScenePos (self)
QPoint lastScreenPos (self)
Qt.KeyboardModifiers modifiers (self)
QPointF pos (self)
QPointF scenePos (self)
QPoint screenPos (self)
Detailed Description
该QGraphicsSceneHoverEvent类提供悬停在图形事件视图框架。
当QGraphicsView收到QHoverEvent事件,它翻译成QGraphicsSceneHoverEvent 。然后,此事件转发到QGraphicsScene与视图相关联。
Method Documentation
QPointF QGraphicsSceneHoverEvent.lastPos (self)
[
返回项的坐标最后记录的鼠标光标位置。
此功能被引入Qt的4.4 。
](docs_qpointf.html)
See also lastScenePos( )lastScreenPos()和pos( ) 。
QPointF QGraphicsSceneHoverEvent.lastScenePos (self)
[
返回最后一个记录,现场以前的鼠标或悬停事件所收到的资料,创建场景时鼠标光标位置坐标的坐标。
此功能被引入Qt的4.4 。
](docs_qpointf.html)
See also lastPos( )lastScreenPos()和scenePos( ) 。
QPoint QGraphicsSceneHoverEvent.lastScreenPos (self)
[
返回屏幕坐标的最后一个记录鼠标的光标位置。最后记录的位置是由创建该事件的观点获得了以前的鼠标或悬停事件的位置。
此功能被引入Qt的4.4 。
](docs_qpoint.html)
See also lastPos( )lastScenePos()和screenPos( ) 。
Qt.KeyboardModifiers QGraphicsSceneHoverEvent.modifiers (self)
[
返回键盘功能键的时刻悬停事件被发送。
此功能被引入Qt的4.4 。
](docs_index.htm)
QPointF QGraphicsSceneHoverEvent.pos (self)
[
返回鼠标光标在项目的位置,此刻的悬停事件被送往坐标。
](docs_qpointf.html)
See also scenePos()和screenPos( ) 。
QPointF QGraphicsSceneHoverEvent.scenePos (self)
[
返回鼠标光标在现场的位置,此刻的悬停事件被送往坐标。
](docs_qpointf.html)
QPoint QGraphicsSceneHoverEvent.screenPos (self)
[
返回鼠标光标在屏幕上的位置,此刻的悬停事件被送往坐标。
](docs_qpoint.html)