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