QAmbientLightFilterclass is a convenience wrapper aroundQSensorFilter. 更多 …
The only difference is that the
filter()method features a pointer toQAmbientLightReading而不是QSensorReading.
QAmbientLightFilter
¶
PySide2.QtSensors.QAmbientLightFilter.
filter
(
reading
)
¶
reading
–
QAmbientLightReading
bool
Called when
reading
changes. Returns false to prevent the reading from propagating.
另请参阅