QIconDragEvent Class
La clase `QIconDragEvent` indica que se ha iniciado el arrastre de un icono principal. Más...
| Encabezado: | #include <QIconDragEvent> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS Gui) target_link_libraries(mytarget PRIVATE Qt6::Gui) |
| qmake: | QT += gui |
| Heredado de: | QEvent |
- Lista de todos los miembros, incluidos los heredados
- QIconDragEvent forma parte de las clases de eventos.
Funciones públicas
Funciones protegidas
| QIconDragEvent(QIconDragEvent &&) | |
| QIconDragEvent & | operator=(QIconDragEvent &&) |
| QIconDragEvent & | operator=(const QIconDragEvent &other) |
Descripción detallada
Los eventos de arrastre de iconos se envían a los controles cuando se arrastra fuera de su posición el icono principal de una ventana. En macOS, esto ocurre cuando se arrastra fuera de la barra de título el icono proxy de una ventana.
Lo habitual es comenzar a utilizar la función de arrastrar y soltar en respuesta a este evento.
Véase también «Arrastrar y soltar», QMimeData y QDrag.
Documentación de funciones de miembro
QIconDragEvent::QIconDragEvent()
Crea un objeto de evento de arrastre de icono con el indicador «accept» establecido en «false».
Véase también accept().
[protected delete] QIconDragEvent::QIconDragEvent(QIconDragEvent &&)
Crea una instancia de ` QIconDragEvent` mediante «move». Esta función se ha eliminado.
[protected delete] QIconDragEvent &QIconDragEvent::operator=(QIconDragEvent &&)
Asigna mediante «move» other a esta instancia de QIconDragEvent. Esta función se elimina.
[noexcept protected default] QIconDragEvent &QIconDragEvent::operator=(const QIconDragEvent &other)
Asigna por copia other a esta instancia de QIconDragEvent.
© 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.