- All Implemented Interfaces:
QtObjectInterface
- 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
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) 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) protected
QDropEvent
(QDropEvent arg__1) -
Method Summary
Modifier and TypeMethodDescriptionfinal void
protected final void
assign
(QDropEvent other) SeeQDropEvent::
operator=(QDropEvent) final Qt.MouseButtons
buttons()
clone()
final Qt.DropAction
final Qt.KeyboardModifiers
Deprecated.final QMimeData
mimeData()
final Qt.KeyboardModifiers
final Qt.MouseButtons
Deprecated.Usebuttons()
instead@returnfinal QPoint
pos()
Deprecated.Use position().toPoint()@returnfinal QPointF
posF()
Deprecated.Useposition()
instead@returnfinal QPointF
position()
final Qt.DropActions
final Qt.DropAction
protected final void
set
(QDropEvent other) Deprecated.Useassign(io.qt.gui.QDropEvent)
instead.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::
m_modState protected final void
setMimeData
(QMimeData mimeData) SeeQDropEvent::
m_data protected final void
setMouseButtons
(Qt.MouseButton ... mouseButtons) Overloaded function forsetMouseButtons(io.qt.core.Qt.MouseButtons)
.protected final void
setMouseButtons
(Qt.MouseButtons mouseButtons) SeeQDropEvent::
m_mouseState protected final void
setPosition
(QPoint position) Overloaded function forsetPosition(io.qt.core.QPointF)
.protected final void
setPosition
(QPointF position) SeeQDropEvent::
m_pos protected final void
setPossibleActions
(Qt.DropAction ... possibleActions) Overloaded function forsetPossibleActions(io.qt.core.Qt.DropActions)
.protected final void
setPossibleActions
(Qt.DropActions possibleActions) SeeQDropEvent::
m_actions protected final void
setProposedAction
(Qt.DropAction proposedAction) SeeQDropEvent::
m_defaultAction final QObject
source()
Methods inherited from class io.qt.core.QEvent
accept, assign, ignore, isAccepted, isInputEvent, isPointerEvent, isSinglePointEvent, registerEventType, registerEventType, set, setAccepted, spontaneous, toString, type
Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QDropEvent
- Parameters:
arg__1
-
-
QDropEvent
public QDropEvent(QPointF pos, Qt.DropActions actions, QMimeData data, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, QEvent.Type type) - Parameters:
pos
-actions
-data
-buttons
-modifiers
-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
-
buttons
- Returns:
- Since:
- This function was introduced in Qt 6.0.
-
dropAction
- Returns:
-
keyboardModifiers
Deprecated.Usemodifiers()
instead@returnSee
QDropEvent::
keyboardModifiers()const -
mimeData
- Returns:
-
modifiers
- Returns:
- Since:
- This function was introduced in Qt 6.0.
-
mouseButtons
Deprecated.Usebuttons()
instead@returnSee
QDropEvent::
mouseButtons()const -
assign
See
QDropEvent::
operator=(QDropEvent) - Parameters:
other
-
-
pos
Deprecated.Use position().toPoint()@returnSee
QDropEvent::
pos()const -
posF
Deprecated.Useposition()
instead@returnSee
QDropEvent::
posF()const -
position
- Returns:
- Since:
- This function was introduced in Qt 6.0.
-
possibleActions
- Returns:
-
proposedAction
- Returns:
-
setDropAction
- Parameters:
action
-
-
source
- Returns:
-
clone
-
setPossibleActions
See
QDropEvent::
m_actions - Parameters:
possibleActions
-
-
setMimeData
See
QDropEvent::
m_data - Parameters:
mimeData
-
-
setProposedAction
See
QDropEvent::
m_defaultAction - Parameters:
proposedAction
-
-
setKeyboardModifiers
See
QDropEvent::
m_modState - Parameters:
keyboardModifiers
-
-
setMouseButtons
See
QDropEvent::
m_mouseState - Parameters:
mouseButtons
-
-
setPosition
See
QDropEvent::
m_pos - Parameters:
position
-
-
set
Deprecated.Useassign(io.qt.gui.QDropEvent)
instead. -
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)
. -
setPosition
Overloaded function for
setPosition(io.qt.core.QPointF)
.
-
modifiers()
instead@return