<class name="QGraphicsSceneContextMenuEvent" doc="/**
&lt;p&gt;The &lt;a href=&quot;QGraphicsSceneContextMenuEvent.html#QGraphicsSceneContextMenuEvent(com.trolltech.qt.core.QEvent.Type)&quot;&gt;&lt;tt&gt;QGraphicsSceneContextMenuEvent&lt;/tt&gt;&lt;/a&gt; class provides context menu events in the graphics view framework.&lt;/p&gt;
&lt;p&gt;A &lt;a href=&quot;QContextMenuEvent.html&quot;&gt;&lt;tt&gt;QContextMenuEvent&lt;/tt&gt;&lt;/a&gt; received by a &lt;a href=&quot;QGraphicsView.html&quot;&gt;&lt;tt&gt;QGraphicsView&lt;/tt&gt;&lt;/a&gt; is translated into a &lt;a href=&quot;QGraphicsSceneContextMenuEvent.html#QGraphicsSceneContextMenuEvent(com.trolltech.qt.core.QEvent.Type)&quot;&gt;&lt;tt&gt;QGraphicsSceneContextMenuEvent&lt;/tt&gt;&lt;/a&gt;. The QWheelEvent::globalPos() is translated into item, scene, and screen coordinates (&lt;a href=&quot;QGraphicsSceneContextMenuEvent.html#pos()&quot;&gt;&lt;tt&gt;pos&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QGraphicsSceneContextMenuEvent.html#scenePos()&quot;&gt;&lt;tt&gt;scenePos&lt;/tt&gt;&lt;/a&gt;, and &lt;a href=&quot;QGraphicsSceneContextMenuEvent.html#screenPos()&quot;&gt;&lt;tt&gt;screenPos&lt;/tt&gt;&lt;/a&gt;).&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSceneMouseEvent.html&quot;&gt;&lt;tt&gt;QGraphicsSceneMouseEvent&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;QContextMenuEvent.html&quot;&gt;&lt;tt&gt;QContextMenuEvent&lt;/tt&gt;&lt;/a&gt; */">
    <method name="public QGraphicsSceneContextMenuEvent(com.trolltech.qt.core.QEvent.Type type)" doc="/**
&lt;p&gt;&lt;/p&gt;
 */"/>
    <method name="public QGraphicsSceneContextMenuEvent()" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QGraphicsSceneContextMenuEvent.html#QGraphicsSceneContextMenuEvent(com.trolltech.qt.core.QEvent.Type)&quot;&gt;&lt;tt&gt;QGraphicsSceneContextMenuEvent&lt;/tt&gt;&lt;/a&gt;(None). */"/>
    <method name="public final com.trolltech.qt.core.Qt.KeyboardModifiers modifiers()" doc="/**
&lt;p&gt;Returns the keyboard modifiers in use when the context menu was requested.&lt;/p&gt;

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

@see &lt;a href=&quot;QGraphicsSceneContextMenuEvent.html#setPos(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;setPos&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSceneContextMenuEvent.html#scenePos()&quot;&gt;&lt;tt&gt;scenePos&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSceneContextMenuEvent.html#screenPos()&quot;&gt;&lt;tt&gt;screenPos&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QGraphicsSceneContextMenuEvent.Reason reason()" doc="/**
&lt;p&gt;Returns the reason for the context menu event.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSceneContextMenuEvent.html#setReason(com.trolltech.qt.gui.QGraphicsSceneContextMenuEvent.Reason)&quot;&gt;&lt;tt&gt;setReason&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QGraphicsSceneContextMenuEvent::Reason&lt;/tt&gt; */"/>
    <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 context menu was requested.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSceneContextMenuEvent.html#setScenePos(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;setScenePos&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSceneContextMenuEvent.html#pos()&quot;&gt;&lt;tt&gt;pos&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSceneContextMenuEvent.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 context menu was requested.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSceneContextMenuEvent.html#setScreenPos(com.trolltech.qt.core.QPoint)&quot;&gt;&lt;tt&gt;setScreenPos&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSceneContextMenuEvent.html#pos()&quot;&gt;&lt;tt&gt;pos&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSceneContextMenuEvent.html#scenePos()&quot;&gt;&lt;tt&gt;scenePos&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setModifiers(com.trolltech.qt.core.Qt.KeyboardModifiers modifiers)" doc="/**
&lt;p&gt;&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSceneContextMenuEvent.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;&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSceneContextMenuEvent.html#pos()&quot;&gt;&lt;tt&gt;pos&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setReason(com.trolltech.qt.gui.QGraphicsSceneContextMenuEvent.Reason reason)" doc="/**
&lt;p&gt;&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSceneContextMenuEvent.html#reason()&quot;&gt;&lt;tt&gt;reason&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setScenePos(com.trolltech.qt.core.QPointF pos)" doc="/**
&lt;p&gt;&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSceneContextMenuEvent.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;&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSceneContextMenuEvent.html#screenPos()&quot;&gt;&lt;tt&gt;screenPos&lt;/tt&gt;&lt;/a&gt; */"/>
    <enum name="Reason" doc="/**
&lt;p&gt;This enum describes the reason why the context event was sent.&lt;/p&gt;
 */">
        <enum-value name="Mouse" doc="/**
&lt;p&gt;The mouse caused the event to be sent. On most platforms, this means the right mouse button was clicked.&lt;/p&gt;
 */"/>
        <enum-value name="Keyboard" doc="/**
&lt;p&gt;The keyboard caused this event to be sent. On Windows and Mac OS X, this means the menu button was pressed.&lt;/p&gt;
 */"/>
        <enum-value name="Other" doc="/**
&lt;p&gt;The event was sent by some other means (i.e&amp;#x2e; not by the mouse or keyboard).&lt;/p&gt;
 */"/>
</enum>
</class>
