[Interest] TapHandler tapped coordinates not accessible

Tomasz Olszak olszak.tomasz at gmail.com
Mon May 6 22:11:12 CEST 2019


I would like to move to new input handling from old pinch area etc.

Shawn that was what I was looking for. Any idea why it is not documented?

pon., 6 maj 2019 o 21:56 Shawn Rutledge <Shawn.Rutledge at qt.io> napisaƂ(a):

>
> > On 6 May 2019, at 16:30, Tomasz Olszak <olszak.tomasz at gmail.com> wrote:
> >
> > Hi,
> >
> > I use Qt 5.12.3 and I'm trying to use TapHandler. For some reason though
> in onTapped handler point is already reset.
> > I see that point is valid when reading it from onPressedChanged. Is it a
> bug? Seems like docs miss explicit example of reading point coordinate.
> >
> > This is snippet I use to test.
> > https://pastebin.com/h8PneRDB
>
> You can use eventPoint instead of point: it is the signal parameter, and
> it does have correct position etc.
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> https://lists.qt-project.org/listinfo/interest
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20190506/70a9d842/attachment.html>


More information about the Interest mailing list