java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.core.QEvent
io.qt.gui.QDropEvent
io.qt.gui.QDragMoveEvent
- All Implemented Interfaces:
QtObjectInterface
- Direct Known Subclasses:
QDragEnterEvent
public class QDragMoveEvent extends QDropEvent
Event which is sent while a drag and drop action is in progress
Java wrapper for Qt class QDragMoveEvent
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description QDragMoveEvent(QPoint pos, Qt.DropActions actions, QMimeData data, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers)
Overloaded constructor forQDragMoveEvent(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.DragMove
.QDragMoveEvent(QPoint pos, Qt.DropActions actions, QMimeData data, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, QEvent.Type type)
protected
QDragMoveEvent(QtObject.QPrivateConstructor p)
Constructor for internal use only. -
Method Summary
Modifier and Type Method Description void
accept(QRect r)
QRect
answerRect()
void
ignore(QRect r)
protected void
setAnswerRect(QRect rect)
String
toString()
Methods inherited from class io.qt.gui.QDropEvent
acceptProposedAction, dropAction, keyboardModifiers, mimeData, mouseButtons, pos, posF, possibleActions, proposedAction, setDropAction, setKeyboardModifiers, setKeyboardModifiers, setMouseButtons, setMouseButtons, setPosF, setPossibleActions, setPossibleActions, setProposedAction, source
Methods inherited from class io.qt.core.QEvent
accept, ignore, isAccepted, registerEventType, registerEventType, setAccepted, setT, spontaneous, t, type
-
Constructor Details
-
QDragMoveEvent
public QDragMoveEvent(QPoint pos, Qt.DropActions actions, QMimeData data, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers)Overloaded constructor for
QDragMoveEvent(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.DragMove
. -
QDragMoveEvent
public QDragMoveEvent(QPoint pos, Qt.DropActions actions, QMimeData data, Qt.MouseButtons buttons, Qt.KeyboardModifiers modifiers, QEvent.Type type) -
QDragMoveEvent
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
accept
-
answerRect
-
ignore
-
setAnswerRect
-
toString
- Overrides:
toString
in classQDropEvent
-