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

Support QTabletEvents in QQuickItem::event()

    XMLWordPrintable

Details

    Description

      We would like to handle tablet events of a QQuickItem in C++. There is no simple solution at the moment, because these events are not delivered to QQuickItem::event() and there are no methods like QQuickItem::tabletEvent(QTabletEvent *).

      Theroretically it's possible to workaround this by installing an event filter on the main window but it looks and feels like an overkill. This non-working WIP change in WebEngine can demonstrate the struggle:

      https://codereview.qt-project.org/c/qt/qtwebengine/+/557568

       

      Attachments

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

        Activity

          People

            srutledg Shawn Rutledge
            davidsz Szabolcs David
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes