diff options
author | Matt Ranostay <matt.ranostay@konsulko.com> | 2019-09-06 02:03:22 -0700 |
---|---|---|
committer | Matt Ranostay <matt.ranostay@konsulko.com> | 2019-09-06 02:04:30 -0700 |
commit | 6a5be9c5a06cff021eef2460d8d6f873e10df582 (patch) | |
tree | d3b0a00861ed9e4c2516f8c32fe61eabcbbf3987 /app/ImgDestinationDirection.qml | |
parent | 4468670509e91681c8b35bfa056e425c340c57d5 (diff) |
Run dos2unix on entire repo
Remove CR+LF line endings on most files in the repo
Bug-AGL: SPEC-2667
Change-Id: I8ad7cd9ea20658dabdecf8ce14a51cb8a851b999
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Diffstat (limited to 'app/ImgDestinationDirection.qml')
-rw-r--r-- | app/ImgDestinationDirection.qml | 188 |
1 files changed, 94 insertions, 94 deletions
diff --git a/app/ImgDestinationDirection.qml b/app/ImgDestinationDirection.qml index 76155c9..b652cdc 100644 --- a/app/ImgDestinationDirection.qml +++ b/app/ImgDestinationDirection.qml @@ -1,94 +1,94 @@ -import QtQuick 2.0
-
-Item {
- id: img_destination_direction
- width: 100
- height: 100
- visible: false
-
- Rectangle {
- width: parent.width
- height: parent.height
- color: "#a0a0a0"
-
- Image {
- id: direction
- anchors.fill: parent
- anchors.margins: 1
- source: "images/SW_Patern_3.bmp"
- }
- }
-
- states: [
- State {
- name: "0" // NoDirection
- PropertyChanges { target: img_destination_direction; visible: false }
- },
- State {
- name: "1" // DirectionForward
- PropertyChanges { target: img_destination_direction; visible: true }
- PropertyChanges { target: direction; source: "images/145px-16_cardinal_points_N.png" }
- },
- State {
- name: "2" // DirectionBearRight
- PropertyChanges { target: img_destination_direction; visible: true }
- PropertyChanges { target: direction; source: "images/11_2_bear_right_112px-Signal_C117a.svg.png" }
- },
- State {
- name: "3" // DirectionLightRight
- PropertyChanges { target: img_destination_direction; visible: true }
- PropertyChanges { target: direction; source: "images/145px-16_cardinal_points_NE.png" }
- },
- State {
- name: "4" // DirectionRight
- PropertyChanges { target: img_destination_direction; visible: true }
- PropertyChanges { target: direction; source: "images/145px-16_cardinal_points_E.png" }
- },
- State {
- name: "5" // DirectionHardRight
- PropertyChanges { target: img_destination_direction; visible: true }
- PropertyChanges { target: direction; source: "images/145px-16_cardinal_points_SE.png" }
- },
- State {
- name: "6" // DirectionUTurnRight
- PropertyChanges { target: img_destination_direction; visible: true }
-// PropertyChanges { target: direction; source: "images/146px-Israely_road_sign_211.svg.png" }
- PropertyChanges { target: direction; source: "images/146px-Israely_road_sign_212.svg.png" } // No u-turn right in CES2019
- },
- State {
- name: "7" // DirectionUTurnLeft
- PropertyChanges { target: img_destination_direction; visible: true }
- PropertyChanges { target: direction; source: "images/146px-Israely_road_sign_212.svg.png" }
- },
- State {
- name: "8" // DirectionHardLeft
- PropertyChanges { target: img_destination_direction; visible: true }
- PropertyChanges { target: direction; source: "images/145px-16_cardinal_points_SW.png" }
- },
- State {
- name: "9" // DirectionLeft
- PropertyChanges { target: img_destination_direction; visible: true }
- PropertyChanges { target: direction; source: "images/145px-16_cardinal_points_W.png" }
- },
- State {
- name: "10" // DirectionLightLeft
- PropertyChanges { target: img_destination_direction; visible: true }
- PropertyChanges { target: direction; source: "images/145px-16_cardinal_points_NW.png" }
- },
- State {
- name: "11" // DirectionBearLeft
- PropertyChanges { target: img_destination_direction; visible: true }
- PropertyChanges { target: direction; source: "images/10_11_bear_left_112px-Signal_C117a.svg.png" }
- },
- State {
- name: "12" // arrived at your destination
- PropertyChanges { target: img_destination_direction; visible: true }
- PropertyChanges { target: direction; source: "images/Emoji_u1f3c1.svg" }
- },
- State {
- name: "invisible"
- PropertyChanges { target: img_destination_direction; visible: false }
- }
-
- ]
-}
+import QtQuick 2.0 + +Item { + id: img_destination_direction + width: 100 + height: 100 + visible: false + + Rectangle { + width: parent.width + height: parent.height + color: "#a0a0a0" + + Image { + id: direction + anchors.fill: parent + anchors.margins: 1 + source: "images/SW_Patern_3.bmp" + } + } + + states: [ + State { + name: "0" // NoDirection + PropertyChanges { target: img_destination_direction; visible: false } + }, + State { + name: "1" // DirectionForward + PropertyChanges { target: img_destination_direction; visible: true } + PropertyChanges { target: direction; source: "images/145px-16_cardinal_points_N.png" } + }, + State { + name: "2" // DirectionBearRight + PropertyChanges { target: img_destination_direction; visible: true } + PropertyChanges { target: direction; source: "images/11_2_bear_right_112px-Signal_C117a.svg.png" } + }, + State { + name: "3" // DirectionLightRight + PropertyChanges { target: img_destination_direction; visible: true } + PropertyChanges { target: direction; source: "images/145px-16_cardinal_points_NE.png" } + }, + State { + name: "4" // DirectionRight + PropertyChanges { target: img_destination_direction; visible: true } + PropertyChanges { target: direction; source: "images/145px-16_cardinal_points_E.png" } + }, + State { + name: "5" // DirectionHardRight + PropertyChanges { target: img_destination_direction; visible: true } + PropertyChanges { target: direction; source: "images/145px-16_cardinal_points_SE.png" } + }, + State { + name: "6" // DirectionUTurnRight + PropertyChanges { target: img_destination_direction; visible: true } +// PropertyChanges { target: direction; source: "images/146px-Israely_road_sign_211.svg.png" } + PropertyChanges { target: direction; source: "images/146px-Israely_road_sign_212.svg.png" } // No u-turn right in CES2019 + }, + State { + name: "7" // DirectionUTurnLeft + PropertyChanges { target: img_destination_direction; visible: true } + PropertyChanges { target: direction; source: "images/146px-Israely_road_sign_212.svg.png" } + }, + State { + name: "8" // DirectionHardLeft + PropertyChanges { target: img_destination_direction; visible: true } + PropertyChanges { target: direction; source: "images/145px-16_cardinal_points_SW.png" } + }, + State { + name: "9" // DirectionLeft + PropertyChanges { target: img_destination_direction; visible: true } + PropertyChanges { target: direction; source: "images/145px-16_cardinal_points_W.png" } + }, + State { + name: "10" // DirectionLightLeft + PropertyChanges { target: img_destination_direction; visible: true } + PropertyChanges { target: direction; source: "images/145px-16_cardinal_points_NW.png" } + }, + State { + name: "11" // DirectionBearLeft + PropertyChanges { target: img_destination_direction; visible: true } + PropertyChanges { target: direction; source: "images/10_11_bear_left_112px-Signal_C117a.svg.png" } + }, + State { + name: "12" // arrived at your destination + PropertyChanges { target: img_destination_direction; visible: true } + PropertyChanges { target: direction; source: "images/Emoji_u1f3c1.svg" } + }, + State { + name: "invisible" + PropertyChanges { target: img_destination_direction; visible: false } + } + + ] +} |