summaryrefslogtreecommitdiffstats
path: root/GUIModel/Meter
diff options
context:
space:
mode:
authorNaoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>2023-11-22 07:54:57 +0900
committerNaoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>2023-11-26 20:12:00 +0900
commitcbb63f0e45340f6dd2cc9f360ed4da15c745186f (patch)
tree471935b3ce3238f7bb402942ba8c530cf7892500 /GUIModel/Meter
parent5b7127cac34bf44a9d9e58c02b44939955d50890 (diff)
Support for cluster api binding
Existing AGL Instrument Cluster is not implement cluster service only a framework library. This task aim to support cluster service. In 1st step, cluster-refgui will be controlled by cluster-service demo signal. This patch a part of this task. Bug-AGL: SPEC-4991 Change-Id: I1dfdf3a6b9691f536bb96cd197feac89f4137540 Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
Diffstat (limited to 'GUIModel/Meter')
-rw-r--r--GUIModel/Meter/Meter.qml66
-rw-r--r--GUIModel/Meter/SpeedGuage.qml153
2 files changed, 0 insertions, 219 deletions
diff --git a/GUIModel/Meter/Meter.qml b/GUIModel/Meter/Meter.qml
index 1c7c0fe..7c2d5dd 100644
--- a/GUIModel/Meter/Meter.qml
+++ b/GUIModel/Meter/Meter.qml
@@ -40,9 +40,6 @@ Item {
Item {
id: meterParts
property var easing: Easing.InOutQuad
- Component.onCompleted: {
- testAnim.start()
- }
Connections{
target: rootItem
@@ -86,69 +83,6 @@ Item {
DigitalSpeed {
id: digitalSpeed
}
-
- ParallelAnimation{
- id: testAnim
- SequentialAnimation{
- id: testAnimSpeed
- loops: Animation.Infinite
- NumberAnimation {
- target: meter
- property: "speedValue"
- duration: 1000
- easing.type: Easing.InOutQuad
- to: 300
- }
- NumberAnimation{
- duration: 5000
- }
-
- NumberAnimation {
- target: meter
- property: "speedValue"
- duration: 5000
- easing.type: Easing.InOutQuad
- to: 0
- }
- }
-
- SequentialAnimation{
- id: testAnimTacho
- loops: Animation.Infinite
- NumberAnimation {
- target: meter
- property: "tachoValue"
- duration: 500
- easing.type: Easing.InOutQuad
- to: 8000
- }
- NumberAnimation {
- target: meter
- property: "tachoValue"
- duration: 2500
- easing.type: Easing.InOutQuad
- to: 0
- }
- }
- SequentialAnimation{
- id: testAnimCharge
- loops: Animation.Infinite
- NumberAnimation {
- target: meter
- property: "chargeValue"
- duration: 10000
- easing.type: Easing.Linear
- to: 0
- }
- NumberAnimation {
- target: meter
- property: "chargeValue"
- duration: 10000
- easing.type: Easing.Linear
- to: 100
- }
- }
- }
}
}
diff --git a/GUIModel/Meter/SpeedGuage.qml b/GUIModel/Meter/SpeedGuage.qml
index 056c00a..6667cad 100644
--- a/GUIModel/Meter/SpeedGuage.qml
+++ b/GUIModel/Meter/SpeedGuage.qml
@@ -114,157 +114,4 @@ Item {
anchors.leftMargin: -11
anchors.verticalCenter: parent.verticalCenter
}
-
- SequentialAnimation{
- id: normalToAdasAnimation
- onStarted: rootItem.focus=false
- ParallelAnimation{
- NumberAnimation{
- target: speedTxt
- property: "opacity"
- duration: 330
- easing.type: Easing.InOutSine
- from:1.0
- to:0.5
- }
-
- SequentialAnimation{
- NumberAnimation{
- target: pwrGuageGroup
- property: "opacity"
- duration: 330
- easing.type: Easing.InOutSine
- from:1.0
- to:0.0
- }
- PropertyAnimation{
- target: pwrGuageGroup
- property: "visible"
- duration: 0
- easing.type: Easing.InOutSine
- from:true
- to:false
- }
- }
- }
-
- ParallelAnimation{
- /* down size */
- NumberAnimation{
- target: speedGuage
- property: "scale"
- duration: 891
- easing.type: meterParts.easing
- from:1
- to:0.75
- }
-
- /* translation */
- PathAnimation{
- target: speedGuage
- anchorPoint: Qt.point(speedGuage.width/2, speedGuage.height/2)
- orientation: PathAnimation.Fixed
- duration: 891
- easing.type: meterParts.easing
-
- path: Path {
- startX: 960; startY: 391
- PathLine { x: 540; y: 402 }
- }
- }
-
- SequentialAnimation{
- PauseAnimation {
- duration: 891-330
- }
- NumberAnimation{
- target: speedTxt
- property: "opacity"
- duration: 330
- easing.type: Easing.InOutSine
- from:0.5
- to:1.0
- }
- }
- }
- }
-
- SequentialAnimation{
- id: mapToNormalAnimation
- onStarted: rootItem.focus=false
-
- PauseAnimation {
- duration: 254 + 330
- }
-
-
- ParallelAnimation{
- /* scaling */
- NumberAnimation{
- target: speedGuage
- property: "scale"
- duration: 891
- easing.type: meterParts.easing
- from:0.75
- to:1.0
- }
-
- /* slide */
- PathAnimation{
- target: speedGuage
- anchorPoint: Qt.point(speedGuage.width/2, speedGuage.height/2)
- orientation: PathAnimation.Fixed
- duration: 891
- easing.type: meterParts.easing
-
- path: Path {
- startX: 540; startY: 402
- PathLine { x: 960; y: 391 }
- }
- }
-
- NumberAnimation{
- target: speedTxt
- property: "opacity"
- duration: 330
- easing.type: Easing.InOutSine
- from:1.0
- to:0.5
- }
- }
-
- ParallelAnimation{
- NumberAnimation{
- target: speedTxt
- property: "opacity"
- duration: 330
- easing.type: Easing.InOutSine
- from:0.5
- to:1.0
- }
-
- SequentialAnimation{
- PropertyAnimation{
- target: pwrGuageGroup
- property: "visible"
- duration: 0
- easing.type: Easing.InOutSine
- from:false
- to:true
- }
-
- NumberAnimation{
- target: pwrGuageGroup
- property: "opacity"
- duration: 330
- easing.type: Easing.InOutSine
- from:0.0
- to:1.0
- }
- }
- }
- PauseAnimation {
- duration: 330
- }
- }
}