Home · All Classes · Main Classes · Annotated · Grouped Classes · Functions

QDragEnterEvent Class Reference

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

#include <QDragEnterEvent>

Part of the QtGui module.

Inherits QDragMoveEvent.

Public Functions

Additional Inherited Members


Detailed Description

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

This event is always immediately followed by a QDragMoveEvent, so you only need to respond to one or the other event. This class inherits most of its functionality from QDragMoveEvent, which in turn inherits most of its functionality from QDropEvent.

See also QDragLeaveEvent, QDragMoveEvent, and QDropEvent.


Member Function Documentation

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. The drag data is passed as data.

Warning: Do not create a QDragEnterEvent yourself since these objects rely on Qt's internal state.

QDragEnterEvent::~QDragEnterEvent ()


Copyright © 2005 Trolltech Trademarks
Qt 4.0.0-b2