From e4b6b5076d315d57ef110f63a490fef81bd7f8e7 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 f7dab4724b2..2e3ea7aa31d 100644 --- a/src/widgets/graphicsview/qgraphicsview.cpp +++ b/src/widgets/graphicsview/qgraphicsview.cpp @@ -3810,7 +3810,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 ) {