内容表

上一话题

QLightFilter

下一话题

QLightSensor

QLightReading

QLightReading class represents one reading from the light sensor. 更多 …

Inheritance diagram of PySide2.QtSensors.QLightReading

概要

函数

详细描述

QLightReading Units

The light sensor returns the intensity of the light in lux.

class QLightReading ( parent )
参数

parent – QObject

PySide2.QtSensors.QLightReading. lux ( )
返回类型

qreal

另请参阅

setLux()

PySide2.QtSensors.QLightReading. setLux ( lux )
参数

lux – qreal

Sets the light level to lux .

另请参阅

lux()