Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-48705

QGraphicsView::viewportTransform() Documentation Mistake

XMLWordPrintable

    • ad864ef194ddceed01c6fe16627f7ba761a972d0

      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

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            peppe Giuseppe D'Angelo
            mtarek93 Mohamed Tarek Ismail
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes