OrientationReading QML Type
OrientationReading 要素は、最新のOrientationSensor の読み取り値を保持します。詳細...
Import Statement: | import QtSensors |
Since: | QtSensors 5.0 |
Inherits: |
プロパティ
- orientation : Orientation
詳細説明
OrientationReading 要素は、最新のOrientationSensor リーディングを保持する。
この要素はQOrientationReading クラスをラップしています。詳細はQOrientationReading のドキュメントを参照してください。
この要素を直接作成することはできません。
プロパティの説明
orientation : Orientation |
このプロパティは、デバイスの向きを保持します。
このプロパティに関する情報はQOrientationReading::orientation を参照してください。
Orientation 定数は、OrientationReading クラスを通して公開されることに注意してください。
OrientationSensor { onReadingChanged: { if (reading.orientation == OrientationReading.TopUp) // do something } }
© 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.