QDragMoveEvent Class ReferenceThe QDragMoveEvent class provides an event which is sent while a drag and drop action is in progress. More... #include <QDragMoveEvent> Inherits: QDropEvent. Inherited by: QDragEnterEvent. Public Functions
Additional Inherited MembersDetailed DescriptionThe QDragMoveEvent class provides an event which is sent while a drag and drop action is in progress. A widget will receive drag move events repeatedly while the drag is within its boundaries, if it accepts drop events and enter events. The widget should examine the event to see what kind of data it provides, and call the accept() function to accept the drop if appropriate. The rectangle supplied by the answerRect() function can be used to restrict drops to certain parts of the widget. For example, we can check whether the rectangle intersects with the geometry of a certain child widget and only call acceptProposedAction() if that is the case. Note that this class inherits most of its functionality from QDropEvent. See also QDragEnterEvent, QDragLeaveEvent, and QDropEvent. Member Function Documentation
|