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.b...@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 <klo...@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@qt-project.org >> http://lists.qt-project.org/mailman/listinfo/interest >> >> >
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest