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. Dial conflicts with Scrollview

Dial conflicts with Scrollview

Scheduled Pinned Locked Moved Solved QML and Qt Quick
2 Posts 1 Posters 353 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.
  • michaelLM Offline
    michaelLM Offline
    michaelL
    wrote on last edited by
    #1

    Hi,

    i have a page in qml that is inside a Scrollview. The problem is that in this page i have a Dial item and it conflicts with the Scrollview. So i cant turn the dial without scrolling the page at the same time. Is there a way the the Dial doenst interact with the Scrollview?

    1 Reply Last reply
    0
    • michaelLM Offline
      michaelLM Offline
      michaelL
      wrote on last edited by
      #2

      So i edit my dial and added this:

      onPressedChanged:
      {
             if(pressed)
                  myScrollViewItem.flickableItem.interactive= false
            else
                 myScrollViewItem.flickableItem.interactive= true
      }
      

      And it works, once the dial is been pressed, i disable the scrollview

      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