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

Improve QGraphicsView's mouse replay mechanism

    XMLWordPrintable

Details

    Description

      QGraphicsView's mouse replay mechanism is based on reposting the QMouseEvent to the QGraphicsView. This doesn't make much sense; instead the replay should go straight from the view to the scene. The scene event should be replayed, not the view event.

      The reason today's replay approach doesn't make sense, is that when users create a subclasss of QGraphicsView, and catch events, they tend to get many identical events when they transform or scrolll the view. Which doesn't make sense at all.

      Attachments

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

        Activity

          People

            hanssen Andreas Aardal Hanssen (closed Nokia identity) (Inactive)
            hanssen Andreas Aardal Hanssen (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes