Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. How to use GestureArea on Symbian^3

How to use GestureArea on Symbian^3

Scheduled Pinned Locked Moved QML and Qt Quick
5 Posts 3 Posters 3.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.
  • L Offline
    L Offline
    Landy
    wrote on last edited by
    #1

    Hi all,

    I was confused by GestureArea in QML.
    Several months ago, I used GestureArea on Meego. The code is like this:
    @ GestureArea {
    id: area
    anchors.fill: parent
    Tap {
    onFinished: {
    console.log("this is a Tap!");
    }
    }
    }@

    Now, I wanna use it on Symbian^3. But I found that the code can't work on Symbian^3. So, I changed the code as following:
    @GestureArea {
    id: area
    anchors.fill: parent
    onTap: {
    console.log("this is a Tap!");
    }
    }@
    This code work well. But, there is another problem that I can't use signals such as "onPan", "onPinch".
    I am really confused with GestureArea element. The document is too simple for this.
    So, guys, can u give me some useful information or example?

    1 Reply Last reply
    0
    • L Offline
      L Offline
      Landy
      wrote on last edited by
      #2

      Anybody has an idea about this?

      1 Reply Last reply
      0
      • M Offline
        M Offline
        minimoog77
        wrote on last edited by
        #3

        According to this http://doc.qt.nokia.com/4.7-snapshot/qml-gesturearea.html

        gesture area development is discontinued.

        1 Reply Last reply
        0
        • L Offline
          L Offline
          Landy
          wrote on last edited by
          #4

          Yes, I saw that.
          two questions:

          1. If gesture area development is discontinued, how can we implement gesture in QML? I have noticed that there is a new element named "PinchArea" in QtQuick 1.1. But how about other gestures? such as Pan, Swipe.
            BTW, now, I am using QtQuick 1.0. How can I update to QtQuick 1.1? I find the only way to update is that download the whole QtSDK again.

          2. although gesture area development is discontinued, we can still use it in QtQuick 1.0. So, the question is that, how can I use it right now? If possible, is there any document or example about this? As I mentioned in this thread, I was really confused with how to use gesture area.
            [quote author="minimoog77" date="1314785486"]According to this http://doc.qt.nokia.com/4.7-snapshot/qml-gesturearea.html

          gesture area development is discontinued.[/quote]

          1 Reply Last reply
          0
          • S Offline
            S Offline
            srikanth_trulyit
            wrote on last edited by
            #5

            Ample of examples at http://gitorious.org/+qt-developers/qt-labs/qml-gestures-examples
            Some explanation at http://paazio.nanbudo.fi/tutorials/qt-quick/gestures-in-qml

            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