이 페이지에서

OrientationReading QML Type

OrientationReading 요소는 가장 최근의 OrientationSensor 측정값을 포함합니다. 더 보기...

Import Statement: import QtSensors
Since: QtSensors 5.0
Inherits:

SensorReading

속성

상세 설명

OrientationReading 요소는 가장 최근의 OrientationSensor 측정값을 포함합니다.

이 요소는 QOrientationReading 클래스를 감싸고 있습니다. 자세한 내용은 QOrientationReading 문서를 참조하십시오.

이 요소는 직접 생성할 수 없습니다.

속성 설명

orientation : Orientation

이 속성은 기기의 방향을 나타냅니다.

이 속성에 대한 자세한 내용은 QOrientationReading::orientation 을 참조하십시오.

Orientation 상수는 OrientationReading 클래스를 통해 노출된다는 점에 유의하십시오.

OrientationSensor {
    onReadingChanged: {
        if (reading.orientation == OrientationReading.TopUp)
            // do something
    }
}

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