内容表

上一话题

QProximityFilter

下一话题

QProximitySensor

QProximityReading

QProximityReading class represents one reading from the proximity sensor. 更多

Inheritance diagram of PySide2.QtSensors.QProximityReading

概要

函数

详细描述

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 特性。

class QProximityReading ( parent )
参数

parent QObject

PySide2.QtSensors.QProximityReading. close ( )
返回类型

bool

另请参阅

setClose()

PySide2.QtSensors.QProximityReading. setClose ( close )
参数

close bool

Sets the close value to close .

另请参阅

close()