summaryrefslogtreecommitdiff
path: root/src/components/qt_hmi/References/Work/bananasnacks/qml/Bananas/main.qml
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/qt_hmi/References/Work/bananasnacks/qml/Bananas/main.qml')
-rw-r--r--src/components/qt_hmi/References/Work/bananasnacks/qml/Bananas/main.qml79
1 files changed, 0 insertions, 79 deletions
diff --git a/src/components/qt_hmi/References/Work/bananasnacks/qml/Bananas/main.qml b/src/components/qt_hmi/References/Work/bananasnacks/qml/Bananas/main.qml
deleted file mode 100644
index c6f0b0e769..0000000000
--- a/src/components/qt_hmi/References/Work/bananasnacks/qml/Bananas/main.qml
+++ /dev/null
@@ -1,79 +0,0 @@
-import QtQuick 2.0
-import "Components"
-import com.ford.sdlcore 1.0
-import com.ford.phonecore 1.0
-
-Rectangle {
- id: root
- width: 800
- height: 470
- color: "#000"
-
- states: [
- State {
- name: "home"
- PropertyChanges { target: maincontent; source: "Sections/home.qml" }
- },
- State {
- name: "home_corners"
- PropertyChanges { target: maincontent; source: "Sections/home_corners.qml" }
- },
- State {
- name: "phone"
- PropertyChanges { target: maincontent; source: "Sections/phone.qml" }
- },
- State {
- name: "navigation"
- PropertyChanges { target: maincontent; source: "Sections/navigation.qml" }
- },
- State {
- name: "media"
- PropertyChanges { target: maincontent; source: "Sections/media.qml" }
- },
- State {
- name: "vehicle"
- PropertyChanges { target: maincontent; source: "Sections/vehicle.qml" }
- }
- ]
-
- transitions: [
- Transition {
- to: '*'
- PropertyAnimation { target: maincontent; property: 'opacity'; from: 0; to: 1}
- }
- ]
-
- function go(string) {
- state = string
- }
-
- Connections {
- target: AppLink
- onAlert: root.alert(message);
- }
-
- Connections {
- target: PhoneCore
- onCallAdded: root.alert("Incoming call: \n" + name + "\n" + number)
- onCallRemoved: root.alert("Call ended")
- }
-
- function alert(message) {
- alert_loader.item.alert(message)
- }
-
- Section {
- id: maincontent
- source: "Sections/home.qml"
- }
-
- Section {
- id: alert_loader
- source: "Sections/alert.qml"
- }
-
- Section {
- id: chrome
- source: "Sections/chrome.qml"
- }
-}