W3cubDocs

/Qt 5.15

DistanceSensor QML Type

The DistanceSensor element reports the distance in cm from an object to the device. More...

Import Statement: import QtSensors 5.15
Since: QtSensors 5.4
Inherits:

Sensor

Detailed Description

The DistanceSensor element reports the distance in cm from an object to the device.

This element wraps the QDistanceSensor class. Please see the documentation for QDistanceSensor for details.

See also DistanceReading.

© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-5.15/qml-qtsensors-distancesensor.html