Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-25877

QSensorGestureRecognizer needs 'state'

    XMLWordPrintable

Details

    • User Story
    • Resolution: Out of scope
    • P3: Somewhat important
    • None
    • None
    • Sensors
    • None

    Description

      It might be useful to sensorgesture recognizers if there was a 'State' in the base class for use.
      something like:

          enum SensorGestureRecognizerState {
              AvailableState = 0, // waiting for gesture detection start
              DetectingState, // possible gesture detected /started
              RecognizedState, // gesture has been recognized
              CancelledState, // gesture was cancelled
              FailedState // gesture failed.
              ErrorState // there was an error
          };
      
          SensorGestureRecognizerState currentState();
          void setCurrentState(SensorGestureRecognizerState state);
      

      and signal

      void stateChanged(SensorGestureRecognizerState state);
      

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            lpotter Lorn Potter
            lramsay Lincoln Ramsay (closed Nokia identity) (Inactive)
            Veli-Pekka Heinonen Veli-Pekka Heinonen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes