import QtQuick 2.12 import QtQuick.Timeline 1.0 import QtQuick.Controls 2.13 Item { width: 400 height: 400 Text { font.bold: true } Rectangle { id: rectangle width: 200 height: 200 } Timeline { id: timeline animations: [ TimelineAnimation { id: timelineAnimation running: true loops: 1 from: 0 duration: 1000 to: 1000 } ] enabled: true startFrame: 0 endFrame: 1000 KeyframeGroup { target: rectangle property: "x" Keyframe { value: 21 frame: 0 } Keyframe { value: 192 frame: 1000 } } KeyframeGroup { target: rectangle property: "y" Keyframe { value: 16 frame: 0 } Keyframe { easing.bezierCurve: [0.2, 0.2, 0.87, 0.425, 1, 1] value: 54 frame: 1000 } } } Slider { id: slider x: 192 y: 248 value: 0.5 } Button { id: button x: 273 y: 101 text: qsTr("Button") } CheckBox { id: checkBox x: 82 y: 311 text: qsTr("Check Box") } Connections {} }