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