diff options
author | Michael Bohlender <michael.bohlender@kdemail.net> | 2017-03-29 09:57:22 +0200 |
---|---|---|
committer | Michael Bohlender <michael.bohlender@kdemail.net> | 2017-03-29 09:57:22 +0200 |
commit | 87a4ce23ddf8b1481bf9cac11abd318bc97301d9 (patch) | |
tree | babffd80b15f835edb7b6569cd01659011e590c0 /components/package/contents/ui/Notification.qml | |
parent | 516a24f65670bb5271ba033eef1474cc71eeec27 (diff) | |
download | kube-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.qml | 7 |
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 @@ | |||
1 | import QtQuick 2.0 | 1 | import QtQuick 2.0 |
2 | import QtQuick.Controls 2.0 | 2 | import QtQuick.Controls 2.0 |
3 | |||
3 | import org.kde.kirigami 1.0 as Kirigami | 4 | import org.kde.kirigami 1.0 as Kirigami |
5 | import org.kube.components.theme 1.0 as KubeTheme | ||
6 | |||
4 | 7 | ||
5 | MouseArea { | 8 | MouseArea { |
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 |