[Interest] Any plans to bring back/provide a replacement for GestureArea

Peter Klosowski kloffy at gmail.com
Fri Nov 27 10:46:26 CET 2015


While each of those components provides some of the functionality that I
need, they are not as well suited as GestureArea. This is due to the fact
that I want to support multiple gestures on a custom QQuickItem: tap,
tapAndHold, pan (one finger drag), pinch (two finger drag). This is rather
cumbersome with the current components, whereas it sould be trivial with
GestureArea. In addition to that, while I don't currently make use if it,
GestureArea provides the ability to use custom gesture recognizers, which I
believe none of the 3 current components support.

I think MouseArea, PinchArea and MultiPointTouchArea are very useful, but
they are not really a good replacement for GestureArea.

Best regards,
kloffy

On Fri, Nov 27, 2015 at 7:13 PM, Federico Buti <fed.buti at gmail.com> wrote:

> Hi Peter,
>
> I think the functionality of the type was split among MouseArea, PinchArea
> <http://doc.qt.io/qt-5/qml-qtquick-pincharea.html> and MultiPointTouchArea
> <http://doc.qt.io/qt-5/qml-qtquick-multipointtoucharea.html>. Take a look
> at them and see if they fit your use case.
>
> Bests,
> F.
>
>
> On 27 November 2015 at 09:32, Peter Klosowski <kloffy at gmail.com> wrote:
>
>> Hello,
>>
>> I could really use a QML element that can detect arbitrary gestures. It
>> seems that in Qt4, GestureArea used to do just that:
>>
>> http://doc.qt.io/qt-4.8/qml-gesturearea.html
>>
>> However, it appears that in Qt5, it has been removed. What was the
>> rationale for that? Are there any chances of it making a return?
>>
>> Best regards,
>> kloffy
>>
>> _______________________________________________
>> Interest mailing list
>> Interest at qt-project.org
>> http://lists.qt-project.org/mailman/listinfo/interest
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20151127/494f7dfb/attachment.html>


More information about the Interest mailing list