Add resetTransform to see also of setTransform in QGraphicsView

Change-Id: I4a38d44f2109f8b92069651c23717da02f5b3091
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
(cherry picked from commit 0d251afddafe3a5f88af048868b89bcc56aeff06)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Leon Zhang 2022-12-06 16:44:19 +09:00 committed by Qt Cherry-pick Bot
parent 257f142b86
commit eb3a68ad5a

View File

@ -3844,7 +3844,7 @@ bool QGraphicsView::isTransformed() const
a view coordinate to a floating point scene coordinate, or mapFromScene() a view coordinate to a floating point scene coordinate, or mapFromScene()
to map from floating point scene coordinates to view coordinates. 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 ) void QGraphicsView::setTransform(const QTransform &matrix, bool combine )
{ {