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

add button information to QTabletEvent

    XMLWordPrintable

Details

    • 6ad66140b1e63fa6e21c7f33d845a472c4390823 9a096cba223936c81c2c3392265681c78e63617e da9e02eb83ea6eecf3cdb16b11241c91f5029380

    Description

      The Krita authors have reported that they need to reject each QTabletEvent and wait for the mouse event that follows, in order to find out which buttons are pressed. The reason is that tablet and stylus buttons are sometimes used during the drawing process itself, not just as mouse buttons for conventional UI elements. So it makes sense to have the buttons in the event, since this information is already known when the event is created.

      The trouble with rejecting tablet events is that the queue is cleared at that point, so some events will be discarded, and the result is not very smooth drawing.

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-39458
          # Subject Branch Project Status CR V

          Activity

            People

              srutledg Shawn Rutledge
              srutledg Shawn Rutledge
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes