[Development] need to handle touch events rather than depending on mouse event synthesis
martin.jones at nokia.com
martin.jones at nokia.com
Thu Mar 15 04:15:03 CET 2012
Sure, if you don't touch the flag you don't break anything, but as soon as someone uses the flag somewhere in a hierarchy of interactive Items you're going to have problems. It's too late for 5.0.
Br,
Martin.
> -----Original Message-----
> From: development-bounces+martin.jones=nokia.com at qt-project.org
> [mailto:development-bounces+martin.jones=nokia.com at qt-project.org]
> On Behalf Of Rezende Adriano.1 (Nokia-MP/Oslo)
> Sent: Thursday, March 15, 2012 10:52 AM
> To: development at qt-project.org
> Subject: Re: [Development] need to handle touch events rather than
> depending on mouse event synthesis
>
> >Torsdag 1. mars 2012 19.48.15 skrev ext Alan Alpert:
> > Perhaps we could just add an enum to MouseArea? EventType {
> >MouseEvents, TouchEvents, MouseAndTouchEvents (default) }. That allow
> >you more fine-grained control, with identical default behavior that
> >doesn't require event synthesis that messes with other elements. Not
> >to mention that the common case is you don't care what pointy thing
> >they used to say 'do that', there are devices with both mouse and
> >touch and often the app really doesn't care which it was.
>
> I agree. I think this is the best solution given the deadline.
> It will not break any apps and we can get rid of this event synthesis for good.
> Is there anybody already working on this fix?
>
> Br,
> Adriano
> _______________________________________________
> Development mailing list
> Development at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/development
More information about the Development
mailing list