Re: [Development] Pointer Handlers will be Tech Preview in 5.10

2017-09-28 Thread Shawn Rutledge
> On 28 Sep 2017, at 13:36, J-P Nurmi wrote: > >> On 28 Sep 2017, at 13:07, Tor Arne Vestbø wrote: >> >> On 28/09/2017 13:05, Tor Arne Vestbø wrote: >>> If we can't have a generic GestureRecognizer type with dynamic recognizer >>> behavior based on which handler callback is bound, then it sho

Re: [Development] Pointer Handlers will be Tech Preview in 5.10

2017-09-28 Thread Jason H
> Sent: Thursday, September 28, 2017 at 8:20 AM > From: "André Somers" > To: development@qt-project.org > Subject: Re: [Development] Pointer Handlers will be Tech Preview in 5.10 > > > > Op 28/09/2017 om 13:42 schreef Tor Arne Vestbø: > > On 28/09/2017 13:36, J-P Nurmi wrote: > >> I would pref

Re: [Development] Pointer Handlers will be Tech Preview in 5.10

2017-09-28 Thread André Somers
Op 28/09/2017 om 13:42 schreef Tor Arne Vestbø: > On 28/09/2017 13:36, J-P Nurmi wrote: >> I would prefer attached properties and signals. Similarly to >> Keys.onPressed. Attaching onTapped from the outside of a component >> would be similar to overriding an event handler in C++. There would >> b

Re: [Development] Pointer Handlers will be Tech Preview in 5.10

2017-09-28 Thread Tor Arne Vestbø
On 28/09/2017 13:36, J-P Nurmi wrote: I would prefer attached properties and signals. Similarly to Keys.onPressed. Attaching onTapped from the outside of a component would be similar to overriding an event handler in C++. There would be a single attached object instance with multiple signal handl

Re: [Development] Pointer Handlers will be Tech Preview in 5.10

2017-09-28 Thread J-P Nurmi
> On 28 Sep 2017, at 13:07, Tor Arne Vestbø wrote: > > On 28/09/2017 13:05, Tor Arne Vestbø wrote: >> If we can't have a generic GestureRecognizer type with dynamic recognizer >> behavior based on which handler callback is bound, then it should be >> TapGestureRecognizer, DragGestureRecognizer,

Re: [Development] Pointer Handlers will be Tech Preview in 5.10

2017-09-28 Thread Tor Arne Vestbø
On 28/09/2017 13:05, Tor Arne Vestbø wrote: If we can't have a generic GestureRecognizer type with dynamic recognizer behavior based on which handler callback is bound, then it should be TapGestureRecognizer, DragGestureRecognizer, etc. Or if we want to follow the existing naming of MouseArea

Re: [Development] Pointer Handlers will be Tech Preview in 5.10

2017-09-28 Thread Tor Arne Vestbø
On 27/09/2017 21:18, J-P Nurmi wrote: On 27 Sep 2017, at 21:08, Jean-Michaël Celerier wrote: Why not just Drag, Tap, Pinch ? (for Drag it'd have to be in a different namespace than the actual QtQuick.Drag though) Best, +1 for such Qt Quick style short and concise naming. :) This proposal wa