Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    Unsolved Flickable, simulate flick with mouse wheel

    QML and Qt Quick
    2
    3
    696
    Loading More Posts
    • 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
      lasmr last edited by

      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 Reply Quote 0
      • U
        Uwe Koehler @lasmr last edited by

        @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 Reply Quote 0
        • L
          lasmr last edited by

          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 Reply Quote 0
          • First post
            Last post