이 페이지에서

QEnterEvent Class

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

헤더: #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())

보호된 함수

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

상세 설명

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

멤버 함수 설명

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

device 에서 비롯된 enter 이벤트 객체를 생성합니다.

localPos, scenePos 및 globalPos 지점은 각각 수신 위젯 또는 항목, 창, 화면 또는 바탕화면을 기준으로 한 마우스 커서의 위치를 지정합니다.

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

QEnterEvent 의 인스턴스를 move-construct로 생성합니다. 이 함수는 삭제되었습니다.

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

other 를 이 QEnterEvent 인스턴스에 할당합니다. 이 함수는 삭제됩니다.

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

other 를 이 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.