diff options
author | Matt Ranostay <matt.ranostay@konsulko.com> | 2019-07-01 11:18:24 -0700 |
---|---|---|
committer | Matt Ranostay <matt.ranostay@konsulko.com> | 2019-07-09 14:08:34 -0700 |
commit | d24a8a6bc4b1241d1057d78006da3c5dac454dd1 (patch) | |
tree | a2bbbab6b521d26e9e97f4fd323212d998f43c5f /app/Notification.qml | |
parent | 7dff10809be5feeda6f81b942c8671cdda2e3a27 (diff) |
messaging: initial commit for applicationhalibut_8.0.1halibut_8.0.0halibut_7.99.3halibut/8.0.1halibut/8.0.0halibut/7.99.38.0.18.0.07.99.3
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.qml | 26 |
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 + } + } +} |