Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. [Solved] How to implement QPanGesture and QSwipeGesture for touch screen desktop programming.
Forum Updated to NodeBB v4.3 + New Features

[Solved] How to implement QPanGesture and QSwipeGesture for touch screen desktop programming.

Scheduled Pinned Locked Moved General and Desktop
2 Posts 1 Posters 4.1k 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.
  • S Offline
    S Offline
    Sam
    wrote on last edited by
    #1

    I am developing an application that will run on touchscreen monitor. However i didnt find much resources on net regarding QPanGesture and QSwipeGesture examples.

    My requirement is to achieve something like "PhotoViewer example":http://doc.qt.nokia.com/4.7-snapshot/demos-declarative-photoviewer.html but without using qml.

    I want to add the same functionality of QPanGesture and QSwipeGesture as given in the above example that can be found in Qt creator Demo and Examples.

    However I am able to get the events for PanGesture and SwipeGesture, but i dont have any clue how should i handle/program to achieve the above requirement.

    I have checked some links as follows:

    1. "Handling Gestures in Qt":http://www.developer.nokia.com/Community/Wiki/Handling_Gestures_in_Qt
    2. "Custom Swipe Gesture":http://www.developer.nokia.com/Community/Wiki/Custom_Swipe_Gestures_in_Qt
    3. "Video tutorial on Using Multi-touch screen and gestures in Qt":http://qt-project.org/videos/watch/using_multi_touch_and_gestures_with_qt
    4. "Gesture Programming":http://doc.qt.nokia.com/4.7/gestures-overview.html

    Regards
    Soumitra.

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

      Implemented using a custom class that inherits QGestureRecognizer Class.

      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