<class name="QGraphicsSceneDragDropEvent" doc="/**
&lt;p&gt;The &lt;a href=&quot;QGraphicsSceneDragDropEvent.html#QGraphicsSceneDragDropEvent(com.trolltech.qt.core.QEvent.Type)&quot;&gt;&lt;tt&gt;QGraphicsSceneDragDropEvent&lt;/tt&gt;&lt;/a&gt; class provides events for drag and drop in the graphics view framework.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;QGraphicsView.html&quot;&gt;&lt;tt&gt;QGraphicsView&lt;/tt&gt;&lt;/a&gt; inherits the drag and drop functionality provided by &lt;a href=&quot;QWidget.html&quot;&gt;&lt;tt&gt;QWidget&lt;/tt&gt;&lt;/a&gt;. When it receives a drag and drop event, it translates it to a &lt;a href=&quot;QGraphicsSceneDragDropEvent.html#QGraphicsSceneDragDropEvent(com.trolltech.qt.core.QEvent.Type)&quot;&gt;&lt;tt&gt;QGraphicsSceneDragDropEvent&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;QGraphicsSceneDragDropEvent.html#QGraphicsSceneDragDropEvent(com.trolltech.qt.core.QEvent.Type)&quot;&gt;&lt;tt&gt;QGraphicsSceneDragDropEvent&lt;/tt&gt;&lt;/a&gt; stores events of type &lt;a href=&quot;%2E%2E/core/%2E%2E/core/QEvent.html#Type-enum&quot;&gt;&lt;tt&gt;GraphicsSceneDragEnter&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;%2E%2E/core/%2E%2E/core/QEvent.html#Type-enum&quot;&gt;&lt;tt&gt;GraphicsSceneDragLeave&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;%2E%2E/core/%2E%2E/core/QEvent.html#Type-enum&quot;&gt;&lt;tt&gt;GraphicsSceneDragMove&lt;/tt&gt;&lt;/a&gt;, or &lt;a href=&quot;%2E%2E/core/%2E%2E/core/QEvent.html#Type-enum&quot;&gt;&lt;tt&gt;GraphicsSceneDrop&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;QGraphicsSceneDragDropEvent.html#QGraphicsSceneDragDropEvent(com.trolltech.qt.core.QEvent.Type)&quot;&gt;&lt;tt&gt;QGraphicsSceneDragDropEvent&lt;/tt&gt;&lt;/a&gt; contains the position of the mouse cursor in both item, scene, and screen coordinates; this can be retrieved with &lt;a href=&quot;QGraphicsSceneDragDropEvent.html#pos()&quot;&gt;&lt;tt&gt;pos&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QGraphicsSceneDragDropEvent.html#scenePos()&quot;&gt;&lt;tt&gt;scenePos&lt;/tt&gt;&lt;/a&gt;, and &lt;a href=&quot;QGraphicsSceneDragDropEvent.html#screenPos()&quot;&gt;&lt;tt&gt;screenPos&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The scene sends the event to the first &lt;a href=&quot;QGraphicsItem.html&quot;&gt;&lt;tt&gt;QGraphicsItem&lt;/tt&gt;&lt;/a&gt; under the mouse cursor that accepts drops; a graphics item is set to accept drops with setAcceptDrops().&lt;/p&gt;
 */">
    <method name="public QGraphicsSceneDragDropEvent(com.trolltech.qt.core.QEvent.Type type)" doc="/**
&lt;p&gt;&lt;/p&gt;
 */"/>
    <method name="public QGraphicsSceneDragDropEvent()" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QGraphicsSceneDragDropEvent.html#QGraphicsSceneDragDropEvent(com.trolltech.qt.core.QEvent.Type)&quot;&gt;&lt;tt&gt;QGraphicsSceneDragDropEvent&lt;/tt&gt;&lt;/a&gt;(None). */"/>
    <method name="public final void acceptProposedAction()" doc="/**
