QAccelerometerFilter露

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

Inheritance diagram of PySide2.QtSensors.QAccelerometerFilter

Detailed Description露

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

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

reading 鈥� PySide2.QtSensors.QAccelerometerReading

Return type:

bool

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

See also

filter()