aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/handlers/qquickpinchhandler.cpp
diff options
context:
space:
mode:
authorShawn Rutledge <shawn.rutledge@qt.io>2018-08-21 17:52:41 +0200
committerShawn Rutledge <shawn.rutledge@qt.io>2018-08-22 11:51:01 +0000
commitd83cb16d3cecad7ec2e9b45416620b87b52f2885 (patch)
treef0135fbd96a9514f7faac2b4b4f038bd35cd69a5 /src/quick/handlers/qquickpinchhandler.cpp
parent8bda9227a227dafac93c574bdf1071277b7b6f90 (diff)
Doc: clarify the type and meaning of QQuickMultiPointHandler::centroid
Amends 52d35526f256bf4c8155f5e660a214ab8a2efbdf : it's now a QQuickHandlerPoint rather than QPointF, and is inherited from MultiPointHandler to DragHandler and PinchHandler. So the docs can be inherited too, but in PinchHandler it seems more appropriate to keep the overridden docs which explain that transformation around the centroid depends on pinchOrigin. Task-number: QTBUG-70074 Change-Id: I8875b38439fe80c311a685ab9e3dedc9357415e8 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/quick/handlers/qquickpinchhandler.cpp')
-rw-r--r--src/quick/handlers/qquickpinchhandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quick/handlers/qquickpinchhandler.cpp b/src/quick/handlers/qquickpinchhandler.cpp
index 58cd91476d..24f9885534 100644
--- a/src/quick/handlers/qquickpinchhandler.cpp
+++ b/src/quick/handlers/qquickpinchhandler.cpp
@@ -520,7 +520,7 @@ void QQuickPinchHandler::handlePointerEventImpl(QQuickPointerEvent *event)
/*!
\readonly
- \qmlproperty QPointF QtQuick::PinchHandler::centroid
+ \qmlproperty QQuickHandlerPoint QtQuick::PinchHandler::centroid
A point exactly in the middle of the currently-pressed touch points.
If \l pinchOrigin is set to \c PinchCenter, the \l target will be rotated