QDragLeaveEventclass provides an event that is sent to a widget when a drag and drop action leaves it. 更多 …
This event is always preceded by a
QDragEnterEventand a series ofQDragMoveEvents. It is not sent if aQDropEventis sent instead.
QDragLeaveEvent
¶
构造
QDragLeaveEvent
.
警告
Do not create a
QDragLeaveEvent
yourself since these objects rely on Qt’s internal state.