W3cubDocs

/Qt 5.11

DistanceSensor QML Type

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

Import Statement: import QtSensors 5.11
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/qml-qtsensors-distancesensor.html