add mouse area

This commit is contained in:
王劲鹏
2021-03-18 11:49:52 +08:00
committed by osborn
parent e9de03cbed
commit 0784fa844c
5 changed files with 39 additions and 0 deletions

View File

@@ -48,4 +48,11 @@ Rectangle {
}
}
}
MouseArea {
anchors.fill: parent
onClicked: {
mouseAreaBridge.onClick("index")
}
}
}