blob: 9b108036499c8baf744085905c3cb5e4b1eb3501 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
import QtQuick 2.0
import Test 1.0
MyTypeObject {
property int value: 10
rect.x: value
Component.onCompleted: {
rect.y = Qt.binding(function() { return value + 5; });
}
}
|