class QDragLeaveEvent

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

Inheritance diagram of PySide6.QtGui.QDragLeaveEvent

Synopsis

Methods

Note

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

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.

__init__()

Constructs a QDragLeaveEvent .

Warning

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

__init__(arg__1)
Parameters:

arg__1QDragLeaveEvent

__repr__()
Return type:

str