QIconDragEvent Class
Die Klasse „QIconDragEvent“ zeigt an, dass das Ziehen eines Hauptsymbols begonnen hat. Mehr...
| Header: | #include <QIconDragEvent> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS Gui) target_link_libraries(mytarget PRIVATE Qt6::Gui) |
| qmake: | QT += gui |
| Erbt von: | QEvent |
- Liste aller Mitglieder, einschließlich geerbter Mitglieder
- QIconDragEvent ist Teil der Ereignisklassen.
Öffentliche Funktionen
Geschützte Funktionen
| QIconDragEvent(QIconDragEvent &&) | |
| QIconDragEvent & | operator=(QIconDragEvent &&) |
| QIconDragEvent & | operator=(const QIconDragEvent &other) |
Ausführliche Beschreibung
Icon-Drag-Ereignisse werden an Widgets gesendet, wenn das Hauptsymbol eines Fensters weggezogen wurde. Unter macOS geschieht dies, wenn das Proxy-Symbol eines Fensters aus der Titelleiste gezogen wird.
Es ist üblich, als Reaktion auf dieses Ereignis die Drag-and-Drop-Funktion zu aktivieren.
Siehe auch „Drag & Drop“, „ QMimeData “ und „ QDrag “.
Dokumentation der Member-Funktionen
QIconDragEvent::QIconDragEvent()
Erstellt ein Objekt für ein Symbol-Drag-Ereignis, bei dem das „accept“-Flag auf „false“ gesetzt ist.
Siehe auch ` accept()`.
[protected delete] QIconDragEvent::QIconDragEvent(QIconDragEvent &&)
Erstellt eine Instanz von ` QIconDragEvent`. Diese Funktion wurde gelöscht.
[protected delete] QIconDragEvent &QIconDragEvent::operator=(QIconDragEvent &&)
Weist „ other “ dieser „ QIconDragEvent “-Instanz zu. Diese Funktion wird gelöscht.
[noexcept protected default] QIconDragEvent &QIconDragEvent::operator=(const QIconDragEvent &other)
other Weist dieser Instanz von „ QIconDragEvent “ die Werte von „ “ zu. zu dieser Instanz von „ “ zu.
© 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.