Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Multitouch: filling QList with <QTouchEvent::TouchPoint>
Forum Updated to NodeBB v4.3 + New Features

Multitouch: filling QList with <QTouchEvent::TouchPoint>

Scheduled Pinned Locked Moved Mobile and Embedded
2 Posts 2 Posters 1.3k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    mack89
    wrote on last edited by
    #1

    Hey,

    I'm using MT Protocol B to collect touchevents. I wrote a plugin so I can generate my own touchpointevents.
    I try to use it for testing the gestureExample from Qt. It doesn´t work very well.

    Cause of that I looked up how gesture classes are implemented. Generating a Swipegesture needs a lenght of 3 for the QList QTouchEvent::TouchPoint others need a lenght of 2 or what ever.

    So my question does anyone know how to fill such a list correctly?
    The pinchzoom gesture for example needs two fingercontacts, so I want to know is the lenght of the list equal to the number of touches that are tracked at the moment? Because I thought collecting events and storing them as points with the right Id and sending the List in a certain period of time is all I need to do.

    1 Reply Last reply
    0
    • J Offline
      J Offline
      jackmack
      wrote on last edited by
      #2

      Did you solved your problem?

      I need also 3 points but it seems currently only 2 points are the maximum of QTouchEvent.

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved