java.lang.Object
io.qt.QtObject
io.qt.core.QEvent
io.qt.gui.QDropEvent
- All Implemented Interfaces:
QtObjectInterface
- Direct Known Subclasses:
QDragMoveEvent
Event which is sent when a drag and drop action is completed
Java wrapper for Qt's class QDropEvent
-
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
ModifierConstructorDescriptionQDropEvent
(QPointF pos, Qt.DropActions actions, QMimeData data, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers) Overloaded constructor forQDropEvent(io.qt.core.QPointF, io.qt.core.Qt.DropActions, io.qt.core.QMimeData, io.qt.core.Qt.MouseButtons, io.qt.core.Qt.KeyboardModifiers, io.qt.core.QEvent.Type)
withtype = io.qt.core.QEvent.Type.Drop
.QDropEvent
(QPointF pos, Qt.DropActions actions, QMimeData data, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, QEvent.Type type) protected
QDropEvent
(QDropEvent arg__1) protected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal void
final Qt.MouseButtons
buttons()
clone()
final Qt.DropAction
final Qt.KeyboardModifiers
Deprecated.final QMimeData
mimeData()
final Qt.KeyboardModifiers
final Qt.MouseButtons
Deprecated.Usebuttons()
insteadfinal QPoint
pos()
Deprecated.Use position().toPoint()final QPointF
posF()
Deprecated.Useposition()
insteadfinal QPointF
position()
final Qt.DropActions
final Qt.DropAction
protected final void
set
(QDropEvent other) final void
setDropAction
(Qt.DropAction action) protected final void
setKeyboardModifiers
(Qt.KeyboardModifier... keyboardModifiers) Overloaded function forsetKeyboardModifiers(io.qt.core.Qt.KeyboardModifiers)
.protected final void
setKeyboardModifiers
(Qt.KeyboardModifiers keyboardModifiers) protected final void
setMimeData
(QMimeData mimeData) protected final void
setMouseButtons
(Qt.MouseButton... mouseButtons) Overloaded function forsetMouseButtons(io.qt.core.Qt.MouseButtons)
.protected final void
setMouseButtons
(Qt.MouseButtons mouseButtons) protected final void
setPosition
(QPointF position) protected final void
setPossibleActions
(Qt.DropAction... possibleActions) Overloaded function forsetPossibleActions(io.qt.core.Qt.DropActions)
.protected final void
setPossibleActions
(Qt.DropActions possibleActions) protected final void
setProposedAction
(Qt.DropAction proposedAction) final QObject
source()
toString()
Methods inherited from class io.qt.core.QEvent
accept, ignore, isAccepted, isInputEvent, isPointerEvent, isSinglePointEvent, registerEventType, registerEventType, set, setAccepted, spontaneous, type
Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QDropEvent
-
QDropEvent
public QDropEvent(QPointF pos, Qt.DropActions actions, QMimeData data, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers) Overloaded constructor for
QDropEvent(io.qt.core.QPointF, io.qt.core.Qt.DropActions, io.qt.core.QMimeData, io.qt.core.Qt.MouseButtons, io.qt.core.Qt.KeyboardModifiers, io.qt.core.QEvent.Type)
withtype = io.qt.core.QEvent.Type.Drop
. -
QDropEvent
public QDropEvent(QPointF pos, Qt.DropActions actions, QMimeData data, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, QEvent.Type type) -
QDropEvent
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
acceptProposedAction
-
buttons
-
dropAction
-
keyboardModifiers
Deprecated.Usemodifiers()
instead -
mimeData
-
modifiers
-
mouseButtons
Deprecated.Usebuttons()
instead -
set
-
pos
Deprecated.Use position().toPoint() -
posF
Deprecated.Useposition()
instead -
position
-
possibleActions
-
proposedAction
-
setDropAction
-
source
-
clone
-
setPossibleActions
Overloaded function for
setPossibleActions(io.qt.core.Qt.DropActions)
. -
setPossibleActions
-
setMimeData
-
setProposedAction
-
setKeyboardModifiers
Overloaded function for
setKeyboardModifiers(io.qt.core.Qt.KeyboardModifiers)
. -
setKeyboardModifiers
-
setMouseButtons
Overloaded function for
setMouseButtons(io.qt.core.Qt.MouseButtons)
. -
setMouseButtons
-
setPosition
-
toString
-
modifiers()
instead