702 qDebug(
"QOleDropTarget::DragOver(grfKeyState %d, pt (%d,%d), pdwEffect %d)", grfKeyState, pt.x, pt.y, pdwEffect);
711 *pdwEffect = DROPEFFECT_NONE;
720 if (!dragOverWidget || !
acceptsDrop(dragOverWidget)) {
721 *pdwEffect = DROPEFFECT_NONE;
738 if (!dragOverWidgetGuard) {
760 if (oldEvent.dropAction() == e.dropAction() &&
761 oldEvent.keyboardModifiers() == e.keyboardModifiers())
Qt::DropActions translateToQDragDropActions(DWORD pdwEffects)
QPointer< QWidget > currentWidget
Qt::DropAction translateToQDragDropAction(DWORD pdwEffect)
void sendDragEnterEvent(QWidget *to, DWORD grfKeyState, POINTL pt, LPDWORD pdwEffect)
The QDragMoveEvent class provides an event which is sent while a drag and drop action is in progress...
DWORD translateToWinDragEffects(Qt::DropActions action)
Q_CORE_EXPORT void qDebug(const char *,...)
static bool sendEvent(QObject *receiver, QEvent *event)
Sends event event directly to receiver receiver, using the notify() function.
The QDragLeaveEvent class provides an event that is sent to a widget when a drag and drop action leav...
Qt::MouseButtons toQtMouseButtons(DWORD keyState)
The QMimeData class provides a container for data that records information about its MIME type...
bool contains(const QPoint &p, bool proper=false) const
Returns true if the given point is inside or on the edge of the rectangle, otherwise returns false...
static QDragManager * self()
static bool tryModalHelper(QWidget *widget, QWidget **rettop=0)
static bool acceptsDrop(const QWidget *w)
The QPoint class defines a point in the plane using integer precision.
QDragPrivate * dragPrivate() const
Qt::KeyboardModifiers toQtKeyboardModifiers(DWORD keyState)