QDistanceSensor Class▲
-
Header: QDistanceSensor
-
Since: Qt 5.4
-
qmake: QT += sensors
-
Inherits: QSensor
-
Group: QDistanceSensor is part of sensors_type
Detailed Description▲
The only behavioral difference is that this class sets the type properly.
This class also features a reading() function that returns a QDistanceReading instead of a QSensorReading.
For details about how the sensor works, see QDistanceReading.
See Also▲
See also QDistanceReading