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. Tumbler doesn't respond on mouse wheel
Qt 6.11 is out! See what's new in the release blog

Tumbler doesn't respond on mouse wheel

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

    Hi! I need to use Tumbler in my project (Qt 6.11), but it doesn't seem to respond to mouse wheel (responds to touch though). I was expecting it to be out of the box behavior. How to make it work?

    Window {
        width: 640
        height: 800
        visible: true
        title: qsTr("Hello World")
    
        Tumbler {
                id: testTumbler
                width: 200
                height: 600
                model: ["1", "2", "3", "4", "5"]
                wheelEnabled: true
        }
    }
    

    I tried

        Tumbler {
                id: testTumbler
                width: 200
                height: 600
                model: ["1", "2", "3", "4", "5"]
                wheelEnabled: true 
                hoverEnabled: true
                focus: hovered
        }
    

    It didn't help.

    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