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

Offset when drawing a grid in a QGraphicsView

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.0.0
    • 4.6.3, 4.7.1, 4.8.x
    • GUI: Painting
    • None

    Description

      When having a QGraphicsView that shows images and displays a grid depending on the zoom level on top of this view, then the lines have a small offset to the pixels of the image.

      The attached example demonstrates the problem. It works for some zooming levels, but using very large zooming levels causes differences between the grid lines and the image.

      This has been tested on Windows.

      Attachments

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

        Activity

          People

            ylopes Yoann Lopes
            naevdal Sigrid Fjell Nævdal (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes