QDragLeaveEvent Class

Die Klasse QDragLeaveEvent stellt ein Ereignis bereit, das an ein Widget gesendet wird, wenn eine Drag&Drop-Aktion es verlässt. Mehr...

Kopfzeile: #include <QDragLeaveEvent>
CMake: find_package(Qt6 REQUIRED COMPONENTS Gui)
target_link_libraries(mytarget PRIVATE Qt6::Gui)
qmake: QT += gui
Vererbt: QEvent

Öffentliche Funktionen

Detaillierte Beschreibung

Diesem Ereignis geht immer ein QDragEnterEvent und eine Reihe von QDragMoveEventvoraus. Es wird nicht gesendet, wenn stattdessen ein QDropEvent gesendet wird.

Siehe auch QDragEnterEvent, QDragMoveEvent, und QDropEvent.

Dokumentation der Mitgliedsfunktionen

QDragLeaveEvent::QDragLeaveEvent()

Konstruiert ein QDragLeaveEvent.

Warnung: Erstellen Sie nicht selbst ein QDragLeaveEvent, da diese Objekte auf den internen Zustand von Qt angewiesen sind.

© 2025 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.