java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.core.QEvent
io.qt.gui.QDropEvent
- All Implemented Interfaces:
QtObjectInterface
- Direct Known Subclasses:
QDragMoveEvent
public class QDropEvent extends QEvent
Event which is sent when a drag and drop action is completed
Java wrapper for Qt class QDropEvent
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description QDropEvent(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(QtObject.QPrivateConstructor p)
Constructor for internal use only. -
Method Summary
Methods inherited from class io.qt.core.QEvent
accept, ignore, isAccepted, registerEventType, registerEventType, set, setAccepted, spontaneous, type
-
Constructor Details
-
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
-
dropAction
-
keyboardModifiers
-
mimeData
-
mouseButtons
-
pos
-
posF
-
possibleActions
-
proposedAction
-
setDropAction
-
source
-
setPossibleActions
Overloaded function for
setPossibleActions(io.qt.core.Qt.DropActions)
. -
setPossibleActions
-
setProposedAction
-
setMimeData
-
setKeyboardModifiers
Overloaded function for
setKeyboardModifiers(io.qt.core.Qt.KeyboardModifiers)
. -
setKeyboardModifiers
-
setMouseButtons
Overloaded function for
setMouseButtons(io.qt.core.Qt.MouseButtons)
. -
setMouseButtons
-
setPosF
-
toString
-