<class name="QGraphicsSceneHelpEvent" doc="/** <p>The <a href="QGraphicsSceneHelpEvent.html#QGraphicsSceneHelpEvent(com.trolltech.qt.core.QEvent.Type)"><tt>QGraphicsSceneHelpEvent</tt></a> class provides events when a tooltip is requested.</p> <p>When a <a href="QGraphicsView.html"><tt>QGraphicsView</tt></a> receives a <a href="%2E%2E/core/%2E%2E/core/QEvent.html#QEvent(com.trolltech.qt.core.QEvent.Type)"><tt>QEvent</tt></a> of type QEvent::ToolTip, it creates a <a href="QGraphicsSceneHelpEvent.html#QGraphicsSceneHelpEvent(com.trolltech.qt.core.QEvent.Type)"><tt>QGraphicsSceneHelpEvent</tt></a>, which is forwarded to the scene. You can set a tooltip on a <a href="QGraphicsItem.html"><tt>QGraphicsItem</tt></a> with setToolTip(); by default <a href="QGraphicsScene.html"><tt>QGraphicsScene</tt></a> displays the tooltip of the <a href="QGraphicsItem.html"><tt>QGraphicsItem</tt></a> with the highest z-value (i.e, the top-most item) under the mouse position.</p> <p><a href="QGraphicsView.html"><tt>QGraphicsView</tt></a> does not forward events when <a href="QWhatsThis.html">&quot;What's This&quot;</tt></a> and <a href="QStatusTipEvent.html">status tip</tt></a> help is requested. If you need this, you can reimplement QGraphicsView::viewportEvent() and forward <a href="QStatusTipEvent.html"><tt>QStatusTipEvent</tt></a> events and <a href="%2E%2E/core/%2E%2E/core/QEvent.html#QEvent(com.trolltech.qt.core.QEvent.Type)">QEvents</a> of type QEvent::WhatsThis to the scene.</p> @see <a href="%2E%2E/core/%2E%2E/core/QEvent.html#QEvent(com.trolltech.qt.core.QEvent.Type)"><tt>QEvent</tt></a> */"> <method name="public QGraphicsSceneHelpEvent(com.trolltech.qt.core.QEvent.Type type)" doc="/** <p>This method is used internally by Qt Jambi. Do not use it in your applications.</p> */"/> <method name="public QGraphicsSceneHelpEvent()" doc="/** <p>Equivalent to <a href="QGraphicsSceneHelpEvent.html#QGraphicsSceneHelpEvent(com.trolltech.qt.core.QEvent.Type)"><tt>QGraphicsSceneHelpEvent</tt></a>(None). */"/> <method name="public final com.trolltech.qt.core.QPointF scenePos()" doc="/** <p>Returns the position of the mouse cursor in scene coordinates at the moment the the help event was sent.</p> @see <a href="QGraphicsSceneHelpEvent.html#setScenePos(com.trolltech.qt.core.QPointF)"><tt>setScenePos</tt></a> @see <a href="QGraphicsSceneHelpEvent.html#screenPos()"><tt>screenPos</tt></a> */"/> <method name="public final com.trolltech.qt.core.QPoint screenPos()" doc="/** <p>Returns the position of the mouse cursor in screen coordinates at the moment the the help event was sent.</p> @see <a href="QGraphicsSceneHelpEvent.html#setScreenPos(com.trolltech.qt.core.QPoint)"><tt>setScreenPos</tt></a> @see <a href="QGraphicsSceneHelpEvent.html#scenePos()"><tt>scenePos</tt></a> */"/> <method name="public final void setScenePos(com.trolltech.qt.core.QPointF pos)" doc="/** <p>This method is used internally by Qt Jambi. Do not use it in your applications.</p> @see <a href="QGraphicsSceneHelpEvent.html#scenePos()"><tt>scenePos</tt></a> */"/> <method name="public final void setScreenPos(com.trolltech.qt.core.QPoint pos)" doc="/** <p>This method is used internally by Qt Jambi. Do not use it in your applications.</p> @see <a href="QGraphicsSceneHelpEvent.html#screenPos()"><tt>screenPos</tt></a> */"/> </class>