Changeset View
Changeset View
Standalone View
Standalone View
framework/qml/MailViewer.qml
Show First 20 Lines • Show All 277 Lines • ▼ Show 20 Line(s) | 266 | Flow { | |||
---|---|---|---|---|---|
278 | spacing: Kube.Units.smallSpacing | 278 | spacing: Kube.Units.smallSpacing | ||
279 | clip: true | 279 | clip: true | ||
280 | 280 | | |||
281 | Repeater { | 281 | Repeater { | ||
282 | model: messageParser.attachments | 282 | model: messageParser.attachments | ||
283 | 283 | | |||
284 | delegate: AttachmentDelegate { | 284 | delegate: AttachmentDelegate { | ||
285 | name: model.name | 285 | name: model.name | ||
286 | type: model.type | ||||
286 | icon: model.iconName | 287 | icon: model.iconName | ||
287 | 288 | | |||
288 | clip: true | 289 | clip: true | ||
289 | 290 | | |||
290 | actionIcon: Kube.Icons.save_inverted | 291 | actionIcon: Kube.Icons.save_inverted | ||
291 | onExecute: messageParser.attachments.saveAttachmentToDisk(messageParser.attachments.index(index, 0)) | 292 | onExecute: messageParser.attachments.saveAttachmentToDisk(messageParser.attachments.index(index, 0)) | ||
292 | onClicked: messageParser.attachments.openAttachment(messageParser.attachments.index(index, 0)) | 293 | onClicked: messageParser.attachments.openAttachment(messageParser.attachments.index(index, 0)) | ||
294 | onPublicKeyImport: messageParser.attachments.importPublicKey(messageParser.attachments.index(index, 0)) | ||||
293 | } | 295 | } | ||
294 | } | 296 | } | ||
295 | } | 297 | } | ||
296 | 298 | | |||
297 | Item { | 299 | Item { | ||
298 | id: body | 300 | id: body | ||
299 | 301 | | |||
300 | visible: !root.incomplete | 302 | visible: !root.incomplete | ||
▲ Show 20 Lines • Show All 223 Lines • Show Last 20 Lines |