&lt;p&gt;Sets the proposed action as accepted, i.e, the drop action is set to the proposed action. This is equal to:&lt;/p&gt;
&lt;pre&gt;    setDropAction(proposedAction());&lt;/pre&gt;
&lt;p&gt;When using this function, one should not call &lt;tt&gt;accept()&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSceneDragDropEvent.html#dropAction()&quot;&gt;&lt;tt&gt;dropAction&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSceneDragDropEvent.html#setDropAction(com.trolltech.qt.core.Qt.DropAction)&quot;&gt;&lt;tt&gt;setDropAction&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSceneDragDropEvent.html#proposedAction()&quot;&gt;&lt;tt&gt;proposedAction&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.core.Qt.MouseButtons buttons()" doc="/**
&lt;p&gt;Returns a Qt::MouseButtons value indicating which buttons were pressed on the mouse when this mouse event was generated.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSceneDragDropEvent.html#setButtons(com.trolltech.qt.core.Qt.MouseButtons)&quot;&gt;&lt;tt&gt;setButtons&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;Qt::MouseButtons&lt;/tt&gt; */"/>
    <method name="public final com.trolltech.qt.core.Qt.DropAction dropAction()" doc="/**
&lt;p&gt;Returns the action that was performed in this drag and drop. This should be set by the receiver of the drop and is returned by QDrag::start().&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSceneDragDropEvent.html#setDropAction(com.trolltech.qt.core.Qt.DropAction)&quot;&gt;&lt;tt&gt;setDropAction&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSceneDragDropEvent.html#acceptProposedAction()&quot;&gt;&lt;tt&gt;acceptProposedAction&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QMimeData mimeData()" doc="/**
&lt;p&gt;This function returns the MIME data of the event.&lt;/p&gt;
 */"/>
    <method name="public final com.trolltech.qt.core.Qt.KeyboardModifiers modifiers()" doc="/**
&lt;p&gt;Returns the keyboard modifiers that were pressed when the drag and drop event was created.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSceneDragDropEvent.html#setModifiers(com.trolltech.qt.core.Qt.KeyboardModifiers)&quot;&gt;&lt;tt&gt;setModifiers&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;Qt::KeyboardModifiers&lt;/tt&gt; */"/>
    <method name="public final com.trolltech.qt.core.QPointF pos()" doc="/**
&lt;p&gt;Returns the mouse position of the event relative to the view that sent the event.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSceneDragDropEvent.html#setPos(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;setPos&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsView.html&quot;&gt;&lt;tt&gt;QGraphicsView&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSceneDragDropEvent.html#screenPos()&quot;&gt;&lt;tt&gt;screenPos&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSceneDragDropEvent.html#scenePos()&quot;&gt;&lt;tt&gt;scenePos&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.core.Qt.DropActions possibleActions()" doc="/**
&lt;p&gt;Returns the possible drop actions that the drag and drop can result in.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSceneDragDropEvent.html#setPossibleActions(com.trolltech.qt.core.Qt.DropActions)&quot;&gt;&lt;tt&gt;setPossibleActions&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;Qt::DropActions&lt;/tt&gt; */"/>
    <method name="public final com.trolltech.qt.core.Qt.DropAction proposedAction()" doc="/**
&lt;p&gt;Returns the drop action that is proposed, i.e&amp;#x2e;, preferred. The action must be one of the possible actions as defined by &lt;tt&gt;possibleActions()&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSceneDragDropEvent.html#setProposedAction(com.trolltech.qt.core.Qt.DropAction)&quot;&gt;&lt;tt&gt;setProposedAction&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;Qt::DropAction&lt;/tt&gt;
@see &lt;a href=&quot;QGraphicsSceneDragDropEvent.html#possibleActions()&quot;&gt;&lt;tt&gt;possibleActions&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.core.QPointF scenePos()" doc="/**
&lt;p&gt;Returns the position of the mouse in scene coordinates.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSceneDragDropEvent.html#setScenePos(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;setScenePos&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSceneDragDropEvent.html#pos()&quot;&gt;&lt;tt&gt;pos&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSceneDragDropEvent.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 relative to the screen.&lt;/p&gt;

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

