Auf dieser Seite

QEnterEvent Class

Die Klasse „QEnterEvent“ enthält Parameter, die ein Enter-Ereignis beschreiben. Mehr...

Header: #include <QEnterEvent>
CMake: find_package(Qt6 REQUIRED COMPONENTS Gui)
target_link_libraries(mytarget PRIVATE Qt6::Gui)
qmake: QT += gui
Erbt von: QSinglePointEvent

Öffentliche Funktionen

QEnterEvent(const QPointF &localPos, const QPointF &scenePos, const QPointF &globalPos, const QPointingDevice *device = QPointingDevice::primaryPointingDevice())

Geschützte Funktionen

QEnterEvent(QEnterEvent &&)
QEnterEvent &operator=(QEnterEvent &&)
QEnterEvent &operator=(const QEnterEvent &other)

Ausführliche Beschreibung

Enter-Ereignisse treten auf, wenn der Mauszeiger in ein Fenster oder ein Widget eintritt.

Dokumentation der Mitgliedsfunktionen

QEnterEvent::QEnterEvent(const QPointF &localPos, const QPointF &scenePos, const QPointF &globalPos, const QPointingDevice *device = QPointingDevice::primaryPointingDevice())

Erstellt ein „enter“-Ereignisobjekt, das von device stammt.

Die Punkte localPos, scenePos und globalPos geben die Position des Mauszeigers relativ zum empfangenden Widget bzw. Element, zum Fenster sowie zum Bildschirm bzw. Desktop an.

[protected delete] QEnterEvent::QEnterEvent(QEnterEvent &&)

Erstellt eine Instanz von ` QEnterEvent`. Diese Funktion wurde gelöscht.

[protected delete] QEnterEvent &QEnterEvent::operator=(QEnterEvent &&)

Weist „ other “ dieser „ QEnterEvent “-Instanz zu. Diese Funktion wird gelöscht.

[noexcept protected default] QEnterEvent &QEnterEvent::operator=(const QEnterEvent &other)

other Weist dieser „ QEnterEvent “-Instanz die „ “-Instanz zu. zu dieser „ “-Instanz.

© 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.