summaryrefslogtreecommitdiff
path: root/src/components/qt_hmi/References/Work/bananasnacks/qml/Bananas/Sections/Phone
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/qt_hmi/References/Work/bananasnacks/qml/Bananas/Sections/Phone')
-rw-r--r--src/components/qt_hmi/References/Work/bananasnacks/qml/Bananas/Sections/Phone/device_info.qml21
-rw-r--r--src/components/qt_hmi/References/Work/bananasnacks/qml/Bananas/Sections/Phone/discovery.qml23
-rw-r--r--src/components/qt_hmi/References/Work/bananasnacks/qml/Bananas/Sections/Phone/keypad.qml55
-rw-r--r--src/components/qt_hmi/References/Work/bananasnacks/qml/Bananas/Sections/Phone/manage_devices.qml16
-rw-r--r--src/components/qt_hmi/References/Work/bananasnacks/qml/Bananas/Sections/Phone/menu.qml54
-rw-r--r--src/components/qt_hmi/References/Work/bananasnacks/qml/Bananas/Sections/Phone/recent_calls.qml62
6 files changed, 0 insertions, 231 deletions
diff --git a/src/components/qt_hmi/References/Work/bananasnacks/qml/Bananas/Sections/Phone/device_info.qml b/src/components/qt_hmi/References/Work/bananasnacks/qml/Bananas/Sections/Phone/device_info.qml
deleted file mode 100644
index 1f409f58e6..0000000000
--- a/src/components/qt_hmi/References/Work/bananasnacks/qml/Bananas/Sections/Phone/device_info.qml
+++ /dev/null
@@ -1,21 +0,0 @@
-import QtQuick 2.0
-import "../../Components"
-import com.ford.phonecore 1.0
-
-Item {
- anchors.fill: parent
-
- H2 {
- id: h2
- text: PhoneCore.device_name
-
- anchors.horizontalCenter: parent.horizontalCenter
- }
- Button {
- text: "Forget device"
- onPress: PhoneCore.unpairDevice()
- anchors.horizontalCenter: parent.horizontalCenter
- anchors.top: h2.bottom
- anchors.topMargin: 20
- }
-}
diff --git a/src/components/qt_hmi/References/Work/bananasnacks/qml/Bananas/Sections/Phone/discovery.qml b/src/components/qt_hmi/References/Work/bananasnacks/qml/Bananas/Sections/Phone/discovery.qml
deleted file mode 100644
index 5d7c51be6c..0000000000
--- a/src/components/qt_hmi/References/Work/bananasnacks/qml/Bananas/Sections/Phone/discovery.qml
+++ /dev/null
@@ -1,23 +0,0 @@
-import QtQuick 2.0
-import com.ford.phonecore 1.0
-import "../../Components"
-
-Item {
- ListView {
- anchors.horizontalCenter: parent.horizontalCenter
- width: 300
- anchors.top: parent.top
- anchors.bottom: parent.bottom
- spacing: 10
-
- delegate: Button {
- text: name
- width: parent.width
- onPress: bluetooth_devices.createPairedDevice(mac)
- }
-
- model: BluetoothDiscoveredDevices {
- id: bluetooth_devices
- }
- }
-}
diff --git a/src/components/qt_hmi/References/Work/bananasnacks/qml/Bananas/Sections/Phone/keypad.qml b/src/components/qt_hmi/References/Work/bananasnacks/qml/Bananas/Sections/Phone/keypad.qml
deleted file mode 100644
index fd5ed4ff09..0000000000
--- a/src/components/qt_hmi/References/Work/bananasnacks/qml/Bananas/Sections/Phone/keypad.qml
+++ /dev/null
@@ -1,55 +0,0 @@
-import QtQuick 2.0
-import com.ford.phonecore 1.0
-import "../../Components"
-import "../../Layouts"
-
-Item {
- anchors.top: parent.top
- anchors.topMargin: 80
-
- TextBox {
- id: phone_number
- border.color: Qt.rgba(0.454901961,0.37254902,0.203921569,1)
- anchors.top: parent.top
- width: parent.width - 160
- anchors.horizontalCenter: parent.horizontalCenter
- }
-
- BackButton {
- anchors.top: phone_number.top
- anchors.topMargin: 1
- anchors.right: phone_number.left
- anchors.rightMargin: 10
- onPress: section.state = ''
- }
-
- ImageButton {
- anchors.top: phone_number.top
- anchors.topMargin: 1
- icon: "../../Assets/DeleteIcon.png"
- anchors.left: phone_number.right
- anchors.leftMargin: 10
- height: 42
-
- onPress: phone_number.text = phone_number.text.replace(/.$/, '')
- }
-
- Keypad {
- anchors.topMargin: 40
- anchors.top: phone_number.bottom
- anchors.horizontalCenter: parent.horizontalCenter
-
- onLetterClicked: phone_number.text += letter
- }
-
- Button {
- text: "Call"
- onPress: PhoneCore.dial(phone_number.text);
- y: 100
- }
- Button {
- text: "End call"
- onPress: PhoneCore.hangup();
- y: 160
- }
-}
diff --git a/src/components/qt_hmi/References/Work/bananasnacks/qml/Bananas/Sections/Phone/manage_devices.qml b/src/components/qt_hmi/References/Work/bananasnacks/qml/Bananas/Sections/Phone/manage_devices.qml
deleted file mode 100644
index cf62a9c287..0000000000
--- a/src/components/qt_hmi/References/Work/bananasnacks/qml/Bananas/Sections/Phone/manage_devices.qml
+++ /dev/null
@@ -1,16 +0,0 @@
-import QtQuick 2.0
-import com.ford.phonecore 1.0
-import "../../Components"
-import "../../Layouts"
-
-TitledLayout {
- title: "Manage Bluetooth devices"
- back_button: true
-
- Loader {
- id: view
-
- anchors.fill: parent
- source: (PhoneCore.device_name === "") ? "discovery.qml" : "device_info.qml"
- }
-}
diff --git a/src/components/qt_hmi/References/Work/bananasnacks/qml/Bananas/Sections/Phone/menu.qml b/src/components/qt_hmi/References/Work/bananasnacks/qml/Bananas/Sections/Phone/menu.qml
deleted file mode 100644
index 2d53656ba0..0000000000
--- a/src/components/qt_hmi/References/Work/bananasnacks/qml/Bananas/Sections/Phone/menu.qml
+++ /dev/null
@@ -1,54 +0,0 @@
-import QtQuick 2.0
-import "../../Components"
-import "../../Layouts"
-
-LeftThirdSection {
- Grid {
- anchors.verticalCenter: parent.verticalCenter
- anchors.horizontalCenter: parent.horizontalCenter
- spacing: 10
-
- GraphicalButton {
- text: "Do Not Disturb"
- image: "../../Assets/DndIcon.png"
- }
-
- GraphicalButton {
- text: "Phonebook"
- image: "../../Assets/PhonebookIcon.png"
- }
-
- GraphicalButton {
- text: "Voicemail"
- image: "../../Assets/VoicemailIcon.png"
- }
-
- GraphicalButton {
- text: "Messages"
- image: "../../Assets/MessagesIcon.png"
- }
-
- GraphicalButton {
- text: "Recent Calls"
- image: "../../Assets/RecentCallsIcon.png"
- onPress: section.state = 'recent_calls'
- }
-
- GraphicalButton {
- text: "Keypad"
- image: "../../Assets/KeypadIcon.png"
- onPress: section.state = 'keypad'
- }
-
- GraphicalButton {
- text: "Speed Dial"
- image: "../../Assets/SpeedDialIcon.png"
- }
-
- GraphicalButton {
- text: "Devices"
- image: "../../Assets/SpeedDialIcon.png"
- onPress: section.state = 'manage_devices'
- }
- }
-}
diff --git a/src/components/qt_hmi/References/Work/bananasnacks/qml/Bananas/Sections/Phone/recent_calls.qml b/src/components/qt_hmi/References/Work/bananasnacks/qml/Bananas/Sections/Phone/recent_calls.qml
deleted file mode 100644
index 1873ed4382..0000000000
--- a/src/components/qt_hmi/References/Work/bananasnacks/qml/Bananas/Sections/Phone/recent_calls.qml
+++ /dev/null
@@ -1,62 +0,0 @@
-import QtQuick 2.0
-import com.ford.phonecore 1.0
-import "../../Components"
-import "../../Layouts"
-
-TitledLayout {
- title: "Recent calls"
- Component.onCompleted: PhoneCore.hangup()
- back_button: true
-
- Flickable {
- height: 300
- width: 400
- anchors.top: parent.top
- anchors.horizontalCenter: parent.horizontalCenter
- clip: true
- contentWidth: content.width
- contentHeight: content.height
-
- Column {
- id: content
- width: parent.width
- spacing: 10
-
- Button {
- text: "Chris Church: Mobile"
- onPress: PhoneCore.dial("8106567195")
- width: parent.width
- }
- Button {
- text: "Barry Church: Mobile"
- onPress: PhoneCore.dial("3134074522")
- width: parent.width
- }
- Button {
- text: "Barry Church: Work"
- onPress: PhoneCore.dial("3134074522")
- width: parent.width
- }
- Button {
- text: "Aaron Church: Mobile"
- onPress: PhoneCore.dial("3134074522")
- width: parent.width
- }
- Button {
- text: "Aaron Church: Mobile"
- onPress: PhoneCore.dial("3134074522")
- width: parent.width
- }
- Button {
- text: "Aaron Church: Mobile"
- onPress: PhoneCore.dial("3134074522")
- width: parent.width
- }
- Button {
- text: "Aaron Church: Mobile"
- onPress: PhoneCore.dial("3134074522")
- width: parent.width
- }
- }
- }
-}