- All Implemented Interfaces:
QtObjectInterface
Events for drag and drop in the graphics view framework
Java wrapper for Qt class QGraphicsSceneDragDropEvent
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.core.QEvent
QEvent.Type
-
Field Summary
Fields inherited from class io.qt.core.QEvent
staticMetaObject
-
Constructor Summary
ConstructorDescriptionOverloaded constructor forQGraphicsSceneDragDropEvent(io.qt.core.QEvent.Type)
withtype = io.qt.core.QEvent.Type.None
.SeeQGraphicsSceneDragDropEvent::
QGraphicsSceneDragDropEvent(QEvent::Type) -
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) SeeQGraphicsSceneDragDropEvent::
setButtons(Qt::MouseButtons) final void
setDropAction
(Qt.DropAction action) final void
setMimeData
(QMimeData data) SeeQGraphicsSceneDragDropEvent::
setMimeData(const QMimeData*) final void
setModifiers
(Qt.KeyboardModifier ... modifiers) Overloaded function forsetModifiers(io.qt.core.Qt.KeyboardModifiers)
.final void
setModifiers
(Qt.KeyboardModifiers modifiers) SeeQGraphicsSceneDragDropEvent::
setModifiers(Qt::KeyboardModifiers) final void
Overloaded function forsetPos(io.qt.core.QPointF)
.final void
SeeQGraphicsSceneDragDropEvent::
setPos(QPointF) final void
setPossibleActions
(Qt.DropAction ... actions) Overloaded function forsetPossibleActions(io.qt.core.Qt.DropActions)
.final void
setPossibleActions
(Qt.DropActions actions) SeeQGraphicsSceneDragDropEvent::
setPossibleActions(Qt::DropActions) final void
setProposedAction
(Qt.DropAction action) SeeQGraphicsSceneDragDropEvent::
setProposedAction(Qt::DropAction) final void
setScenePos
(QPoint pos) Overloaded function forsetScenePos(io.qt.core.QPointF)
.final void
setScenePos
(QPointF pos) SeeQGraphicsSceneDragDropEvent::
setScenePos(QPointF) final void
setScreenPos
(QPoint pos) SeeQGraphicsSceneDragDropEvent::
setScreenPos(QPoint) final void
SeeQGraphicsSceneDragDropEvent::
setSource(QWidget*) final QWidget
source()
Methods inherited from class io.qt.widgets.QGraphicsSceneEvent
setTimestamp, setWidget, timestamp, toString, widget
Methods inherited from class io.qt.core.QEvent
accept, assign, 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
See
QGraphicsSceneDragDropEvent::
QGraphicsSceneDragDropEvent(QEvent::Type) - Parameters:
type
-
-
QGraphicsSceneDragDropEvent
public QGraphicsSceneDragDropEvent()Overloaded constructor for
QGraphicsSceneDragDropEvent(io.qt.core.QEvent.Type)
withtype = io.qt.core.QEvent.Type.None
.
-
-
Method Details
-
acceptProposedAction
-
buttons
- Returns:
-
dropAction
- Returns:
-
mimeData
- Returns:
-
modifiers
- Returns:
-
pos
- Returns:
-
possibleActions
- Returns:
-
proposedAction
- Returns:
-
scenePos
- Returns:
-
screenPos
- Returns:
-
setButtons
See
QGraphicsSceneDragDropEvent::
setButtons(Qt::MouseButtons) - Parameters:
buttons
-
-
setDropAction
- Parameters:
action
-
-
setMimeData
See
QGraphicsSceneDragDropEvent::
setMimeData(const QMimeData*) - Parameters:
data
-
-
setModifiers
See
QGraphicsSceneDragDropEvent::
setModifiers(Qt::KeyboardModifiers) - Parameters:
modifiers
-
-
setPos
See
QGraphicsSceneDragDropEvent::
setPos(QPointF) - Parameters:
pos
-
-
setPossibleActions
See
QGraphicsSceneDragDropEvent::
setPossibleActions(Qt::DropActions) - Parameters:
actions
-
-
setProposedAction
See
QGraphicsSceneDragDropEvent::
setProposedAction(Qt::DropAction) - Parameters:
action
-
-
setScenePos
See
QGraphicsSceneDragDropEvent::
setScenePos(QPointF) - Parameters:
pos
-
-
setScreenPos
See
QGraphicsSceneDragDropEvent::
setScreenPos(QPoint) - Parameters:
pos
-
-
setSource
See
QGraphicsSceneDragDropEvent::
setSource(QWidget*) - Parameters:
source
-
-
source
- Returns:
-
setButtons
Overloaded function for
setButtons(io.qt.core.Qt.MouseButtons)
. -
setModifiers
Overloaded function for
setModifiers(io.qt.core.Qt.KeyboardModifiers)
. -
setPos
Overloaded function for
setPos(io.qt.core.QPointF)
. -
setPossibleActions
Overloaded function for
setPossibleActions(io.qt.core.Qt.DropActions)
. -
setScenePos
Overloaded function for
setScenePos(io.qt.core.QPointF)
.
-