[Qt-qml] Cannot assign list to 'value' property in Binding
simon.turvey at nokia.com
simon.turvey at nokia.com
Tue Sep 21 12:43:36 CEST 2010
Hi all,
The following assignment to 'value' does not work. Only the final Rotation in the list seems to get assigned to the target property. Known issue? Or doing something silly?!
Binding {
target: albumImage
property: "transform"
value: [
Rotation {
axis.x: 1; axis.y: 0; axis.z: 0
angle: 180
origin.y: picColumn.picSize*1.32
},
Scale {
xScale: picColumn.sizeFactor; yScale: picColumn.sizeFactor;
origin.x: picColumn.picSize/2; origin.y: picColumn.picSize
},
Translate {
x: -picColumn.width/2 + picColumn.deltaX
y: -coverflow.height*0.1 -picColumn.place*picColumn.place*20
},
Rotation {
angle: picColumn.rotateY
origin.x: picColumn.picSize/2; origin.y: picColumn.picSize/2
axis.x: 0; axis.y: 1; axis.z: 0
}
]
when: picColumn.visible
}
Regards,
Simon
--
Simon Turvey
Technical Architecture, CTO Office, Mobile Solutions
London, UK
Tel: +44 (0)7879 427829
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt.nokia.com/pipermail/qt-qml/attachments/20100921/38d62d1d/attachment.html
More information about the Qt-qml
mailing list