QEnterEvent Class

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

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

Öffentliche Funktionen

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

Detaillierte Beschreibung

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

Dokumentation der Mitgliedsfunktionen

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

Konstruiert ein Eingabe-Ereignisobjekt, das von device ausgeht.

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

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