|Home | All Classes | Main Classes | Annotated | Grouped Classes | Functions|
The QDragMoveEvent class provides an event which is sent while a drag and drop is in progress. More...
Inherited by QDragEnterEvent.
List of all member functions.
When a widget accepts drop events, it will receive this event repeatedly while the drag is within the widget's boundaries. The widget should examine the event to see what data it provides, and accept() the drop if appropriate.
Note that this class inherits most of its functionality from QDropEvent.
See also Drag And Drop Classes and Event Classes.
Creates a QDragMoveEvent for which the mouse is at point pos, and the event is of type type.
Warning: Do not create a QDragMoveEvent yourself since these objects rely on Qt's internal state.
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.
Examples: desktop/desktop.cpp and dirview/dirview.cpp.
Returns the rectangle for which the acceptance of the move event applies.
The opposite of accept(const QRect&), i.e. says that moves within rectangle r are not acceptable (will be ignored).
This file is part of the Qt toolkit. Copyright © 1995-2007 Trolltech. All Rights Reserved.
|Copyright © 2007 Trolltech||Trademarks|