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

PinchHandler needs a way to limit the actions it performs

    XMLWordPrintable

Details

    • All
    • 7867a683f (dev)

    Description

      PinchHander does 3 things: it manipulates rotation, scale and position. 

      I think it would be good if there were a simple way to limit which of these actions is taken. There currently is a way of course by setting the target to null and then doing the operation manually, but that is not very declarative. For instance, if I wanted to make a two finger pinch only zoom, a three finger pinch rotate, and do dragging with a single finger only, I need manual connections for both needed PinchHandler instances. 

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-76380
          # 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:
              5 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There is 1 open Gerrit change