blob: 251e71f771a7f21781cdb54dc5dace2d0971b421 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
import QtQml
QtObject {
id: root
property bool enabled: false
property var func: function() { return 1 }
property var arr: [1, 2]
property Binding b: Binding {
root.func: function() { return 2 };
root.arr: [1, 2, 3]
when: root.enabled
}
}
|