Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > a6711891ce757817bba854bf3f25205a > files > 2051

qtjambi-doc-4.3.3-3mdv2008.1.i586.rpm

<class name="QGraphicsSceneHelpEvent" doc="/**
&lt;p&gt;The &lt;a href=&quot;QGraphicsSceneHelpEvent.html#QGraphicsSceneHelpEvent(com.trolltech.qt.core.QEvent.Type)&quot;&gt;&lt;tt&gt;QGraphicsSceneHelpEvent&lt;/tt&gt;&lt;/a&gt; class provides events when a tooltip is requested.&lt;/p&gt;
&lt;p&gt;When a &lt;a href=&quot;QGraphicsView.html&quot;&gt;&lt;tt&gt;QGraphicsView&lt;/tt&gt;&lt;/a&gt; receives a &lt;a href=&quot;%2E%2E/core/%2E%2E/core/QEvent.html#QEvent(com.trolltech.qt.core.QEvent.Type)&quot;&gt;&lt;tt&gt;QEvent&lt;/tt&gt;&lt;/a&gt; of type QEvent::ToolTip, it creates a &lt;a href=&quot;QGraphicsSceneHelpEvent.html#QGraphicsSceneHelpEvent(com.trolltech.qt.core.QEvent.Type)&quot;&gt;&lt;tt&gt;QGraphicsSceneHelpEvent&lt;/tt&gt;&lt;/a&gt;, which is forwarded to the scene. You can set a tooltip on a &lt;a href=&quot;QGraphicsItem.html&quot;&gt;&lt;tt&gt;QGraphicsItem&lt;/tt&gt;&lt;/a&gt; with setToolTip(); by default &lt;a href=&quot;QGraphicsScene.html&quot;&gt;&lt;tt&gt;QGraphicsScene&lt;/tt&gt;&lt;/a&gt; displays the tooltip of the &lt;a href=&quot;QGraphicsItem.html&quot;&gt;&lt;tt&gt;QGraphicsItem&lt;/tt&gt;&lt;/a&gt; with the highest z-value (i.e, the top-most item) under the mouse position.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;QGraphicsView.html&quot;&gt;&lt;tt&gt;QGraphicsView&lt;/tt&gt;&lt;/a&gt; does not forward events when &lt;a href=&quot;QWhatsThis.html&quot;&gt;&amp;quot;What's This&amp;quot;&lt;/tt&gt;&lt;/a&gt; and &lt;a href=&quot;QStatusTipEvent.html&quot;&gt;status tip&lt;/tt&gt;&lt;/a&gt; help is requested. If you need this, you can reimplement QGraphicsView::viewportEvent() and forward &lt;a href=&quot;QStatusTipEvent.html&quot;&gt;&lt;tt&gt;QStatusTipEvent&lt;/tt&gt;&lt;/a&gt; events and &lt;a href=&quot;%2E%2E/core/%2E%2E/core/QEvent.html#QEvent(com.trolltech.qt.core.QEvent.Type)&quot;&gt;QEvents&lt;/a&gt; of type QEvent::WhatsThis to the scene.&lt;/p&gt;

@see &lt;a href=&quot;%2E%2E/core/%2E%2E/core/QEvent.html#QEvent(com.trolltech.qt.core.QEvent.Type)&quot;&gt;&lt;tt&gt;QEvent&lt;/tt&gt;&lt;/a&gt; */">
    <method name="public QGraphicsSceneHelpEvent(com.trolltech.qt.core.QEvent.Type type)" doc="/**
&lt;p&gt;This method is used internally by Qt Jambi.
Do not use it in your applications.&lt;/p&gt;
 */"/>
    <method name="public QGraphicsSceneHelpEvent()" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QGraphicsSceneHelpEvent.html#QGraphicsSceneHelpEvent(com.trolltech.qt.core.QEvent.Type)&quot;&gt;&lt;tt&gt;QGraphicsSceneHelpEvent&lt;/tt&gt;&lt;/a&gt;(None). */"/>
    <method name="public final com.trolltech.qt.core.QPointF scenePos()" doc="/**
&lt;p&gt;Returns the position of the mouse cursor in scene coordinates at the moment the the help event was sent.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSceneHelpEvent.html#setScenePos(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;setScenePos&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSceneHelpEvent.html#screenPos()&quot;&gt;&lt;tt&gt;screenPos&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.core.QPoint screenPos()" doc="/**
&lt;p&gt;Returns the position of the mouse cursor in screen coordinates at the moment the the help event was sent.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSceneHelpEvent.html#setScreenPos(com.trolltech.qt.core.QPoint)&quot;&gt;&lt;tt&gt;setScreenPos&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSceneHelpEvent.html#scenePos()&quot;&gt;&lt;tt&gt;scenePos&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setScenePos(com.trolltech.qt.core.QPointF pos)" doc="/**
&lt;p&gt;This method is used internally by Qt Jambi.
Do not use it in your applications.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSceneHelpEvent.html#scenePos()&quot;&gt;&lt;tt&gt;scenePos&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setScreenPos(com.trolltech.qt.core.QPoint pos)" doc="/**
&lt;p&gt;This method is used internally by Qt Jambi.
Do not use it in your applications.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSceneHelpEvent.html#screenPos()&quot;&gt;&lt;tt&gt;screenPos&lt;/tt&gt;&lt;/a&gt; */"/>
</class>