Force MouseArea to be in a pressed state



  • I basically want to be able to do this
    @
    Item {
    onMySignal: mouse.ispressed = true///something to make mouse think it is pressed

    MouseArea {
        id: mouse
        onRelease: doSomething()
    

    }
    }@

    Is there any way to do this?


Log in to reply
 

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