QPressureFilter Class

The QPressureFilter class is a convenience wrapper around QSensorFilter. 更多...

头文件: #include <QPressureFilter>
qmake: QT += sensors
开始支持版本: Qt 5.1
基类: QSensorFilter

公有函数

virtual bool filter(QPressureReading *reading) = 0

详细描述

The QPressureFilter class is a convenience wrapper around QSensorFilter.

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

成员函数

[pure virtual] bool QPressureFilter::filter(QPressureReading *reading)

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

参见 QSensorFilter::filter().