[Development] Pointer Handlers will be Tech Preview in 5.10

J-P Nurmi jpnurmi at qt.io
Wed Sep 27 16:52:10 CEST 2017


> On 9 Aug 2017, at 14:10, Shawn Rutledge <Shawn.Rutledge at qt.io> wrote:
> 
> […] So far we only have
> 
> TapHandler - […]
> DragHandler - […]
> PinchHandler - […]
> 


Hi Shawn,

Why are these types called “handlers”? Because we use term “event handler” for those methods that you override in C++? IMHO “handler” type names belong to the same category with “utils” and “helpers”, type names that you give to internal helper classes when you don’t bother coming up with better names. You have implemented a gesture framework with support for taps, pinches, drags, and swipes, so why not call these types “gestures”?

--
J-P Nurmi



More information about the Development mailing list