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

PinchHandler should have a way to reset

    XMLWordPrintable

Details

    • All
    • 7867a683f (dev)

    Description

      Consider the following scenario: we have an object that needs to scale, and we're using a PinchHandler for that. There is also another way for the object view to set the zoom, perhaps because of a reset button or the user selecting an object from a list to focus on. So now, the PinchHandler's scale property is no longer in sync with that of the view. We could use activeScale instead, but that value resets with each time we pinch, and so either requires manually storing the old value somewhere when the gesture ends. 

      It would be great PinchHandler would gain a way to reset the current state to neutral.

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-76379
          # Subject Branch Project Status CR V

          Activity

            People

              qt.team.quick.subscriptions Qt Quick and Widgets Team
              andre André Somers
              Votes:
              2 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There is 1 open Gerrit change