Obsolete Members for QWheelEvent
QWheelEvent 클래스의 다음 멤버들은 더 이상 사용되지 않습니다. 이 멤버들은 기존 소스 코드가 계속 작동하도록 하기 위해 제공됩니다. 새로운 코드에서는 이 멤버들을 사용하지 않는 것을 강력히 권장합니다.
공개 함수
(deprecated in 6.0) Qt::MouseEventSource | source() const |
멤버 함수 설명
[deprecated in 6.0] Qt::MouseEventSource QWheelEvent::source() const
이 함수는 6.0 버전부터 더 이상 사용되지 않습니다. 새로운 코드에서는 이 함수를 사용하지 않는 것을 강력히 권장합니다.
대신 ` pointingDevice()`를 사용하십시오.
휠 이벤트 소스에 대한 정보를 반환합니다.
이 소스를 사용하면 물리적 휠이 있는 마우스에서 발생하는 이벤트와 터치패드의 플릭 제스처와 같은 다른 방식으로 생성된 이벤트를 구분할 수 있습니다. 이 열거형은 이벤트가 어디에서 합성되었는지를 알려주지만, 어떤 장치에서 합성되었는지를 아는 것이 더 유용한 경우가 많으므로 대신 ` pointingDevice()`를 사용하십시오.
참고: 많은 플랫폼에서는 이러한 정보를 제공하지 않습니다. 이러한 플랫폼에서는 항상 ` Qt::MouseEventNotSynthesized `가 반환됩니다.
Qt::MouseEventSource도 참조하십시오 .
© 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.