QSensorGesture Class The QSensorGesture class represents one or more sensor gesture recognizers. More...  
 Header:
 #include <QSensorGesture> 


 qmake:
 QT += sensors


 Since:
 Qt 5.1


 Inherits:
 QObject



 List of all members, including inherited members  Public Functions  
 

QSensorGesture(const QStringList &ids, QObject *parent = Q_NULLPTR)
 
 

~QSensorGesture()
 
 QStringList 

gestureSignals() const
 
 QStringList 

invalidIds() const
 
 bool 

isActive()
 
 void 

startDetection()
 
 void 

stopDetection()
 
 QStringList 

validIds() const
   32 public functions inherited from QObject
  Signals  
 void 

detected(QString gestureId)
   2 signals inherited from QObject
  Additional Inherited Members  1 property inherited from QObject
 1 public slot inherited from QObject
 11 static public members inherited from QObject
 9 protected functions inherited from QObject
  Detailed Description The QSensorGesture class represents one or more sensor gesture recognizers. In addition to the QSensorGestur8b7c:f320:99b9:690f:4595:cd17:293a:c069detected() signal, Sensor Gesture Recognizers can have their own specific signals, and may be discovered through QSensorGestur8b7c:f320:99b9:690f:4595:cd17:293a:c069gestureSignals(). Note that QSensorGesture uses a custom meta-object in order to provide recognizer-specific signals. This means it is not possible to sub-class QSensorGesture and use Q_OBJECT. Also qobject_cast<QSensorGesture*>(ptr) will not work. You may use QSensorGestureManager to obtain the systems known sensor gesture ids. See also QSensorGestureRecognizer and QSensorGestureManager. Member Function Documentation 
QSensorGestur8b7c:f320:99b9:690f:4595:cd17:293a:c069QSensorGesture(const QStringList &ids, QObject *parent = Q_NULLPTR) Constructs the sensor gesture, and initializes the ids list of recognizers, with parent parent 
QSensorGestur8b7c:f320:99b9:690f:4595:cd17:293a:c069~QSensorGesture() Destroy the QSensorGesture 
[signal] void QSensorGestur8b7c:f320:99b9:690f:4595:cd17:293a:c069detected(QString gestureId) Signals when the gestureId gesture has been recognized. 
QStringList QSensorGestur8b7c:f320:99b9:690f:4595:cd17:293a:c069gestureSignals() const Returns all the possible gestures signals that may be emitted. 
QStringList QSensorGestur8b7c:f320:99b9:690f:4595:cd17:293a:c069invalidIds() const Returns the gesture recognizer ids that were not found. 
bool QSensorGestur8b7c:f320:99b9:690f:4595:cd17:293a:c069isActive() Returns whether this gesture is active or not. 
void QSensorGestur8b7c:f320:99b9:690f:4595:cd17:293a:c069startDetection() Starts the gesture detection routines in the recognizer. 
void QSensorGestur8b7c:f320:99b9:690f:4595:cd17:293a:c069stopDetection() Stops the gesture detection routines. 
QStringList QSensorGestur8b7c:f320:99b9:690f:4595:cd17:293a:c069validIds() const Returns the gesture recognizer ids that were found.

    
{'path': 'public/docs/qt~5.9/qsensorgesture.html', 'source': 'DevDocs.IO'}