QDragEnterEvent Class Reference [модуль QtGui]
The QDragEnterEvent class provides an event which is sent to a widget when a drag and drop action enters it. Далее...
#include <QDragEnterEvent> Inherits QDragMoveEvent.
Открытые функции
- QDragEnterEvent ( const QPoint & point, Qt::DropActions actions, const QMimeData * data, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers )
Дополнительные унаследованные члены
- 1 свойство, унаследованное от QEvent
- 1 статический открытый член, унаследованный от QEvent
Подробное описание
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. Событие вхождения перетаскивания всегда непосредственно следует за событием перемещения перетаскивания.
QDragEnterEvent inherits most of its functionality from QDragMoveEvent, which in turn inherits most of its functionality from QDropEvent.
See also QDragLeaveEvent, QDragMoveEvent, and QDropEvent.
Описание функций-членов
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.
Warning: Do not create a QDragEnterEvent yourself since these objects rely on Qt's internal state.
|