[Qt-qml] repeat: true syntax error rc1 SDK
aaron.kennedy at nokia.com
aaron.kennedy at nokia.com
Fri Sep 10 07:13:27 CEST 2010
Hi,
Where in the docs does it say "repeat"? The docs I have say "loops:
Animation.Infinite".
Cheers,
Aaron
On 10/09/10 3:10 PM, "ext Jason H" <scorp1us at yahoo.com> wrote:
> I get an error on the repeat:true line. Why? Docs say 'repeat' belongs to
> Animation.
> Thanks!
>
> importQt4.7
> Rectangle {
> width: 860
> height: 540
> gradient: Gradient {
> GradientStop { position: 1; color:"blue"}
> GradientStop { position: 0; color: "midnightblue"}
> }
> Image {
> anchors.centerIn: parent
> source: "23.jpg";
> opacity: 0.75
> smooth: true
> SequentialAnimation on scale {
> repeat: true
> PropertyAnimation {
> from: 2
> to: 2.5
> duration: 3000
> }
> PropertyAnimation{
> from: 2.5
> to: 2
> duration: 3000
> }
> }
> }
> }
>
>
>
> _______________________________________________
> Qt-qml mailing list
> Qt-qml at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-qml
More information about the Qt-qml
mailing list