QLightFilter露

The QLightFilter class is a convenience wrapper around QSensorFilter . More鈥�

Inheritance diagram of PySide2.QtSensors.QLightFilter

Detailed Description露

The only difference is that the filter() method features a pointer to QLightReading instead of QSensorReading .

class PySide2.QtSensors.QLightFilter露
PySide2.QtSensors.QLightFilter.filter(reading)露
Parameters:

reading 鈥� PySide2.QtSensors.QLightReading

Return type:

bool

Called when reading changes. Returns false to prevent the reading from propagating.

See also

filter()