summaryrefslogtreecommitdiffstats
path: root/components/package/contents/ui/ConversationView.qml
diff options
context:
space:
mode:
Diffstat (limited to 'components/package/contents/ui/ConversationView.qml')
-rw-r--r--components/package/contents/ui/ConversationView.qml32
1 files changed, 17 insertions, 15 deletions
diff --git a/components/package/contents/ui/ConversationView.qml b/components/package/contents/ui/ConversationView.qml
index 589f3125..728b81de 100644
--- a/components/package/contents/ui/ConversationView.qml
+++ b/components/package/contents/ui/ConversationView.qml
@@ -27,6 +27,8 @@ import QtQml 2.2 as QtQml
27import org.kube.framework.domain 1.0 as KubeFramework 27import org.kube.framework.domain 1.0 as KubeFramework
28import org.kube.framework.actions 1.0 as KubeAction 28import org.kube.framework.actions 1.0 as KubeAction
29 29
30import org.kube.components.theme 1.0 as KubeTheme
31
30Rectangle { 32Rectangle {
31 id: root 33 id: root
32 34
@@ -42,7 +44,7 @@ Rectangle {
42 currentMail = null; 44 currentMail = null;
43 } 45 }
44 46
45 color: Kirigami.Theme.backgroundColor 47 color: KubeTheme.Colors.backgroundColor
46 48
47 ListView { 49 ListView {
48 id: listView 50 id: listView
@@ -201,7 +203,7 @@ Rectangle {
201 opacity: 0.2 203 opacity: 0.2
202 } 204 }
203 205
204 color: Kirigami.Theme.viewBackgroundColor 206 color: KubeTheme.Colors.viewBackgroundColor
205 207
206 //BEGIN header 208 //BEGIN header
207 Item { 209 Item {
@@ -248,7 +250,7 @@ Rectangle {
248 text: Qt.formatDateTime(model.date, "dd MMM yyyy hh:mm") 250 text: Qt.formatDateTime(model.date, "dd MMM yyyy hh:mm")
249 251
250 font.pointSize: Kirigami.Theme.defaultFont.pointSize * 0.7 252 font.pointSize: Kirigami.Theme.defaultFont.pointSize * 0.7
251 color: Kirigami.Theme.textColor 253 color: KubeTheme.Colors.textColor
252 opacity: 0.75 254 opacity: 0.75
253 } 255 }
254 256
@@ -278,7 +280,7 @@ Rectangle {
278 text: model.senderName 280 text: model.senderName
279 281
280 font.weight: Font.DemiBold 282 font.weight: Font.DemiBold
281 color: Kirigami.Theme.textColor 283 color: KubeTheme.Colors.textColor
282 opacity: 0.75 284 opacity: 0.75
283 } 285 }
284 286
@@ -289,7 +291,7 @@ Rectangle {
289 width: parent.width - senderName.width - date_label.width - Kirigami.Units.largeSpacing 291 width: parent.width - senderName.width - date_label.width - Kirigami.Units.largeSpacing
290 elide: Text.ElideRight 292 elide: Text.ElideRight
291 293
292 color: Kirigami.Theme.textColor 294 color: KubeTheme.Colors.textColor
293 opacity: 0.75 295 opacity: 0.75
294 296
295 clip: true 297 clip: true
@@ -305,7 +307,7 @@ Rectangle {
305 307
306 elide: Text.ElideRight 308 elide: Text.ElideRight
307 309
308 color: Kirigami.Theme.textColor 310 color: KubeTheme.Colors.textColor
309 opacity: 0.75 311 opacity: 0.75
310 font.italic: true 312 font.italic: true
311 } 313 }
@@ -319,7 +321,7 @@ Rectangle {
319 321
320 elide: Text.ElideRight 322 elide: Text.ElideRight
321 323
322 color: Kirigami.Theme.textColor 324 color: KubeTheme.Colors.textColor
323 opacity: 0.75 325 opacity: 0.75
324 } 326 }
325 327
@@ -331,7 +333,7 @@ Rectangle {
331 text:"to: " + model.to 333 text:"to: " + model.to
332 334
333 wrapMode: Text.WordWrap 335 wrapMode: Text.WordWrap
334 color: Kirigami.Theme.textColor 336 color: KubeTheme.Colors.textColor
335 opacity: 0.75 337 opacity: 0.75
336 } 338 }
337 339
@@ -343,7 +345,7 @@ Rectangle {
343 text:"cc: " + model.cc 345 text:"cc: " + model.cc
344 346
345 wrapMode: Text.WordWrap 347 wrapMode: Text.WordWrap
346 color: Kirigami.Theme.textColor 348 color: KubeTheme.Colors.textColor
347 opacity: 0.75 349 opacity: 0.75
348 } 350 }
349 351
@@ -355,7 +357,7 @@ Rectangle {
355 text:"bcc: " + model.bcc 357 text:"bcc: " + model.bcc
356 358
357 wrapMode: Text.WordWrap 359 wrapMode: Text.WordWrap
358 color: Kirigami.Theme.textColor 360 color: KubeTheme.Colors.textColor
359 opacity: 0.75 361 opacity: 0.75
360 } 362 }
361 363
@@ -370,7 +372,7 @@ Rectangle {
370 height: Kirigami.Units.gridUnit 372 height: Kirigami.Units.gridUnit
371 width: height 373 width: height
372 374
373 color: Kirigami.Theme.backgroundColor 375 color: KubeTheme.Colors.backgroundColor
374 376
375 Controls1.ToolButton { 377 Controls1.ToolButton {
376 anchors.fill: parent 378 anchors.fill: parent
@@ -388,7 +390,7 @@ Rectangle {
388 height: Kirigami.Units.gridUnit 390 height: Kirigami.Units.gridUnit
389 width: height 391 width: height
390 392
391 color: Kirigami.Theme.backgroundColor 393 color: KubeTheme.Colors.backgroundColor
392 394
393 Controls1.ToolButton { 395 Controls1.ToolButton {
394 anchors.fill: parent 396 anchors.fill: parent
@@ -412,7 +414,7 @@ Rectangle {
412 414
413 height: 1 415 height: 1
414 416
415 color: Kirigami.Theme.textColor 417 color: KubeTheme.Colors.textColor
416 opacity: 0.5 418 opacity: 0.5
417 } 419 }
418 } 420 }
@@ -478,7 +480,7 @@ Rectangle {
478 } 480 }
479 visible: model.incomplete 481 visible: model.incomplete
480 text: "Incomplete body..." 482 text: "Incomplete body..."
481 color: Kirigami.Theme.textColor 483 color: KubeTheme.Colors.textColor
482 enabled: false 484 enabled: false
483 states: [ 485 states: [
484 State { 486 State {
@@ -512,7 +514,7 @@ Rectangle {
512 } 514 }
513 515
514 text: model.trash ? qsTr("Delete Mail") : qsTr("Move to trash") 516 text: model.trash ? qsTr("Delete Mail") : qsTr("Move to trash")
515 color: Kirigami.Theme.textColor 517 color: KubeTheme.Colors.textColor
516 opacity: 0.5 518 opacity: 0.5
517 enabled: model.trash ? mailController.removeAction.enabled : mailController.moveToTrashAction.enabled 519 enabled: model.trash ? mailController.removeAction.enabled : mailController.moveToTrashAction.enabled
518 MouseArea { 520 MouseArea {