|  | Home · Overviews · Examples |

# QDragEnterEvent Class Reference
[com.trolltech.qt.gui module]

The `QDragEnterEvent` class provides an event which is sent to a widget when a drag and drop action enters it. More...

Inherits `QDragMoveEvent`.

## Detailed Description

The `QDragEnterEvent` class provides an event which is sent to a widget when a drag and drop action enters it.

A widget must accept this event in order to receive the drag move events that are sent while the drag and drop action is in progress. The drag enter event is always immediately followed by a drag move event.

`QDragEnterEvent` inherits most of its functionality from `QDragMoveEvent`, which in turn inherits most of its functionality from `QDropEvent`.

See also `QDragLeaveEvent`, `QDragMoveEvent`, and `QDropEvent`.