From eb3a68ad5adee77866080f01577829eb808cd1ca Mon Sep 17 00:00:00 2001 From: Leon Zhang Date: Tue, 6 Dec 2022 16:44:19 +0900 Subject: [PATCH] Add resetTransform to see also of setTransform in QGraphicsView Change-Id: I4a38d44f2109f8b92069651c23717da02f5b3091 Reviewed-by: Volker Hilsheimer (cherry picked from commit 0d251afddafe3a5f88af048868b89bcc56aeff06) Reviewed-by: Qt Cherry-pick Bot --- src/widgets/graphicsview/qgraphicsview.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/widgets/graphicsview/qgraphicsview.cpp b/src/widgets/graphicsview/qgraphicsview.cpp index f9502b938a2..fba6d942f81 100644 --- a/src/widgets/graphicsview/qgraphicsview.cpp +++ b/src/widgets/graphicsview/qgraphicsview.cpp @@ -3844,7 +3844,7 @@ bool QGraphicsView::isTransformed() const a view coordinate to a floating point scene coordinate, or mapFromScene() to map from floating point scene coordinates to view coordinates. - \sa transform(), rotate(), scale(), shear(), translate() + \sa transform(), resetTransform(), rotate(), scale(), shear(), translate() */ void QGraphicsView::setTransform(const QTransform &matrix, bool combine ) {