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

Provide a TouchArea API in QML

    XMLWordPrintable

Details

    Description

      Provide access to raw touch events in a predefined area (i.e. the Element is Item-based). This would be used to implement custom interaction ranging from finger-painting to custom gestures.

      // Just a starting point - to be defined!
      
      TouchArea {
         property bool pressed
         property list points // suggestion, could be useful for interacting from parents / siblings to the touch area
      
         onTouch: {
            // provides a list of touch points with QTouchEvent data
         }
      }
      

      Attachments

        1. toucharea.h
          1 kB
          Martin Jones (closed Nokia identity)
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            albisser Zeno Albisser
            hhartz Henrik Hartz (closed Nokia identity) (Inactive)
            Votes:
            3 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes