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. Single finger QPanGesture?
Qt 6.11 is out! See what's new in the release blog

Single finger QPanGesture?

Scheduled Pinned Locked Moved Mobile and Embedded
4 Posts 2 Posters 2.2k 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.
  • Y Offline
    Y Offline
    yalnte
    wrote on last edited by
    #1

    What's the easiest way to implement this please?

    Are there any examples out there? Ideally I don't want to have to create a gesture recognizer from scratch "QGestureRecognizer":http://doc.qt.nokia.com/4.7-snapshot/qgesturerecognizer.html#recognize

    Thanks in advance

    1 Reply Last reply
    0
    • S Offline
      S Offline
      Sam
      wrote on last edited by
      #2

      By default QPanGesture accepts two touch points to work.For a single touch point you need to implement your own using QGestureRecognizer class.

      1 Reply Last reply
      0
      • Y Offline
        Y Offline
        yalnte
        wrote on last edited by
        #3

        Thanks - I was aware of this. Any idea where I can find a good example please?

        1 Reply Last reply
        0
        • S Offline
          S Offline
          Sam
          wrote on last edited by
          #4

          Well there is an example for "Single touch swipe gesture":http://www.developer.nokia.com/Community/Wiki/Custom_Swipe_Gestures_in_Qt , You can have a look into the implementation, Currently I am too working on single touch QPanGesture for an application.

          Will update you soon :)

          Regards
          Soumitra.

          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