Sur cette page

QDragLeaveEvent Class

La classe QDragLeaveEvent fournit un événement qui est envoyé à un widget lorsqu'une action de glisser-déposer le quitte. Plus d'informations...

En-tête : #include <QDragLeaveEvent>
CMake : find_package(Qt6 REQUIRED COMPONENTS Gui)
target_link_libraries(mytarget PRIVATE Qt6::Gui)
qmake : QT += gui
Héritages : QEvent

Fonctions publiques

Description détaillée

Cet événement est toujours précédé d'un QDragEnterEvent et d'une série de QDragMoveEvent. Il n'est pas envoyé si un QDropEvent est envoyé à la place.

Voir également QDragEnterEvent, QDragMoveEvent, et QDropEvent.

Documentation des fonctions membres

QDragLeaveEvent::QDragLeaveEvent()

Construit un QDragLeaveEvent.

Attention : Ne créez pas vous-même un QDragLeaveEvent car ces objets dépendent de l'état interne de Qt.

© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.