Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.5.0
-
None
-
ad864ef194ddceed01c6fe16627f7ba761a972d0
Description
The QGraphicsView::viewportTransform() function has a wrong description in the documentation.
The current description is: "Returns a matrix that maps viewport coordinates to scene coordinates."
However, the function actually returns scene to viewport transformation.
This was found in Qt 4.8 documentation.
This issue was also highlighted in this post:
http://stackoverflow.com/questions/1719694/getting-the-bounding-box-of-a-constant-size-item-in-qt-graphics-views
Attachments
For Gerrit Dashboard: QTBUG-48705 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
154487,2 | QGraphicsView: clarify documentation for viewportTransform | 5.6 | qt/qtbase | Status: MERGED | +2 | 0 |