QIconDragEvent Class
A classe QIconDragEvent indica que o arrastar de um ícone principal foi iniciado. Mais...
| Cabeçalho: | #include <QIconDragEvent> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS Gui) target_link_libraries(mytarget PRIVATE Qt6::Gui) |
| qmake: | QT += gui |
| Herdado de: | QEvent |
- Lista de todos os membros, incluindo os herdados
- QIconDragEvent faz parte das Classes de Eventos.
Funções públicas
Funções protegidas
| QIconDragEvent(QIconDragEvent &&) | |
| QIconDragEvent & | operator=(QIconDragEvent &&) |
| QIconDragEvent & | operator=(const QIconDragEvent &other) |
Descrição detalhada
Eventos de arrastar ícone são enviados aos widgets quando o ícone principal de uma janela é arrastado para fora da janela. No macOS, isso ocorre quando o ícone proxy de uma janela é arrastado para fora da barra de título.
É comum iniciar o uso do recurso arrastar e soltar em resposta a esse evento.
Veja também Arrastar e soltar, QMimeData e QDrag.
Documentação das funções de membro
QIconDragEvent::QIconDragEvent()
Cria um objeto de evento de arrastar de ícone com o sinalizador “accept” definido como false.
Veja também ` accept()`.
[protected delete] QIconDragEvent::QIconDragEvent(QIconDragEvent &&)
Cria uma instância de ` QIconDragEvent` por meio da função `move`. Essa função foi excluída.
[protected delete] QIconDragEvent &QIconDragEvent::operator=(QIconDragEvent &&)
A função “Move-assigns” atribui “ other ” a esta instância “ QIconDragEvent ”. Essa função é excluída.
[noexcept protected default] QIconDragEvent &QIconDragEvent::operator=(const QIconDragEvent &other)
Copia e atribui other a esta instância 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.