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

handling of transformationAnchor inside wheelEevent

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 4.6.1
    • 4.6.0
    • Widgets: GraphicsView
    • None
    • desktop, linux and win32
    • 51be60532af93ac6526e76db4085283465c5baa6

    Description

      There's a difference in handling of transformationAnchor==QGraphicsView::AnchorUnderMouse between 4.6.0 and the previous versions.
      Whereas 4.5.x honors the current cursorposition, 4.6.0 doesn't anymore. You have to click the left mousebutton to set the position instead of only using the wheel.

      QMatrix mm;
      mm.setScale( 2,2);
      setTransformationAnchor ( QGraphicsView::AnchorUnderMouse );

      setMatrix ( mm, false );

      Attachments

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

        Activity

          People

            ylopes Yoann Lopes
            mf Michael Falck
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes