summaryrefslogtreecommitdiff
path: root/src/components/qt_hmi/References/Work/bananasnacks/qml/Bananas/Sections/Navigation
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/qt_hmi/References/Work/bananasnacks/qml/Bananas/Sections/Navigation')
-rw-r--r--src/components/qt_hmi/References/Work/bananasnacks/qml/Bananas/Sections/Navigation/.menu.qml.swpbin12288 -> 0 bytes
-rw-r--r--src/components/qt_hmi/References/Work/bananasnacks/qml/Bananas/Sections/Navigation/favorites.qml70
-rw-r--r--src/components/qt_hmi/References/Work/bananasnacks/qml/Bananas/Sections/Navigation/keyboard_search.qml64
-rw-r--r--src/components/qt_hmi/References/Work/bananasnacks/qml/Bananas/Sections/Navigation/map.qml63
-rw-r--r--src/components/qt_hmi/References/Work/bananasnacks/qml/Bananas/Sections/Navigation/menu.qml57
-rw-r--r--src/components/qt_hmi/References/Work/bananasnacks/qml/Bananas/Sections/Navigation/poi.qml205
-rw-r--r--src/components/qt_hmi/References/Work/bananasnacks/qml/Bananas/Sections/Navigation/recent_destinations.qml70
-rw-r--r--src/components/qt_hmi/References/Work/bananasnacks/qml/Bananas/Sections/Navigation/video_moving_map.qml20
8 files changed, 0 insertions, 549 deletions
diff --git a/src/components/qt_hmi/References/Work/bananasnacks/qml/Bananas/Sections/Navigation/.menu.qml.swp b/src/components/qt_hmi/References/Work/bananasnacks/qml/Bananas/Sections/Navigation/.menu.qml.swp
deleted file mode 100644
index 183438e037..0000000000
--- a/src/components/qt_hmi/References/Work/bananasnacks/qml/Bananas/Sections/Navigation/.menu.qml.swp
+++ /dev/null
Binary files differ
diff --git a/src/components/qt_hmi/References/Work/bananasnacks/qml/Bananas/Sections/Navigation/favorites.qml b/src/components/qt_hmi/References/Work/bananasnacks/qml/Bananas/Sections/Navigation/favorites.qml
deleted file mode 100644
index db16b994b4..0000000000
--- a/src/components/qt_hmi/References/Work/bananasnacks/qml/Bananas/Sections/Navigation/favorites.qml
+++ /dev/null
@@ -1,70 +0,0 @@
-import QtQuick 2.0
-import com.ford.navcore 1.0
-import "../../Components"
-import "../../Layouts"
-
-Item {
- BackButton { onPress: section.state = 'menu' }
- NavController {
- id: navController
- }
-
- Flickable {
- height: 300
- width: 400
- anchors.verticalCenter: parent.verticalCenter
- anchors.horizontalCenter: parent.horizontalCenter
- clip: true
- contentWidth: content.width
- contentHeight: content.height
-
- Column {
- id: content
- width: parent.width
- spacing: 10
-
- Button {
- text: "Barry Church's home"
- width: parent.width
- onPress: {
- navController.beginNavigation("USA", "MI", "Davison", "Victoria Sta", "3465");
- section.state = 'map';
- }
- }
- Button {
- text: "Subway"
- width: parent.width
- onPress: {
- navController.beginNavigation("USA", "MI", "Dearborn Heights", "Pelham St", "3929");
- section.state = 'map';
- }
- }
- Button {
- text: "Ford World Headquarters"
- width: parent.width
- onPress: {
- navController.beginNavigation("USA", "MI", "Dearborn", "American Rd", "1");
- section.state = 'map';
- }
- }
- Button {
- text: "Qdoba"
- width: parent.width
- onPress: {
- navController.beginNavigation("USA", "MI", "Allen Park", "Fairlane Dr", "48101");
- section.state = 'map';
- }
- }
- Button {
- text: "Levagood Park"
- width: parent.width
- onPress: {
- navController.beginNavigation("USA", "MI", "Dearborn", "Denwood St", "1100");
- section.state = 'map';
- }
- }
-
- }
- }
-}
-
diff --git a/src/components/qt_hmi/References/Work/bananasnacks/qml/Bananas/Sections/Navigation/keyboard_search.qml b/src/components/qt_hmi/References/Work/bananasnacks/qml/Bananas/Sections/Navigation/keyboard_search.qml
deleted file mode 100644
index 011c761646..0000000000
--- a/src/components/qt_hmi/References/Work/bananasnacks/qml/Bananas/Sections/Navigation/keyboard_search.qml
+++ /dev/null
@@ -1,64 +0,0 @@
-import QtQuick 2.0
-import "../../Components"
-import "../../Layouts"
-
-Item {
- anchors.fill: parent
- id: keyboard_search
-
- states: [
- State {
- name: 'city'
- PropertyChanges {target: text_entry; autocompleteModel: citySuggestions}
- },
- State {
- name: 'street'
- PropertyChanges {target: text_entry; autocompleteModel: streetSuggestions}
- },
- State {
- name: 'door'
- PropertyChanges {target: text_entry; autocompleteModel: undefined}
- },
- State {
- name: 'review'
- PropertyChanges {target: text_entry; visible: false}
- PropertyChanges {target: review; visible: true}
- }
- ]
-
- Column {
- id: review
- anchors.verticalCenter: parent.verticalCenter
- anchors.horizontalCenter: parent.horizontalCenter
- width: 500
-
- visible: false
- Button {
- text: stateSuggestions.selected
- width: parent.width
- onPress: keyboard_search.state = ""
- }
- Button {
- text: citySuggestions.selected
- width: parent.width
- onPress: keyboard_search.state = "city"
- }
- Button {
- text: streetSuggestions.selected
- width: parent.width
- onPress: keyboard_search.state = "city"
- }
- Button {
- id: doornumber
- width: parent.width
- onPress: keyboard_search.state = "door"
- }
- Button {
- text: "Begin navigation"
- anchors.horizontalCenter: parent.horizontalCenter
- onPress: {
- section.state = 'map';
- }
- }
- }
-}
diff --git a/src/components/qt_hmi/References/Work/bananasnacks/qml/Bananas/Sections/Navigation/map.qml b/src/components/qt_hmi/References/Work/bananasnacks/qml/Bananas/Sections/Navigation/map.qml
deleted file mode 100644
index 8b48efe780..0000000000
--- a/src/components/qt_hmi/References/Work/bananasnacks/qml/Bananas/Sections/Navigation/map.qml
+++ /dev/null
@@ -1,63 +0,0 @@
-import QtQuick 2.0
-import "../../Components"
-
-Item {
- Column {
- anchors.left: parent.left;
- anchors.verticalCenter: parent.verticalCenter
- spacing: 10
-
- Button {
- text: "Zoom in"
- }
-
- Button {
- text: "Zoom out"
- }
-
- Button {
- text: "3D"
- }
-
- Button {
- text: "2D"
- }
-
- Button {
- text: "North up"
- }
- }
-
- Rectangle {
- width: next_turn.width + 20
- height: 30
- anchors.top: parent.top
- anchors.topMargin: 65
- anchors.horizontalCenter: parent.horizontalCenter
- color: "black"
- opacity: 0.6
-
- }
-
- Rectangle {
- width: current_street.width + 20
- height: 30
- anchors.bottom: parent.bottom
- anchors.bottomMargin: 65
- anchors.horizontalCenter: parent.horizontalCenter
- color: "black"
- opacity: 0.6
- visible: navController.current_street.length > 0
-
- }
-
-
- Button {
- text: "Go"
- anchors.top: parent.top
- anchors.topMargin: 3
- anchors.right: parent.right
- anchors.rightMargin: 20
- onPress: section.state = 'menu'
- }
-}
diff --git a/src/components/qt_hmi/References/Work/bananasnacks/qml/Bananas/Sections/Navigation/menu.qml b/src/components/qt_hmi/References/Work/bananasnacks/qml/Bananas/Sections/Navigation/menu.qml
deleted file mode 100644
index fdcae3f58e..0000000000
--- a/src/components/qt_hmi/References/Work/bananasnacks/qml/Bananas/Sections/Navigation/menu.qml
+++ /dev/null
@@ -1,57 +0,0 @@
-import QtQuick 2.0
-import "../../Components"
-import "../../Layouts"
-
-EmptyLayout {
- back_button: true
-
- Grid {
- anchors.verticalCenter: parent.verticalCenter
- anchors.horizontalCenter: parent.horizontalCenter
- spacing: 10
-
- GraphicalButton {
- text: "Home"
- image: "../../Assets/HomeIcon.png"
- onPress: {
- section.state = 'map';
- }
- }
- GraphicalButton {
- text: "Work"
- image: "../../Assets/WorkIcon.png"
- onPress: {
- section.state = 'map';
- }
- }
- GraphicalButton {
- text: "Recent Destination"
- image: "../../Assets/RecentDestinationsIcon.png"
- onPress: section.state = 'recent_destinations'
- }
- GraphicalButton {
- text: "Keyboard"
- image: "../../Assets/KeyboardIcon.png"
- onPress: section.state = 'keyboard_search'
- }
- GraphicalButton {
- text: "Favorites"
- image: "../../Assets/FavoritesIcon.png"
- onPress: section.state = 'favorites'
- }
- GraphicalButton {
- text: "Point of Interest"
- image: "../../Assets/PoiIcon.png"
- onPress: section.state = 'poi'
- }
- GraphicalButton {
- text: "Scout"
- image: "../../Assets/ScoutIcon.png"
- }
- GraphicalButton {
- text: "SYNC Services"
- image: "../../Assets/ServicesIcon.png"
- onPress: section.state = "video_moving_map"
- }
- }
-}
diff --git a/src/components/qt_hmi/References/Work/bananasnacks/qml/Bananas/Sections/Navigation/poi.qml b/src/components/qt_hmi/References/Work/bananasnacks/qml/Bananas/Sections/Navigation/poi.qml
deleted file mode 100644
index 0ecea8a113..0000000000
--- a/src/components/qt_hmi/References/Work/bananasnacks/qml/Bananas/Sections/Navigation/poi.qml
+++ /dev/null
@@ -1,205 +0,0 @@
-import QtQuick 2.0
-import com.ford.navcore 1.0
-import "../../Components"
-import "../../Layouts"
-
-EmptyLayout {
- anchors.fill: parent
- back_button: true
- id: poi_search
-
- Component.onCompleted: state = "search_type"
-
- states: [
- State {
- name: 'search_type'
- PropertyChanges {
- target: search_type
- visible: true
- }
- },
- State {
- name: 'categories'
- PropertyChanges {
- target: category_select
- visible: true
- }
- },
- State {
- name: 'select_state'
- PropertyChanges {
- target: text_entry
- visible: true
- }
- },
- State {
- name: 'results'
- PropertyChanges {
- target: results
- visible: true
- }
- },
- State {
- name: 'result'
- PropertyChanges {
- target: result
- visible: true
- }
- }
- ]
-
- NavController {
- id: navController
- }
-
- Grid {
- id: search_type
- property string type
- anchors.verticalCenter: parent.verticalCenter
- anchors.horizontalCenter: parent.horizontalCenter
- spacing: 10
- visible: false
-
- GraphicalButton {
- text: "Near me"
- image: "../../Assets/HomeIcon.png"
- onPress: {
- search_type.type = "nearby"
- poi_search.state = "categories"
- }
- }
-
- GraphicalButton {
- text: "Along route"
- image: "../../Assets/HomeIcon.png"
- onPress: {
- search_type.type = "route"
- poi_search.state = "categories"
- }
- }
-
- GraphicalButton {
- text: "In city"
- image: "../../Assets/HomeIcon.png"
- onPress: {
- search_type.type = "city"
- poi_search.state = "select_state"
- }
- }
- }
-
- ListView {
- id: category_select
- anchors.verticalCenter: parent.verticalCenter
- anchors.horizontalCenter: parent.horizontalCenter
- height: parent.height - 120
- width: parent.width
- spacing: 10
- clip: true
-
- GraphicalButton {
- text: "Search by name"
- image: "../../Assets/HomeIcon.png"
- anchors.verticalCenter: parent.verticalCenter
- anchors.left: parent.left
- anchors.leftMargin: 20
- }
-
- visible: false
- model: NavPoiCategoryListModel { id: poi_categories }
-
- delegate: Button {
- property int category_id: id
- text: name
- width: 400
- anchors.horizontalCenter: parent.horizontalCenter
- onPress: {
- navController.poiSearch(search_type.type, category_id, "USA", state_suggestions.getSelected(), city_suggestions.getSelected());
- poi_search.state = "results"
- }
- }
- }
-
- ListView {
- id: results
- visible: false
- anchors.topMargin: 80
- anchors.top: parent.top
- anchors.bottomMargin: 80
- anchors.bottom: parent.bottom
- anchors.horizontalCenter: parent.horizontalCenter
- width: 400
- height: parent.height - 120
- spacing: 10
- clip: true
-
- model: NavPoiSuggestionListModel {
- id: poi_suggestions
- }
-
- delegate: Button {
- text: name
- width: parent.width
- onPress: {
- results.currentIndex = index
- poi_search.state = "result"
- }
- }
- }
-
- Item {
- anchors.fill: parent
- anchors.topMargin: 80
- anchors.bottomMargin: 80
- id: result
- visible: false
-
- H1 {
- id: poi_name
- anchors.horizontalCenter: parent.horizontalCenter
- text: (results.currentItem ? results.currentItem.text : "")
- }
-
- Button {
- text: "Begin navigation"
- anchors.horizontalCenter: parent.horizontalCenter
- anchors.top: poi_name.bottom
- onPress: {
- poi_suggestions.navigateToResult(results.currentIndex);
- section.state = 'map'
- }
- }
- }
-
- TextEntry {
- id: text_entry
- anchors.topMargin: 80
- input_border.color: "#3C7855"
-
- states: [
- State {
- name: "city_select"
- PropertyChanges {
- target: text_entry
- autocompleteModel: city_suggestions
- }
- }
-
- ]
-
- NavStateSuggestionListModel { id: state_suggestions }
- NavCitySuggestionListModel { id: city_suggestions; stateListModel: state_suggestions }
- autocompleteModel: state_suggestions
- visible: false
-
- onSelected: {
- if (text_entry.state === '') {
- text = "";
- text_entry.state = 'city_select';
- }
- else {
- poi_search.state = 'categories'
- }
- }
- }
-}
diff --git a/src/components/qt_hmi/References/Work/bananasnacks/qml/Bananas/Sections/Navigation/recent_destinations.qml b/src/components/qt_hmi/References/Work/bananasnacks/qml/Bananas/Sections/Navigation/recent_destinations.qml
deleted file mode 100644
index db16b994b4..0000000000
--- a/src/components/qt_hmi/References/Work/bananasnacks/qml/Bananas/Sections/Navigation/recent_destinations.qml
+++ /dev/null
@@ -1,70 +0,0 @@
-import QtQuick 2.0
-import com.ford.navcore 1.0
-import "../../Components"
-import "../../Layouts"
-
-Item {
- BackButton { onPress: section.state = 'menu' }
- NavController {
- id: navController
- }
-
- Flickable {
- height: 300
- width: 400
- anchors.verticalCenter: parent.verticalCenter
- anchors.horizontalCenter: parent.horizontalCenter
- clip: true
- contentWidth: content.width
- contentHeight: content.height
-
- Column {
- id: content
- width: parent.width
- spacing: 10
-
- Button {
- text: "Barry Church's home"
- width: parent.width
- onPress: {
- navController.beginNavigation("USA", "MI", "Davison", "Victoria Sta", "3465");
- section.state = 'map';
- }
- }
- Button {
- text: "Subway"
- width: parent.width
- onPress: {
- navController.beginNavigation("USA", "MI", "Dearborn Heights", "Pelham St", "3929");
- section.state = 'map';
- }
- }
- Button {
- text: "Ford World Headquarters"
- width: parent.width
- onPress: {
- navController.beginNavigation("USA", "MI", "Dearborn", "American Rd", "1");
- section.state = 'map';
- }
- }
- Button {
- text: "Qdoba"
- width: parent.width
- onPress: {
- navController.beginNavigation("USA", "MI", "Allen Park", "Fairlane Dr", "48101");
- section.state = 'map';
- }
- }
- Button {
- text: "Levagood Park"
- width: parent.width
- onPress: {
- navController.beginNavigation("USA", "MI", "Dearborn", "Denwood St", "1100");
- section.state = 'map';
- }
- }
-
- }
- }
-}
-
diff --git a/src/components/qt_hmi/References/Work/bananasnacks/qml/Bananas/Sections/Navigation/video_moving_map.qml b/src/components/qt_hmi/References/Work/bananasnacks/qml/Bananas/Sections/Navigation/video_moving_map.qml
deleted file mode 100644
index 2f6b798d18..0000000000
--- a/src/components/qt_hmi/References/Work/bananasnacks/qml/Bananas/Sections/Navigation/video_moving_map.qml
+++ /dev/null
@@ -1,20 +0,0 @@
-import QtQuick 2.0
-import "../../Components"
-import QtMultimedia 5.0
-
-Item {
- Video {
- anchors.fill: parent
- source: "rtsp://172.20.10.7:8086"
- autoPlay: true
- }
-
- Button {
- text: "Go"
- anchors.top: parent.top
- anchors.topMargin: 3
- anchors.right: parent.right
- anchors.rightMargin: 20
- onPress: section.state = 'menu'
- }
-}