QML属性动态绑定

1、绑定,使用冒号

x:root.x

2、解绑,使用等号

x = 0;

3、js绑定

button.text = Qt.binding(function(){return textField.text;});

原文地址:https://www.cnblogs.com/judes/p/13158840.html