内容表

上一话题

QPressureReading

下一话题

QProximityFilter

QPressureSensor

QPressureSensor class is a convenience wrapper around QSensor . 更多

Inheritance diagram of PySide2.QtSensors.QPressureSensor

详细描述

唯一行为差异是此类正确设置类型。

此类还特征 reading() function that returns a QPressureReading 而不是 QSensorReading .

有关传感器如何工作的细节,见 QPressureReading .

另请参阅

QPressureReading

class QPressureSensor ( [ parent=Q_NULLPTR ] )
param parent

QObject

构造传感器作为子级对于 parent .

PySide2.QtSensors.QPressureSensor. type