Important: Please read the Qt Code of Conduct -

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