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. TouchEvent in Flickable and its children
Forum Updated to NodeBB v4.3 + New Features

TouchEvent in Flickable and its children

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
1 Posts 1 Posters 311 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.
  • T Offline
    T Offline
    Trian
    wrote on last edited by
    #1

    I have a Flickable qml which contains a list of cpp qquickitems. Qquickitem handle its own touch event.
    Flickable handles vertical touch for scrolling ( flickableDirection: Flickable.VerticalFlick).
    Its children, qquickitems, handles touch pan in x direction and pinch.

    I notice sometimes TouchEnd event is handed in Flickable while other times, it is handled in qquickitem.
    This is more noticable when my finger first moves in x direction and then in y direction. I think when moving in x direction, touch event is handled by qquickitem; without lifting finger, moving in y direction, touch event is handled by Flickable. Now, Lifting finger, TouchEnd event is handled and accepted by Flickable. As a result, qquickitem would not receive TouchEnd event.

    1 Reply Last reply
    1

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved