16 lines
266 B
QML
16 lines
266 B
QML
|
import QtQuick 2.0
|
||
|
|
||
|
Item {
|
||
|
id: root
|
||
|
property real a: 50
|
||
|
SequentialAnimation {
|
||
|
id: anim
|
||
|
ScriptAction { script: root.a += 5; }
|
||
|
ScriptAction { script: root.a += 15; }
|
||
|
}
|
||
|
|
||
|
Component.onCompleted: {
|
||
|
anim.start();
|
||
|
}
|
||
|
}
|