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

Is the missing call to update() in hoverLeaveEvent and hoverMoveEvent in QGraphicsWidget on purpose?

    XMLWordPrintable

Details

    Description

      The functions hoverLeaveEvent and hoverMoveEvent is reimplented from QGraphicsItem and the new functions do nothing,
      the hoverEnterEvent has not been reimplemented so the base class QGraphicsItem will call update whenever called.

      Is this really the intention that hoverEnterEvent will cause an screen update while hoverLeaveEvent and hoverDragEvent do not?

      If this is the case I would have expected a better description of these functions in the documentation, not just that it has been reimplemented.
      the animatedtiles example which "suffer" from this feature need to be updated.
      (look at the one time highlight of the buttons when hovering over them).

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            thomaste Stefan Thomasson (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes