Redirection of Mouse events between Qt Quick Elements



  • I have a Flickable element and above it two Rectangle elements, something like the following:
    @
    Flickable{
    id:flickable
    anchors.fill:parent
    }

    Rectangle{
    id: rect1
    MouseArea{
    }
    }

    Rectangle{
    id: rect2
    MouseArea{
    }
    }
    @

    My goal is when dragging one of the rectangles, to redirect the mouse dragging to the Flickable element as well.
    Do you have any idea if this is possible?


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.