Sophie

Sophie

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

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

<class name="QGraphicsSceneMouseEvent" doc="/**
&lt;p&gt;The &lt;a href=&quot;QGraphicsSceneMouseEvent.html#QGraphicsSceneMouseEvent(com.trolltech.qt.core.QEvent.Type)&quot;&gt;&lt;tt&gt;QGraphicsSceneMouseEvent&lt;/tt&gt;&lt;/a&gt; class provides mouse events in the graphics view framework.&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;QMouseEvent.html&quot;&gt;&lt;tt&gt;QMouseEvent&lt;/tt&gt;&lt;/a&gt;, it translates it to a &lt;a href=&quot;QGraphicsSceneMouseEvent.html#QGraphicsSceneMouseEvent(com.trolltech.qt.core.QEvent.Type)&quot;&gt;&lt;tt&gt;QGraphicsSceneMouseEvent&lt;/tt&gt;&lt;/a&gt;. The event is then forwarded to the &lt;a href=&quot;QGraphicsScene.html&quot;&gt;&lt;tt&gt;QGraphicsScene&lt;/tt&gt;&lt;/a&gt; associated with the view.&lt;/p&gt;
&lt;p&gt;In addition to containing the item, scene, and screen coordinates of the event (as &lt;a href=&quot;QGraphicsSceneMouseEvent.html#pos()&quot;&gt;&lt;tt&gt;pos&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QGraphicsSceneMouseEvent.html#scenePos()&quot;&gt;&lt;tt&gt;scenePos&lt;/tt&gt;&lt;/a&gt;, and &lt;a href=&quot;QGraphicsSceneMouseEvent.html#screenPos()&quot;&gt;&lt;tt&gt;screenPos&lt;/tt&gt;&lt;/a&gt;), mouse events also contain the coordinates of the previous mouse event received by the view. These can be retrieved with &lt;a href=&quot;QGraphicsSceneMouseEvent.html#lastPos()&quot;&gt;&lt;tt&gt;lastPos&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QGraphicsSceneMouseEvent.html#lastScreenPos()&quot;&gt;&lt;tt&gt;lastScreenPos&lt;/tt&gt;&lt;/a&gt;, and &lt;a href=&quot;QGraphicsSceneMouseEvent.html#lastScenePos()&quot;&gt;&lt;tt&gt;lastScenePos&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSceneContextMenuEvent.html&quot;&gt;&lt;tt&gt;QGraphicsSceneContextMenuEvent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSceneHoverEvent.html&quot;&gt;&lt;tt&gt;QGraphicsSceneHoverEvent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSceneWheelEvent.html&quot;&gt;&lt;tt&gt;QGraphicsSceneWheelEvent&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QMouseEvent.html&quot;&gt;&lt;tt&gt;QMouseEvent&lt;/tt&gt;&lt;/a&gt; */">
    <method name="public QGraphicsSceneMouseEvent(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 QGraphicsSceneMouseEvent()" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QGraphicsSceneMouseEvent.html#QGraphicsSceneMouseEvent(com.trolltech.qt.core.QEvent.Type)&quot;&gt;&lt;tt&gt;QGraphicsSceneMouseEvent&lt;/tt&gt;&lt;/a&gt;(None). */"/>
    <method name="public final com.trolltech.qt.core.Qt.MouseButton button()" doc="/**
&lt;p&gt;Returns the mouse button (if any) that caused the event.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSceneMouseEvent.html#setButton(com.trolltech.qt.core.Qt.MouseButton)&quot;&gt;&lt;tt&gt;setButton&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSceneMouseEvent.html#buttons()&quot;&gt;&lt;tt&gt;buttons&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSceneMouseEvent.html#modifiers()&quot;&gt;&lt;tt&gt;modifiers&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.core.QPointF buttonDownPos(com.trolltech.qt.core.Qt.MouseButton button)" doc="/**
&lt;p&gt;Returns the mouse cursor position in item coordinates where the specified &lt;tt&gt;button&lt;/tt&gt; was clicked.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSceneMouseEvent.html#setButtonDownPos(com.trolltech.qt.core.Qt.MouseButton, com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;setButtonDownPos&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSceneMouseEvent.html#buttonDownScenePos(com.trolltech.qt.core.Qt.MouseButton)&quot;&gt;&lt;tt&gt;buttonDownScenePos&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSceneMouseEvent.html#buttonDownScreenPos(com.trolltech.qt.core.Qt.MouseButton)&quot;&gt;&lt;tt&gt;buttonDownScreenPos&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSceneMouseEvent.html#pos()&quot;&gt;&lt;tt&gt;pos&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.core.QPointF buttonDownScenePos(com.trolltech.qt.core.Qt.MouseButton button)" doc="/**
&lt;p&gt;Returns the mouse cursor position in scene coordinates where the specified &lt;tt&gt;button&lt;/tt&gt; was clicked.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSceneMouseEvent.html#setButtonDownScenePos(com.trolltech.qt.core.Qt.MouseButton, com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;setButtonDownScenePos&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSceneMouseEvent.html#buttonDownPos(com.trolltech.qt.core.Qt.MouseButton)&quot;&gt;&lt;tt&gt;buttonDownPos&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSceneMouseEvent.html#buttonDownScreenPos(com.trolltech.qt.core.Qt.MouseButton)&quot;&gt;&lt;tt&gt;buttonDownScreenPos&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSceneMouseEvent.html#scenePos()&quot;&gt;&lt;tt&gt;scenePos&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.core.QPoint buttonDownScreenPos(com.trolltech.qt.core.Qt.MouseButton button)" doc="/**
&lt;p&gt;Returns the mouse cursor position in screen coordinates where the specified &lt;tt&gt;button&lt;/tt&gt; was clicked.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSceneMouseEvent.html#setButtonDownScreenPos(com.trolltech.qt.core.Qt.MouseButton, com.trolltech.qt.core.QPoint)&quot;&gt;&lt;tt&gt;setButtonDownScreenPos&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSceneMouseEvent.html#screenPos()&quot;&gt;&lt;tt&gt;screenPos&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSceneMouseEvent.html#buttonDownPos(com.trolltech.qt.core.Qt.MouseButton)&quot;&gt;&lt;tt&gt;buttonDownPos&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSceneMouseEvent.html#buttonDownScenePos(com.trolltech.qt.core.Qt.MouseButton)&quot;&gt;&lt;tt&gt;buttonDownScenePos&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.core.Qt.MouseButtons buttons()" doc="/**
&lt;p&gt;Returns the combination of mouse buttons that were pressed at the time the event was sent.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSceneMouseEvent.html#setButtons(com.trolltech.qt.core.Qt.MouseButtons)&quot;&gt;&lt;tt&gt;setButtons&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSceneMouseEvent.html#button()&quot;&gt;&lt;tt&gt;button&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSceneMouseEvent.html#modifiers()&quot;&gt;&lt;tt&gt;modifiers&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.core.QPointF lastPos()" doc="/**
&lt;p&gt;Returns the last recorded mouse cursor position in item coordinates.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSceneMouseEvent.html#setLastPos(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;setLastPos&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSceneMouseEvent.html#lastScenePos()&quot;&gt;&lt;tt&gt;lastScenePos&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSceneMouseEvent.html#lastScreenPos()&quot;&gt;&lt;tt&gt;lastScreenPos&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSceneMouseEvent.html#pos()&quot;&gt;&lt;tt&gt;pos&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.core.QPointF lastScenePos()" doc="/**
&lt;p&gt;Returns the last recorded mouse cursor position in scene coordinates. The last recorded position is the position of the previous mouse event received by the view that created the event.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSceneMouseEvent.html#setLastScenePos(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;setLastScenePos&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSceneMouseEvent.html#lastPos()&quot;&gt;&lt;tt&gt;lastPos&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSceneMouseEvent.html#lastScreenPos()&quot;&gt;&lt;tt&gt;lastScreenPos&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSceneMouseEvent.html#scenePos()&quot;&gt;&lt;tt&gt;scenePos&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.core.QPoint lastScreenPos()" doc="/**
&lt;p&gt;Returns the last recorded mouse cursor position in screen coordinates. The last recorded position is the position of the previous mouse event received by the view that created the event.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSceneMouseEvent.html#setLastScreenPos(com.trolltech.qt.core.QPoint)&quot;&gt;&lt;tt&gt;setLastScreenPos&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSceneMouseEvent.html#lastPos()&quot;&gt;&lt;tt&gt;lastPos&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSceneMouseEvent.html#lastScenePos()&quot;&gt;&lt;tt&gt;lastScenePos&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSceneMouseEvent.html#screenPos()&quot;&gt;&lt;tt&gt;screenPos&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.core.Qt.KeyboardModifiers modifiers()" doc="/**
&lt;p&gt;Returns the keyboard modifiers in use at the time the event was sent.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSceneMouseEvent.html#setModifiers(com.trolltech.qt.core.Qt.KeyboardModifiers)&quot;&gt;&lt;tt&gt;setModifiers&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSceneMouseEvent.html#buttons()&quot;&gt;&lt;tt&gt;buttons&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSceneMouseEvent.html#button()&quot;&gt;&lt;tt&gt;button&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.core.QPointF pos()" doc="/**
&lt;p&gt;Returns the mouse cursor position in item coordinates.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSceneMouseEvent.html#setPos(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;setPos&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSceneMouseEvent.html#scenePos()&quot;&gt;&lt;tt&gt;scenePos&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSceneMouseEvent.html#screenPos()&quot;&gt;&lt;tt&gt;screenPos&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSceneMouseEvent.html#lastPos()&quot;&gt;&lt;tt&gt;lastPos&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.core.QPointF scenePos()" doc="/**
&lt;p&gt;Returns the mouse cursor position in scene coordinates.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSceneMouseEvent.html#setScenePos(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;setScenePos&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSceneMouseEvent.html#pos()&quot;&gt;&lt;tt&gt;pos&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSceneMouseEvent.html#screenPos()&quot;&gt;&lt;tt&gt;screenPos&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSceneMouseEvent.html#lastScenePos()&quot;&gt;&lt;tt&gt;lastScenePos&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.core.QPoint screenPos()" doc="/**
&lt;p&gt;Returns the mouse cursor position in screen coordinates.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSceneMouseEvent.html#setScreenPos(com.trolltech.qt.core.QPoint)&quot;&gt;&lt;tt&gt;setScreenPos&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSceneMouseEvent.html#pos()&quot;&gt;&lt;tt&gt;pos&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSceneMouseEvent.html#scenePos()&quot;&gt;&lt;tt&gt;scenePos&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSceneMouseEvent.html#lastScreenPos()&quot;&gt;&lt;tt&gt;lastScreenPos&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setButton(com.trolltech.qt.core.Qt.MouseButton button)" 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;QGraphicsSceneMouseEvent.html#button()&quot;&gt;&lt;tt&gt;button&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setButtonDownPos(com.trolltech.qt.core.Qt.MouseButton button, 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;QGraphicsSceneMouseEvent.html#buttonDownPos(com.trolltech.qt.core.Qt.MouseButton)&quot;&gt;&lt;tt&gt;buttonDownPos&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setButtonDownScenePos(com.trolltech.qt.core.Qt.MouseButton button, 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;QGraphicsSceneMouseEvent.html#buttonDownScenePos(com.trolltech.qt.core.Qt.MouseButton)&quot;&gt;&lt;tt&gt;buttonDownScenePos&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setButtonDownScreenPos(com.trolltech.qt.core.Qt.MouseButton button, 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;QGraphicsSceneMouseEvent.html#buttonDownScreenPos(com.trolltech.qt.core.Qt.MouseButton)&quot;&gt;&lt;tt&gt;buttonDownScreenPos&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setButtons(com.trolltech.qt.core.Qt.MouseButtons buttons)" 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;QGraphicsSceneMouseEvent.html#buttons()&quot;&gt;&lt;tt&gt;buttons&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setLastPos(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;QGraphicsSceneMouseEvent.html#lastPos()&quot;&gt;&lt;tt&gt;lastPos&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setLastScenePos(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;QGraphicsSceneMouseEvent.html#lastScenePos()&quot;&gt;&lt;tt&gt;lastScenePos&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setLastScreenPos(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;QGraphicsSceneMouseEvent.html#lastScreenPos()&quot;&gt;&lt;tt&gt;lastScreenPos&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setModifiers(com.trolltech.qt.core.Qt.KeyboardModifiers modifiers)" 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;QGraphicsSceneMouseEvent.html#modifiers()&quot;&gt;&lt;tt&gt;modifiers&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setPos(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;QGraphicsSceneMouseEvent.html#pos()&quot;&gt;&lt;tt&gt;pos&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;QGraphicsSceneMouseEvent.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;QGraphicsSceneMouseEvent.html#screenPos()&quot;&gt;&lt;tt&gt;screenPos&lt;/tt&gt;&lt;/a&gt; */"/>
</class>