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, simulate flick with mouse wheel

Flickable, simulate flick with mouse wheel

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

    I would like to offer the flick user experience via mouse wheel in a Flickable element. F.e. if the user uses the mouse wheel quickly increment the flick speed and keep a smooth continuous flicking between wheel 'steps'.

    I have been using the wheel delta + the flick method, but the result is not good.

    Is there an example about this? any ideas?

    I am a little bit surprised about the fact that this is not supported by Flickable by default.

    BTW, where can I find the source code of Flickable?

    U 1 Reply Last reply
    0
    • L lasmr

      I would like to offer the flick user experience via mouse wheel in a Flickable element. F.e. if the user uses the mouse wheel quickly increment the flick speed and keep a smooth continuous flicking between wheel 'steps'.

      I have been using the wheel delta + the flick method, but the result is not good.

      Is there an example about this? any ideas?

      I am a little bit surprised about the fact that this is not supported by Flickable by default.

      BTW, where can I find the source code of Flickable?

      U Offline
      U Offline
      Uwe Koehler
      wrote on last edited by
      #2

      @lasmr Really strange: I just tried it out and it works for me. On the desktop I can flick with left mouse press and move or the mouse wheel.

      1 Reply Last reply
      0
      • L Offline
        L Offline
        lasmr
        wrote on last edited by
        #3

        True.

        My flickable element is oriented horizontally. So it is not working with the default wheel movement.

        Is there any way for changing this?

        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