diff options
Diffstat (limited to 'GUIModel/Meter')
-rw-r--r-- | GUIModel/Meter/Meter.qml | 66 | ||||
-rw-r--r-- | GUIModel/Meter/SpeedGuage.qml | 153 |
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 - } - } } |