@see &lt;tt&gt;Qt::MouseButtons&lt;/tt&gt;
@see &lt;a href=&quot;QGraphicsSceneDragDropEvent.html#buttons()&quot;&gt;&lt;tt&gt;buttons&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setDropAction(com.trolltech.qt.core.Qt.DropAction action)" doc="/**
&lt;p&gt;This function lets the receiver of the drop set the drop action that was performed to &lt;tt&gt;action&lt;/tt&gt;, which should be one of the possible actions&lt;/tt&gt;. Call &lt;tt&gt;accept()&lt;/tt&gt; in stead of &lt;tt&gt;acceptProposedAction()&lt;/tt&gt; if you use this function.&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSceneDragDropEvent.html#dropAction()&quot;&gt;&lt;tt&gt;dropAction&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;%2E%2E/core/%2E%2E/core/QEvent.html#accept()&quot;&gt;&lt;tt&gt;accept&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSceneDragDropEvent.html#possibleActions()&quot;&gt;&lt;tt&gt;possibleActions&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;tt&gt;Qt::KeyboardModifiers&lt;/tt&gt;
@see &lt;a href=&quot;QGraphicsSceneDragDropEvent.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;QGraphicsSceneDragDropEvent.html#pos()&quot;&gt;&lt;tt&gt;pos&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSceneDragDropEvent.html#setScenePos(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;setScenePos&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSceneDragDropEvent.html#setScreenPos(com.trolltech.qt.core.QPoint)&quot;&gt;&lt;tt&gt;setScreenPos&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setPossibleActions(com.trolltech.qt.core.Qt.DropActions actions)" doc="/**
&lt;p&gt;&lt;/p&gt;

@see &lt;tt&gt;Qt::DropActions&lt;/tt&gt;
@see &lt;a href=&quot;QGraphicsSceneDragDropEvent.html#possibleActions()&quot;&gt;&lt;tt&gt;possibleActions&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setProposedAction(com.trolltech.qt.core.Qt.DropAction action)" doc="/**
&lt;p&gt;&lt;/p&gt;

@see &lt;a href=&quot;QGraphicsSceneDragDropEvent.html#proposedAction()&quot;&gt;&lt;tt&gt;proposedAction&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;Qt::DropAction&lt;/tt&gt;
@see &lt;a href=&quot;QGraphicsSceneDragDropEvent.html#possibleActions()&quot;&gt;&lt;tt&gt;possibleActions&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;QGraphicsSceneDragDropEvent.html#scenePos()&quot;&gt;&lt;tt&gt;scenePos&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSceneDragDropEvent.html#setScreenPos(com.trolltech.qt.core.QPoint)&quot;&gt;&lt;tt&gt;setScreenPos&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSceneDragDropEvent.html#setPos(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;setPos&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;QGraphicsSceneDragDropEvent.html#screenPos()&quot;&gt;&lt;tt&gt;screenPos&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSceneDragDropEvent.html#setScenePos(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;setScenePos&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGraphicsSceneDragDropEvent.html#setPos(com.trolltech.qt.core.QPointF)&quot;&gt;&lt;tt&gt;setPos&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QWidget source()" doc="/**
&lt;p&gt;This function returns the &lt;a href=&quot;QGraphicsView.html&quot;&gt;&lt;tt&gt;QGraphicsView&lt;/tt&gt;&lt;/a&gt; that created the &lt;a href=&quot;QGraphicsSceneDragDropEvent.html#QGraphicsSceneDragDropEvent(com.trolltech.qt.core.QEvent.Type)&quot;&gt;&lt;tt&gt;QGraphicsSceneDragDropEvent&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
 */"/>
</class>
