QProximityReading¶
The QProximityReading
class represents one reading from the proximity sensor. More…
Synopsis¶
Functions¶
Detailed Description¶
The proximity sensor can only indicate if an object is close or not.
The distance at which an object is considered close is device-specific. This distance may be available in the outputRanges
property.
- class PySide6.QtSensors.QProximityReading(parent)¶
- Parameters
parent –
PySide6.QtCore.QObject
- PySide6.QtSensors.QProximityReading.close()¶
- Return type
bool
This property holds a value indicating if something is close..
Set to true if something is close. Set to false is nothing is close.
See also
QProximityReading_Units
- PySide6.QtSensors.QProximityReading.setClose(close)¶
- Parameters
close – bool
Sets the close value to close
.
See also