java.lang.Object
io.qt.internal.NativeUtility.Object
io.qt.QtObject
io.qt.core.QEvent
io.qt.widgets.QGraphicsSceneEvent
io.qt.widgets.QGraphicsSceneDragDropEvent
- All Implemented Interfaces:
QtObjectInterface
Events for drag and drop in the graphics view framework
Java wrapper for Qt's class QGraphicsSceneDragDropEvent
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.core.QEvent
QEvent.Type
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Field Summary
Fields inherited from class io.qt.core.QEvent
staticMetaObject
-
Constructor Summary
ModifierConstructorDescriptionOverloaded constructor forQGraphicsSceneDragDropEvent(io.qt.core.QEvent.Type)
withtype = io.qt.core.QEvent.Type.None
.protected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal void
final Qt.MouseButtons
buttons()
final Qt.DropAction
final QMimeData
mimeData()
final Qt.KeyboardModifiers
final QPointF
pos()
final Qt.DropActions
final Qt.DropAction
final QPointF
scenePos()
final QPoint
final void
setButtons
(Qt.MouseButton... buttons) Overloaded function forsetButtons(io.qt.core.Qt.MouseButtons)
.final void
setButtons
(Qt.MouseButtons buttons) final void
setDropAction
(Qt.DropAction action) final void
setMimeData
(QMimeData data) final void
setModifiers
(Qt.KeyboardModifier... modifiers) Overloaded function forsetModifiers(io.qt.core.Qt.KeyboardModifiers)
.final void
setModifiers
(Qt.KeyboardModifiers modifiers) final void
final void
setPossibleActions
(Qt.DropAction... actions) Overloaded function forsetPossibleActions(io.qt.core.Qt.DropActions)
.final void
setPossibleActions
(Qt.DropActions actions) final void
setProposedAction
(Qt.DropAction action) final void
setScenePos
(QPointF pos) final void
setScreenPos
(QPoint pos) final void
final QWidget
source()
toString()
Methods inherited from class io.qt.widgets.QGraphicsSceneEvent
setTimestamp, setWidget, timestamp, widget
Methods inherited from class io.qt.core.QEvent
accept, clone, ignore, isAccepted, isInputEvent, isPointerEvent, isSinglePointEvent, registerEventType, registerEventType, set, setAccepted, spontaneous, type
Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
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
-
setMimeData
-
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
-
setSource
-
source
-
toString
- Overrides:
toString
in classQGraphicsSceneEvent
-