summaryrefslogtreecommitdiffstats
path: root/app/Dialer.qml
diff options
context:
space:
mode:
authorMatt Porter <mporter@konsulko.com>2018-05-21 11:54:33 -0400
committerMatt Porter <mporter@konsulko.com>2018-05-22 11:34:53 +0000
commit14b2f421da514a3d8584f7983884a9027ac06cbb (patch)
treed813469bfcbb353c4d3ba919804c9cbef41bbc8b /app/Dialer.qml
parent87c3378a8b716b896ca0cb72ccfb2e13f748058a (diff)
phone: add tabbed view
Adds support for a tabbed view of contacts, recent call, and the dialpad. This adjusts the UI to look more like a modern mobile phone app. The same models populate the contacts view and the recent call view as before with the latter being a more useful full screen list. The recent call history also includes type of call information (missed, incoming, outgoing) and the UI displays icons accordingly to indicate type of call that occured as well as a time stamp. For now, the icons are placeholders but will be replaced by icons design to match the AGL look and feel. Bug-AGL: SPEC-1435 Change-Id: I521155a11208e92ece83f20f7f3dd643deb92099 Signed-off-by: Matt Porter <mporter@konsulko.com>
Diffstat (limited to 'app/Dialer.qml')
-rw-r--r--app/Dialer.qml13
1 files changed, 1 insertions, 12 deletions
diff --git a/app/Dialer.qml b/app/Dialer.qml
index 4720e14..03e9b41 100644
--- a/app/Dialer.qml
+++ b/app/Dialer.qml
@@ -1,6 +1,6 @@
/*
* Copyright (C) 2016 The Qt Company Ltd.
- * Copyright (C) 2017 Konsulko Group
+ * Copyright (C) 2017-2018 Konsulko Group
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -56,7 +56,6 @@ Item {
}
}
- signal showContacts
function call(cname, cnumber) {
name.text = cname
var rawNumber = cnumber
@@ -64,16 +63,6 @@ Item {
callButton.checked = true
}
- ImageButton {
- anchors.left: parent.left
- anchors.top: parent.top
- anchors.margins: 60
- width: 172
- height: 172
- offImage: './images/HMI_Phone_Contacts-01.svg'
- onClicked: root.showContacts()
- }
-
ColumnLayout {
anchors.fill: parent
anchors.topMargin: 50