Important: Please read the Qt Code of Conduct -

Qml ScrollView, mouse click

  • Qml ScrollView, mouse click
    Hi, I have a scroll view full of a Text component items.
    The object that embeds the ScrollView has a timeout. after the timeout I remove the ScrollView.
    Is there a way to detect the mouse click events to manage the timeout?

  • @mrdebug
    Can't you use a MouseArea that covers your view and on the click handler do something like:

    onClicked: {
          mouse.accepted = false

Log in to reply