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

Documentation on WheelEvent.angleDelta is misleading

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • None
    • 5.12.0 Beta 2
    • Documentation
    • None
    • 41b44c6f21442892e2c0749940f716dc91c74b1f

    Description

      The documentation says that "A positive value indicates that the wheel was rotated up/right; a negative value indicates that the wheel was rotated down/left."

      It actually should be up/left and down/right respectively, as (correctly, i.e. reflecting reality) described in the section on WheelEvent.inverted.

      P.S. The documentation on QWheelEvent doesn't cover horizontal scrolling in angleData() at all; it would be good to add the same description there too.

      Attachments

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

        Activity

          People

            srutledg Shawn Rutledge
            alexey.rusakov Alexey Rusakov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes