QtMobility Reference Documentation

QML TapReading Element

The TapReading element holds the most recent TapSensor reading. More...

Inherits SensorReading

TapReading instantiates the C++ class QTapReading

This element was introduced in Mobility 1.1.

Properties

Detailed Description

The TapReading element holds the most recent TapSensor reading.

This element wraps the QTapReading class. Please see the documentation for QTapReading for details.

This element cannot be directly created.

Property Documentation

read-onlydoubleTap : bool

Please see QTapReading::doubleTap for information about this property.

This property group was introduced in Mobility 1.2.


read-onlytapDirection : QTapReading::TapDirection

Please see QTapReading::tapDirection for information about this property.

TapDirection constants are exposed through the TapReading class.

 TapSensor {
     onReadingChanged: {
         if ((reading.tapDirection & TapReading.X_Both))
             // do something
     }
 }

This property group was introduced in Mobility 1.2.


X

Thank you for giving your feedback.

Make sure it is related to this specific page. For more general bugs and requests, please use the Qt Bug Tracker.