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. QScroller with QScroller::TouchGesture does not delay touch event
Forum Updated to NodeBB v4.3 + New Features

QScroller with QScroller::TouchGesture does not delay touch event

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 2 Posters 310 Views
  • 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.
  • W Offline
    W Offline
    Wei Wei
    wrote on last edited by
    #1

    QScroller delay mouse press when using QScroller::LeftButtonGesture but not delay touch begin event when using QScroller::TouchGesture.
    How can i make the widget under the finger not receive an touch event when scrolling by QScroller::TouchGesture like mouse event when using QScroller::LeftButtonGesture?
    Should i change QFlickGestureRecognize or PressDelayHandler to support it?

    JoeCFDJ 1 Reply Last reply
    0
    • W Wei Wei

      QScroller delay mouse press when using QScroller::LeftButtonGesture but not delay touch begin event when using QScroller::TouchGesture.
      How can i make the widget under the finger not receive an touch event when scrolling by QScroller::TouchGesture like mouse event when using QScroller::LeftButtonGesture?
      Should i change QFlickGestureRecognize or PressDelayHandler to support it?

      JoeCFDJ Offline
      JoeCFDJ Offline
      JoeCFD
      wrote on last edited by JoeCFD
      #2

      @Wei-Wei use installEventFilter to ignore touch event if you do not want it?

      W 1 Reply Last reply
      0
      • JoeCFDJ JoeCFD

        @Wei-Wei use installEventFilter to ignore touch event if you do not want it?

        W Offline
        W Offline
        Wei Wei
        wrote on last edited by
        #3

        @JoeCFD The eventfilter affects how widgets respond to touch, for example, buttons will not be clicked by touch.
        In fact, we wanted a way to make it easy for all QAbstractScrollAreas to scroll when touched without affecting normal touch interactions, just like QML's ScrollView.
        If QScroller performs better when touched, we can make all QAbstractScrollArea in the desktop environment use QScroller by default to support touch scrolling.

        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