The QDragLeaveEvent class provides an event that is sent to a widget when a drag and drop action leaves it. 更多...
头: | #include <QDragLeaveEvent> |
CMake: |
find_package(Qt6 COMPONENTS Gui REQUIRED)
target_link_libraries(mytarget PRIVATE Qt6::Gui) |
qmake: | QT += gui |
继承: | QEvent |
QDragLeaveEvent () |
This event is always preceded by a QDragEnterEvent and a series of QDragMoveEvent s. It is not sent if a QDropEvent is sent instead.
另请参阅 QDragEnterEvent , QDragMoveEvent ,和 QDropEvent .
Constructs a QDragLeaveEvent.
警告: Do not create a QDragLeaveEvent yourself since these objects rely on Qt's internal state.