summaryrefslogtreecommitdiffstats
path: root/app/Notification.qml
diff options
context:
space:
mode:
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
+ }
+ }
+}