格式
on<Property>Changed
例子
import QtQuick 2.0
TextInput {
text: "Change this!"
onTextChanged: {//text属性信号处理
console.log("Text has changed to:", text)
}
MouseArea{
anchors.fill:parent
onClicked: {
textChanged()//调用text属性信号
}
}
}