From ca7cdd71ee33f0d77eb6bf1367d2532e26155cb2 Mon Sep 17 00:00:00 2001 From: Shawn Rutledge Date: Mon, 11 Jun 2018 07:38:46 +0200 Subject: Make DragHandler a MultiPointHandler MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit That is, minimumPointCount can now be set to a value > 1 to require multiple fingers to do the dragging, or to track the displacement of multiple fingers to adjust some value (such as the tilt of a map). Task-number: QTBUG-68106 Change-Id: Ib35823e36deb81c8b277d3070fcc758c7c019564 Reviewed-by: Jan Arve Sæther --- src/quick/items/qquickwindow_p.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/quick/items/qquickwindow_p.h') diff --git a/src/quick/items/qquickwindow_p.h b/src/quick/items/qquickwindow_p.h index 9a83e8523b..10c8477417 100644 --- a/src/quick/items/qquickwindow_p.h +++ b/src/quick/items/qquickwindow_p.h @@ -302,6 +302,7 @@ public: QQuickWindowPrivate::dragOverThreshold(delta.y(), Qt::YAxis, point)); } + static bool dragOverThreshold(QVector2D delta); // data property static void data_append(QQmlListProperty *, QObject *); -- cgit v1.2.3