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

Allow mapping of floats in QGraphicsScene::mapToScene

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • None
    • Widgets: GraphicsView
    • None
    • All

    Description

      The function QGraphicsScene::mapToScene is used to map screen coordinates to the coordinates in the scene, so it seems fine, that it only allows integer coordinates, because the mouse and windows are using integers.

      BUT if your are using TabletEvents, you get subpixel precision (floats) for your input and at the moment it is not possible to transform such a position to scene coordinates.

      Attachments

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

        Activity

          People

            bibr Andreas Aardal Hanssen
            gerum100 A A
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes