PySide6.QtGui.QDragLeaveEvent¶
- class QDragLeaveEvent¶
The
QDragLeaveEvent
class provides an event that is sent to a widget when a drag and drop action leaves it. More…Synopsis¶
Methods¶
def
__init__()
def
__repr__()
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 ofQDragMoveEvent
s. It is not sent if aQDropEvent
is sent instead.See also
- __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__1 –
QDragLeaveEvent
- __repr__()¶
- Return type:
str