QEnterEvent Class
La classe QEnterEvent contiene parametri che descrivono un evento di ingresso. Per saperne di più...
| Intestazione: | #include <QEnterEvent> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS Gui) target_link_libraries(mytarget PRIVATE Qt6::Gui) |
| qmake: | QT += gui |
| Eredita da: | QSinglePointEvent |
- Elenco di tutti i membri, compresi quelli ereditati
- Elementi deprecati
- QEnterEvent fa parte delle classi Event.
Funzioni pubbliche
| QEnterEvent(const QPointF &localPos, const QPointF &scenePos, const QPointF &globalPos, const QPointingDevice *device = QPointingDevice::primaryPointingDevice()) |
Funzioni protette
| QEnterEvent(QEnterEvent &&) | |
| QEnterEvent & | operator=(QEnterEvent &&) |
| QEnterEvent & | operator=(const QEnterEvent &other) |
Descrizione dettagliata
Gli eventi Enter si verificano quando il cursore del mouse entra in una finestra o in un widget.
Documentazione delle funzioni membro
QEnterEvent::QEnterEvent(const QPointF &localPos, const QPointF &scenePos, const QPointF &globalPos, const QPointingDevice *device = QPointingDevice::primaryPointingDevice())
Crea un oggetto evento "enter" proveniente da device.
I punti localPos, scenePos e globalPos specificano la posizione del cursore del mouse rispetto, rispettivamente, al widget o all'elemento ricevente, alla finestra e allo schermo o al desktop.
[protected delete] QEnterEvent::QEnterEvent(QEnterEvent &&)
Crea un'istanza di ` QEnterEvent`. Questa funzione è stata eliminata.
[protected delete] QEnterEvent &QEnterEvent::operator=(QEnterEvent &&)
Assegna " other " a questa istanza di " QEnterEvent ". Questa funzione viene eliminata.
[noexcept protected default] QEnterEvent &QEnterEvent::operator=(const QEnterEvent &other)
Assegna “ other ” a questa istanza di “ QEnterEvent ”.
© 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.