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