The QDragLeaveEvent class provides an event that is sent to a widget when a drag and drop action leaves it. More

Inheritance diagram of PySide2.QtGui.QDragLeaveEvent

Detailed Description

This event is always preceded by a QDragEnterEvent and a series of QDragMoveEvent s. It is not sent if a QDropEvent is sent instead.

class PySide2.QtGui.QDragLeaveEvent

Constructs a QDragLeaveEvent .


Do not create a QDragLeaveEvent yourself since these objects rely on Qt’s internal state.