summaryrefslogtreecommitdiffstats
path: root/components/package/contents/ui/Notification.qml
diff options
context:
space:
mode:
authorMichael Bohlender <michael.bohlender@kdemail.net>2017-03-29 09:57:22 +0200
committerMichael Bohlender <michael.bohlender@kdemail.net>2017-03-29 09:57:22 +0200
commit87a4ce23ddf8b1481bf9cac11abd318bc97301d9 (patch)
treebabffd80b15f835edb7b6569cd01659011e590c0 /components/package/contents/ui/Notification.qml
parent516a24f65670bb5271ba033eef1474cc71eeec27 (diff)
downloadkube-87a4ce23ddf8b1481bf9cac11abd318bc97301d9.tar.gz
kube-87a4ce23ddf8b1481bf9cac11abd318bc97301d9.zip
port notifications to kube theme
Diffstat (limited to 'components/package/contents/ui/Notification.qml')
-rw-r--r--components/package/contents/ui/Notification.qml7
1 files changed, 5 insertions, 2 deletions
diff --git a/components/package/contents/ui/Notification.qml b/components/package/contents/ui/Notification.qml
index 95be52b6..8c0551f8 100644
--- a/components/package/contents/ui/Notification.qml
+++ b/components/package/contents/ui/Notification.qml
@@ -1,6 +1,9 @@
1import QtQuick 2.0 1import QtQuick 2.0
2import QtQuick.Controls 2.0 2import QtQuick.Controls 2.0
3
3import org.kde.kirigami 1.0 as Kirigami 4import org.kde.kirigami 1.0 as Kirigami
5import org.kube.components.theme 1.0 as KubeTheme
6
4 7
5MouseArea { 8MouseArea {
6 id: popup 9 id: popup
@@ -23,7 +26,7 @@ MouseArea {
23 26
24 function notify(text) { 27 function notify(text) {
25 popup.title = text 28 popup.title = text
26 bg.color = Kirigami.Theme.textColor 29 bg.color = KubeTheme.Colors.textColor
27 show() 30 show()
28 } 31 }
29 32
@@ -70,7 +73,7 @@ MouseArea {
70 73
71 font.pixelSize: 16 74 font.pixelSize: 16
72 75
73 color: Kirigami.Theme.highlightedTextColor 76 color: KubeTheme.Colors.highlighedTextColor
74 horizontalAlignment: Text.AlignHCenter 77 horizontalAlignment: Text.AlignHCenter
75 elide: Text.ElideRight 78 elide: Text.ElideRight
76 wrapMode: Text.Wrap 79 wrapMode: Text.Wrap