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#

Functions#

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.

class PySide6.QtGui.QDragLeaveEvent#

PySide6.QtGui.QDragLeaveEvent(arg__1)

Parameters:

arg__1PySide6.QtGui.QDragLeaveEvent

Constructs a QDragLeaveEvent .

Warning

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

PySide6.QtGui.QDragLeaveEvent.__repr__()#
Return type:

object