The PySide.QtGui.QGraphicsSceneHelpEvent class provides events when a tooltip is requested.
When a PySide.QtGui.QGraphicsView receives a PySide.QtCore.QEvent of type QEvent.ToolTip , it creates a PySide.QtGui.QGraphicsSceneHelpEvent , which is forwarded to the scene. You can set a tooltip on a PySide.QtGui.QGraphicsItem with PySide.QtGui.QGraphicsItem.setToolTip() ; by default PySide.QtGui.QGraphicsScene displays the tooltip of the PySide.QtGui.QGraphicsItem with the highest z-value (i.e, the top-most item) under the mouse position.
PySide.QtGui.QGraphicsView does not forward events when "What's This" and status tip help is requested. If you need this, you can reimplement QGraphicsView.viewportEvent() and forward PySide.QtGui.QStatusTipEvent events and QEvents of type QEvent.WhatsThis to the scene.
|Parameters:||type – PySide.QtCore.QEvent.Type|
Constructs a graphics scene help event of the specified type .
Returns the position of the mouse cursor in scene coordinates at the moment the help event was sent.
Returns the position of the mouse cursor in screen coordinates at the moment the help event was sent.
|Parameters:||pos – PySide.QtCore.QPointF|
Sets the position associated with the context menu to the given point in scene coordinates.