在进行PC客户端开发时,经常要处理信号、事件、消息,在qml里如此,本节来介绍qml里的一些事件处理技巧.
例如下面的qml代码:
Button{ id:quit text:"退出" anchors.left: parent.left anchors.leftMargin: 10 anchors.bottom: parent.bottom anchors.bottomMargin: 10 onClicked
京公网安备 11010502049817号