summaryrefslogtreecommitdiffstats
path: root/app/Notification.qml
diff options
context:
space:
mode:
authorMatt Ranostay <matt.ranostay@konsulko.com>2019-07-01 11:18:24 -0700
committerMatt Ranostay <matt.ranostay@konsulko.com>2019-07-09 14:08:34 -0700
commitd24a8a6bc4b1241d1057d78006da3c5dac454dd1 (patch)
treea2bbbab6b521d26e9e97f4fd323212d998f43c5f /app/Notification.qml
parent7dff10809be5feeda6f81b942c8671cdda2e3a27 (diff)
Initial Messaging application that enables notifications of incoming SMS messages. Bug-AGL: SPEC-2566 Change-Id: If9a196536cf5aa4ce016d541c276b9750a9af48f Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Diffstat (limited to 'app/Notification.qml')
-rw-r--r--app/Notification.qml26
1 files changed, 26 insertions, 0 deletions
diff --git a/app/Notification.qml b/app/Notification.qml
new file mode 100644
index 0000000..45c98f6
--- /dev/null
+++ b/app/Notification.qml
@@ -0,0 +1,26 @@
+import QtQuick 2.6
+import QtQuick.Layouts 1.1
+import QtQuick.Controls 2.0
+
+Item {
+ height: msg.height
+ width: parent.width
+ Column {
+ id: msg
+ anchors.left: parent.left
+ anchors.right: parent.right
+ Label {
+ text: '<b>' + name + '</b>'
+ font.pixelSize: 42
+ wrapMode: Text.WordWrap
+ }
+ Label {
+ text: message
+ anchors.margins: 5
+ anchors.left: parent.left
+ anchors.right: parent.right
+ font.pixelSize: 32
+ wrapMode: Text.WordWrap
+ }
+ }
+}