diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-05-10 12:13:21 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-05-10 12:39:33 +0200 |
commit | 24cd706a39ac50c77dd9b88f50b8197bb2013173 (patch) | |
tree | 21f02a8ac3852c015386f765144056530cb5817c /components | |
parent | 4564985f3d53c0a3487e53570e6d4a244be4cb6c (diff) | |
download | kube-24cd706a39ac50c77dd9b88f50b8197bb2013173.tar.gz kube-24cd706a39ac50c77dd9b88f50b8197bb2013173.zip |
Added ProgressBar component
Diffstat (limited to 'components')
-rw-r--r-- | components/kube/contents/ui/MailView.qml | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/components/kube/contents/ui/MailView.qml b/components/kube/contents/ui/MailView.qml index c40722d0..51bfa3d3 100644 --- a/components/kube/contents/ui/MailView.qml +++ b/components/kube/contents/ui/MailView.qml | |||
@@ -127,7 +127,7 @@ SplitView { | |||
127 | } | 127 | } |
128 | ] | 128 | ] |
129 | } | 129 | } |
130 | Controls2.ProgressBar { | 130 | Kube.ProgressBar { |
131 | id: progressBar | 131 | id: progressBar |
132 | anchors.horizontalCenter: parent.horizontalCenter | 132 | anchors.horizontalCenter: parent.horizontalCenter |
133 | height: 3 | 133 | height: 3 |
@@ -136,21 +136,6 @@ SplitView { | |||
136 | indeterminate: true | 136 | indeterminate: true |
137 | visible: false | 137 | visible: false |
138 | 138 | ||
139 | background: Rectangle { | ||
140 | color: Kube.Colors.backgroundColor | ||
141 | radius: 3 | ||
142 | } | ||
143 | |||
144 | contentItem: Item { | ||
145 | Rectangle { | ||
146 | width: progressBar.visualPosition * parent.width | ||
147 | height: parent.height | ||
148 | radius: 2 | ||
149 | color: Kube.Colors.highlightColor | ||
150 | } | ||
151 | } | ||
152 | |||
153 | |||
154 | Kube.Listener { | 139 | Kube.Listener { |
155 | filter: Kube.Messages.progressNotification | 140 | filter: Kube.Messages.progressNotification |
156 | onMessageReceived: { | 141 | onMessageReceived: { |