Qt 5.9 | Qt Sensors | QML Types | DistanceSensor QML Type

Qt 5.9.9 Reference Documentation

# DistanceSensor QML Type

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

Import Statement: | import QtSensors 5.0
Since: | QtSensors 5.4
Inherits: | Sensor

- List of all members, including inherited members

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