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

make it possible to press a TapHandler and a MouseArea at the same time

XMLWordPrintable

      This is a bit like the need for interoperability with QtQuick Controls: TapHandler may be used to augment behavior of something else. Of course when gesturePolicy is set in such a way that TapHandler does not take the exclusive grab, MouseArea can still get it.

      TapHandler might be a child of MouseArea, or a child of its parent, or simply on top in Z order. We just need to think about how to get more control over what happens in those cases.

      One pattern that has been suggested before is forwardTo, like the Keys handler can do. Not sure if it's the cleanest way we can come up with.

      (This is from the KDE Plasma project; the actual use cases need a bit of clarification.)

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

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

              Created:
              Updated:

                There are no open Gerrit changes