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

enable PinchHandler to control ease of starting rotation

    XMLWordPrintable

Details

    Description

      In Qt Location we need this feature: it should be easy to zoom the map, but a little harder to rotate it. I.e. the initial orientation needs to be "sticky", by having an extra threshold of some kind.

      When you are trying to rotate, the usual drag threshold is a bit odd to use as the rotation threshold. The gesture starts when either touchpoint (or both together) move past the drag threshold, but that's in pixels. Maybe the rotation threshold should be in degrees. That way it can be independent: you have to exceed both thresholds to start rotating, but if the rotation threshold is large enough, we'll get the desired sticky-rotation behavior; whereas if it's too low, it will turn out in practice that by the time you have exceeded the drag threshold, you have exceeded the rotation threshold too.

      Attachments

        Issue Links

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

          Activity

            People

              srutledg Shawn Rutledge
              srutledg Shawn Rutledge
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: