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. Flickable, ListView work with touch
Qt 6.11 is out! See what's new in the release blog

Flickable, ListView work with touch

Scheduled Pinned Locked Moved QML and Qt Quick
5 Posts 2 Posters 2.9k 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.
  • G Offline
    G Offline
    goli
    wrote on last edited by
    #1

    How can i change the qml elements, such as Flickable, ListView and GridView... to work with touch event , not with mouse event?
    Is it possible in any way?

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      It does work out of the box... at least for me on Android (Necessitas). It uses mouse events, true, but they get generated with touch, too. Or did I misunderstand your question?

      (Z(:^

      1 Reply Last reply
      0
      • G Offline
        G Offline
        goli
        wrote on last edited by
        #3

        tnx for your reply, you understand my question.
        but i wonder why thy listView i create in qml work perfect with mouse(pen/stylus), but not realy good with finger.

        1 Reply Last reply
        0
        • sierdzioS Offline
          sierdzioS Offline
          sierdzio
          Moderators
          wrote on last edited by
          #4

          Hm, no idea, then. Do other applications (non-qt) behave well with fingers?

          (Z(:^

          1 Reply Last reply
          0
          • G Offline
            G Offline
            goli
            wrote on last edited by
            #5

            if i create a qt project with qt widgets, and set the touchEvent flag, the touch work very good. But it does'nt work the same with the qml element(listView,Flickabe,...)

            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