blob: 3ee8c7f23f8f8e87912306b617ba501dde86a4c5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
// Copyright (C) 2022 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
import QtQuick
QtObject {
property int rotation1Angle
property int rotation2Angle
property int rotation3Angle
property int rotation4Angle
property int clawsAngle
readonly property string status: "Ready"
Behavior on rotation1Angle {
SmoothedAnimation {
velocity: 100
}
}
Behavior on rotation2Angle {
SmoothedAnimation {
velocity: 80
}
}
Behavior on rotation3Angle {
SmoothedAnimation {
velocity: 60
}
}
Behavior on rotation4Angle {
SmoothedAnimation {
velocity: 60
}
}
Behavior on clawsAngle {
SmoothedAnimation {}
}
}
|