- All Implemented Interfaces:
QtObjectInterface
,Cloneable
- Direct Known Subclasses:
QDragMoveEvent
Event which is sent when a drag and drop action is completed
Java wrapper for Qt class QDropEvent
-
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
ConstructorDescriptionQDropEvent
(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) QDropEvent
(QPoint pos, Qt.DropActions actions, QMimeData data, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers) Overloaded constructor forQDropEvent(io.qt.core.QPoint, 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
(QPoint pos, Qt.DropActions actions, QMimeData data, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, QEvent.Type type) -
Method Summary
Modifier and TypeMethodDescriptionfinal void
final Qt.DropAction
final Qt.KeyboardModifiers
final QMimeData
mimeData()
final Qt.MouseButtons
final QPoint
pos()
final QPointF
posF()
final Qt.DropActions
final Qt.DropAction
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) SeeQDropEvent::
modState protected final void
setMimeData
(QMimeData mimeData) SeeQDropEvent::
mdata protected final void
setMouseButtons
(Qt.MouseButton ... mouseButtons) Overloaded function forsetMouseButtons(io.qt.core.Qt.MouseButtons)
.protected final void
setMouseButtons
(Qt.MouseButtons mouseButtons) SeeQDropEvent::
mouseState protected final void
Overloaded function forsetPosF(io.qt.core.QPointF)
.protected final void
SeeQDropEvent::
p protected final void
setPossibleActions
(Qt.DropAction ... possibleActions) Overloaded function forsetPossibleActions(io.qt.core.Qt.DropActions)
.protected final void
setPossibleActions
(Qt.DropActions possibleActions) SeeQDropEvent::
act protected final void
setProposedAction
(Qt.DropAction proposedAction) SeeQDropEvent::
default_action final QObject
source()
Methods inherited from class io.qt.core.QEvent
accept, assign, clone, ignore, isAccepted, registerEventType, registerEventType, set, setAccepted, spontaneous, toString, type
Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QDropEvent
public QDropEvent(QPointF pos, Qt.DropActions actions, QMimeData data, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, QEvent.Type type) -
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(QPoint pos, Qt.DropActions actions, QMimeData data, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers) Overloaded constructor for
QDropEvent(io.qt.core.QPoint, 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(QPoint pos, Qt.DropActions actions, QMimeData data, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, QEvent.Type type)
-
-
Method Details
-
acceptProposedAction
-
dropAction
-
keyboardModifiers
-
mimeData
-
mouseButtons
-
pos
-
posF
-
possibleActions
-
proposedAction
-
setDropAction
-
source
-
setPossibleActions
See
QDropEvent::
act -
setProposedAction
See
QDropEvent::
default_action -
setMimeData
See
QDropEvent::
mdata -
setKeyboardModifiers
See
QDropEvent::
modState -
setMouseButtons
See
QDropEvent::
mouseState -
setPosF
See
QDropEvent::
p -
setPossibleActions
Overloaded function for
setPossibleActions(io.qt.core.Qt.DropActions)
. -
setKeyboardModifiers
Overloaded function for
setKeyboardModifiers(io.qt.core.Qt.KeyboardModifiers)
. -
setMouseButtons
Overloaded function for
setMouseButtons(io.qt.core.Qt.MouseButtons)
. -
setPosF
Overloaded function for
setPosF(io.qt.core.QPointF)
.
-