Obsolete Members for QEnterEvent

QEnterEvent 클래스의 다음 멤버들은 더 이상 사용되지 않습니다. 이 멤버들은 기존 소스 코드가 계속 작동하도록 하기 위해 제공됩니다. 새로운 코드에서는 이 멤버들을 사용하지 말 것을 강력히 권장합니다.

공개 함수

(deprecated in 6.0) QPoint globalPos() const
(deprecated in 6.0) int globalX() const
(deprecated in 6.0) int globalY() const
(deprecated in 6.0) QPointF localPos() const
(deprecated in 6.0) QPoint pos() const
(deprecated in 6.0) QPointF screenPos() const
(deprecated in 6.0) QPointF windowPos() const
(deprecated in 6.0) int x() const
(deprecated in 6.0) int y() const

멤버 함수 설명

[deprecated in 6.0] QPoint QEnterEvent::globalPos() const

이 함수는 6.0 버전부터 더 이상 권장되지 않습니다. 새로운 코드에서는 이 함수를 사용하지 않는 것이 좋습니다.

대신 globalPosition()을 사용하십시오.

이벤트가 발생한 시점의 마우스 커서의 전역 위치를 반환합니다.

[deprecated in 6.0] int QEnterEvent::globalX() const

이 함수는 6.0 버전부터 더 이상 사용되지 않습니다. 새로운 코드에서는 이 함수를 사용하지 않는 것을 강력히 권장합니다.

대신 ` globalPosition()` 또는 `x()`을 사용하십시오.

이벤트가 발생한 시점의 마우스 커서의 X축 전체 좌표를 반환합니다.

[deprecated in 6.0] int QEnterEvent::globalY() const

이 함수는 6.0 버전부터 더 이상 사용되지 않습니다. 새로운 코드에서는 이 함수를 사용하지 않는 것을 강력히 권장합니다.

대신 ` globalPosition()`, `y()`를 사용하십시오.

이벤트가 발생한 시점의 마우스 커서의 Y축 전체 위치 정보를 반환합니다.

[deprecated in 6.0] QPointF QEnterEvent::localPos() const

이 함수는 6.0 버전부터 더 이상 사용되지 않습니다. 새로운 코드에서는 이 함수를 사용하지 않는 것을 강력히 권장합니다.

대신 ` position()`를 사용하십시오.

마우스 커서의 위치를 수신 위젯을 기준으로 반환합니다.

[deprecated in 6.0] QPoint QEnterEvent::pos() const

이 함수는 6.0 버전부터 사용 중단되었습니다. 새로운 코드에서는 이 함수를 사용하지 않는 것을 강력히 권장합니다.

대신 ` position().toPoint()`를 사용하십시오.

수신 위젯을 기준으로 한 마우스 커서의 위치를 반환합니다.

[deprecated in 6.0] QPointF QEnterEvent::screenPos() const

이 함수는 6.0 버전부터 더 이상 사용되지 않습니다. 새로운 코드에서는 이 함수를 사용하지 않는 것을 강력히 권장합니다.

대신 ` globalPosition()`를 사용하십시오.

수신 화면을 기준으로 한 마우스 커서의 위치를 반환합니다.

[deprecated in 6.0] QPointF QEnterEvent::windowPos() const

이 함수는 6.0 버전부터 더 이상 사용되지 않습니다. 새로운 코드에서는 이 함수를 사용하지 않는 것을 강력히 권장합니다.

대신 ` scenePosition()`를 사용하십시오.

수신 창을 기준으로 마우스 커서의 위치를 반환합니다.

[deprecated in 6.0] int QEnterEvent::x() const

이 함수는 6.0 버전부터 더 이상 사용되지 않습니다. 새로운 코드에서는 이 함수를 사용하지 않는 것을 강력히 권장합니다.

대신 ` position().x()`를 사용하십시오.

수신 위젯을 기준으로 마우스 커서의 x 좌표를 반환합니다.

[deprecated in 6.0] int QEnterEvent::y() const

이 함수는 6.0 버전부터 더 이상 사용되지 않습니다. 새로운 코드에서는 이 함수를 사용하지 않는 것을 강력히 권장합니다.

대신 ` position().y()`를 사용하십시오.

수신 위젯을 기준으로 마우스 커서의 y 좌표를 반환합니다.

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