QEnterEvent Class

QEnterEvent 클래스에는 입력 이벤트를 설명하는 매개변수가 포함되어 있습니다. 더 보기...

Header: #include <QEnterEvent>
CMake: find_package(Qt6 REQUIRED COMPONENTS Gui)
target_link_libraries(mytarget PRIVATE Qt6::Gui)
qmake: QT += gui
상속합니다: QSinglePointEvent

공용 함수

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

상세 설명

Enter 이벤트는 마우스 커서가 창이나 위젯에 들어갈 때 발생합니다.

멤버 함수 문서

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

device 에서 시작되는 입력 이벤트 객체를 생성합니다.

localPos, scenePosglobalPos 포인트는 각각 수신 위젯 또는 항목, 창, 화면 또는 바탕화면을 기준으로 마우스 커서의 위치를 지정합니다.

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