QTapSensor

The QTapSensor class is a convenience wrapper around QSensor . More

Inheritance diagram of PySide2.QtSensors.QTapSensor

Synopsis

Functions

Signals

Detailed Description

The only behavioural difference is that this class sets the type properly.

This class also features a reading() function that returns a QTapReading instead of a QSensorReading .

For details about how the sensor works, see QTapReading .

See also

QTapReading

class QTapSensor([parent=Q_NULLPTR])
param parent

QObject

Construct the sensor as a child of parent .

PySide2.QtSensors.QTapSensor.type
PySide2.QtSensors.QTapSensor.returnDoubleTapEvents()
Return type

bool

PySide2.QtSensors.QTapSensor.returnDoubleTapEventsChanged(returnDoubleTapEvents)
Parameters

returnDoubleTapEventsbool

PySide2.QtSensors.QTapSensor.setReturnDoubleTapEvents(returnDoubleTapEvents)
Parameters

returnDoubleTapEventsbool