Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
qtws26_logo

The Qt Event of the Year: Qt World Summit 2026

Save Your Spot >
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Gestures on Harmattan (n950)
Qt 6.12 LTS is out! See what's new in the release blog

Gestures on Harmattan (n950)

Scheduled Pinned Locked Moved QML and Qt Quick
2 Posts 2 Posters 3.4k 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.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    It seems that the "Qt.labs.gestures were replaced":http://doc.qt.nokia.com/4.7-snapshot/qml-gesturearea.html with the "PinchArea":http://doc.qt.nokia.com/4.7-snapshot/qml-pincharea.html on QtQuick 1.1. Is that right? What about the other gestures?

    The example (experimental gestures) included with Qt SDK 1.1.2 doesn't seem to recognize any gestures other than Tap and TapAndHold on the n950. It uses Qt.labs.gestures.

    Using PinchArea I didn't have any success either. Also, I couldn't find any examples using it.

    My ultimate goal is to use pinch gestures to zoom the WebView qml component.

    Any hints?

    1 Reply Last reply
    0
    • R Offline
      R Offline
      Reffy
      wrote on last edited by
      #2

      I'm not certain about the WebView component, but I have successfully used the PinchArea to zoom on an image.

      @Image {id: imageZoom; width: 200; height: 200
      PinchArea{ anchors.fill: parent;
      pinch.target: imageZoom;
      pinch.minimumScale: 1.0;
      pinch.maximumScale: 2.0}} @

      Or something to that effect. I can't completely remember. Pretty tired and speed typed the above before I go to sleep.

      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
      • Unsolved