Classes - Annotated - Tree - Functions - Home - Structure

QDragEnterEvent Class Reference

The QDragEnterEvent class provides an event which is sent to the widget when a drag and drop first drags onto the widget. More...

#include <qevent.h>

Inherits QDragMoveEvent.

List of all member functions.

Public Members


Detailed Description

The QDragEnterEvent class provides an event which is sent to the widget when a drag and drop first drags onto the widget.

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 & pos )

Constructs a QDragEnterEvent entering at the given point, pos.

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


Search the documentation, FAQ, qt-interest archive and more (uses www.trolltech.com):


This file is part of the Qt toolkit, copyright © 1995-2001 Trolltech, all rights reserved.


Copyright © 2001 TrolltechTrademarks
Qt version 3.0.0-beta2