QDragLeaveEvent class provides an event that is sent to a widget when a drag and drop action leaves it. More…
This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE
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 PySide6.QtGui.QDragLeaveEvent#
Do not create a
QDragLeaveEvent yourself since these objects rely on Qt’s internal state.
- Return type: