#include <qevent.h>
Inheritance diagram for QDragEnterEvent:


A widget must accept this event in order to receive the {QDragMoveEvent}{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.
Definition at line 513 of file qevent.h.
Public Member Functions | |
| QDragEnterEvent (const QPoint &pos, Qt::DropActions actions, const QMimeData *data, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers) | |
| ~QDragEnterEvent () | |
| QDragEnterEvent::QDragEnterEvent | ( | const QPoint & | point, | |
| Qt::DropActions | actions, | |||
| const QMimeData * | data, | |||
| Qt::MouseButtons | buttons, | |||
| Qt::KeyboardModifiers | modifiers | |||
| ) |
Constructs a QDragEnterEvent that represents a drag entering a widget at the given point with mouse and keyboard states specified by buttons and modifiers.
The drag data is passed as MIME-encoded information in data, and the specified actions describe the possible types of drag and drop operation that can be performed.
Definition at line 2433 of file qevent.cpp.
02435 : QDragMoveEvent(point, actions, data, buttons, modifiers, DragEnter) 02436 {}
| QDragEnterEvent::~QDragEnterEvent | ( | ) |
1.5.1