Re: QGraphicsView .resetMatrix() missing
Maurizio Berti <[email protected]>
| Newsgroups | gmane.comp.python.pyqt-pykde |
|---|---|
| Message-ID | <CAPn+-XRASSMbGBf_fi+iQCTRVbHSdao+NW3dFtSWnEfJSy1ALA@mail.gmail.com> |
Just use resetTransform(), it's the same according to the source code too. See https://stackoverflow.com/a/54313821 Maurizio Il mer 10 lug 2019 17:37 Art <[email protected]> ha scritto: > Hi > > I have tried to call resetMatrix() on a QGraphicsView and I am getting > this error: > AttributeError: 'QGraphicsView' object has no attribute 'resetMatrix' > > Is there a workaround? > I want to zoom/scale my view. > > Thanks > Art > > _______________________________________________ > PyQt mailing list [email protected] > https://www.riverbankcomputing.com/mailman/listinfo/pyqt > _______________________________________________ PyQt mailing list [email protected] https://www.riverbankcomputing.com/mailman/listinfo/pyqt