Event sent as a drag-and-drop is in progress. More...
#include <qevent.h>
Inherits QDropEvent.
Inherited by QDragEnterEvent.
When a widget accepts drop events, it will receive this event repeatedly while the the drag is inside that widget. The widget should examine the event, especially seeing what data it provides, and accept() the drop if appropriate.
Note that this class inherits most of its functionality from QDropEvent.
Examples: desktop/desktop.cpp
Creates a QDragMoveEvent for which the mouse is at point pos, and the given event type.
Note that internal state is also involved with QDragMoveEvent, so it is not useful to create these yourself.
Reimplemented for internal reasons; the API is not affected.
The same as accept(), but also notifies that future moves will also be acceptable if they remain within the rectangle r on the widget - this can improve performance, but may also be ignored by the underlying system.
If the rectangle is empty, then drag move events will be sent continuously. This is useful if the source is scrolling in a timer event.
Returns the rectangle for which the acceptance of the move event applies.
Reimplemented for internal reasons; the API is not affected.
The opposite of accept(const QRect&).
Search the documentation, FAQ, qt-interest archive and more (uses
www.trolltech.com):
This file is part of the Qt toolkit, copyright © 1995-2000 Trolltech, all rights reserved.
Copyright © 2000 Trolltech | Trademarks | Qt version 2.2.1
|