blob: 4c88a263ddf9d0fa94ee4011919aa7dadc5ccc56 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
import AttachedProperties 1.0
QtObject {
TestType.object: Component {}
Component.onCompleted: {
console.log(TestType.object.progress);
}
property QtObject child: QtObject {
Component.onCompleted: {
// doesn't work: this type's TestType.object is not set
console.log(TestType.object.progress);
}
}
}
|