The QIconDragEvent class indicates that a main icon drag has begun. More...
|CMake:|| find_package(Qt6 REQUIRED COMPONENTS Gui) |
target_link_libraries(mytarget PRIVATE Qt6::Gui)
|qmake:||QT += gui|
|virtual QIconDragEvent *||clone() const override|
Icon drag events are sent to widgets when the main icon of a window has been dragged away. On macOS, this happens when the proxy icon of a window is dragged off the title bar.
It is normal to begin using drag and drop in response to this event.
Member Function Documentation
Constructs an icon drag event object with the accept flag set to false.
See also accept().
[protected] QIconDragEvent::QIconDragEvent(const QIconDragEvent &)
[protected] QIconDragEvent::QIconDragEvent(QIconDragEvent &&)
Destroys the instance of QIconDragEvent. The destructor is virtual.
[override virtual] QIconDragEvent *QIconDragEvent::clone() const
© 2022 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.