qt6-bb10/qtdeclarative/tests/auto/quick/qquickanimations/data/valuesource.qml

15 lines
280 B
QML

import QtQuick 2.0
Rectangle {
width: 400
height: 400
Rectangle {
id: rect
objectName: "MyRect"
color: "red"
width: 50; height: 50
x: 100; y: 100
NumberAnimation on x { id: anim; objectName: "MyAnim"; to: 200 }
}
}