java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.core.QEvent
io.qt.widgets.QGraphicsSceneEvent
io.qt.widgets.QGraphicsSceneDragDropEvent
- All Implemented Interfaces:
QtObjectInterface
public class QGraphicsSceneDragDropEvent extends QGraphicsSceneEvent
Events for drag and drop in the graphics view framework
Java wrapper for Qt class QGraphicsSceneDragDropEvent
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description QGraphicsSceneDragDropEvent()
Overloaded constructor forQGraphicsSceneDragDropEvent(io.qt.core.QEvent.Type)
withtype = io.qt.core.QEvent.Type.None
.QGraphicsSceneDragDropEvent(QEvent.Type type)
protected
QGraphicsSceneDragDropEvent(QtObject.QPrivateConstructor p)
Constructor for internal use only. -
Method Summary
Modifier and Type Method Description void
acceptProposedAction()
Qt.MouseButtons
buttons()
Qt.DropAction
dropAction()
QMimeData
mimeData()
Qt.KeyboardModifiers
modifiers()
QPointF
pos()
Qt.DropActions
possibleActions()
Qt.DropAction
proposedAction()
QPointF
scenePos()
QPoint
screenPos()
void
setButtons(Qt.MouseButton... buttons)
Overloaded function forsetButtons(io.qt.core.Qt.MouseButtons)
.void
setButtons(Qt.MouseButtons buttons)
void
setDropAction(Qt.DropAction action)
void
setModifiers(Qt.KeyboardModifier... modifiers)
Overloaded function forsetModifiers(io.qt.core.Qt.KeyboardModifiers)
.void
setModifiers(Qt.KeyboardModifiers modifiers)
void
setPos(QPointF pos)
void
setPossibleActions(Qt.DropAction... actions)
Overloaded function forsetPossibleActions(io.qt.core.Qt.DropActions)
.void
setPossibleActions(Qt.DropActions actions)
void
setProposedAction(Qt.DropAction action)
void
setScenePos(QPointF pos)
void
setScreenPos(QPoint pos)
QWidget
source()
String
toString()
Methods inherited from class io.qt.core.QEvent
accept, ignore, isAccepted, registerEventType, registerEventType, setAccepted, setT, spontaneous, t, type
-
Constructor Details
-
QGraphicsSceneDragDropEvent
public QGraphicsSceneDragDropEvent()Overloaded constructor for
QGraphicsSceneDragDropEvent(io.qt.core.QEvent.Type)
withtype = io.qt.core.QEvent.Type.None
. -
QGraphicsSceneDragDropEvent
-
QGraphicsSceneDragDropEvent
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
acceptProposedAction
-
buttons
-
dropAction
-
mimeData
-
modifiers
-
pos
-
possibleActions
-
proposedAction
-
scenePos
-
screenPos
-
setButtons
Overloaded function for
setButtons(io.qt.core.Qt.MouseButtons)
. -
setButtons
-
setDropAction
-
setModifiers
Overloaded function for
setModifiers(io.qt.core.Qt.KeyboardModifiers)
. -
setModifiers
-
setPos
-
setPossibleActions
Overloaded function for
setPossibleActions(io.qt.core.Qt.DropActions)
. -
setPossibleActions
-
setProposedAction
-
setScenePos
-
setScreenPos
-
source
-
toString
- Overrides:
toString
in classQGraphicsSceneEvent
-