summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2018-07-02 22:42:29 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2018-07-02 22:42:29 +0200
commit53bcc57dcfa0c053a79f4240ffb0f20f06fd433b (patch)
treec382dc754e4a97c72db598416d7074990a57d1d9
parent73db0914b9131c5cd705664da9fecc5f19c31109 (diff)
downloadkube-53bcc57dcfa0c053a79f4240ffb0f20f06fd433b.tar.gz
kube-53bcc57dcfa0c053a79f4240ffb0f20f06fd433b.zip
Tooltips
-rw-r--r--framework/qml/AttachmentDelegate.qml2
-rw-r--r--framework/qml/MailViewer.qml1
2 files changed, 3 insertions, 0 deletions
diff --git a/framework/qml/AttachmentDelegate.qml b/framework/qml/AttachmentDelegate.qml
index 4469cbdd..b98e8ba9 100644
--- a/framework/qml/AttachmentDelegate.qml
+++ b/framework/qml/AttachmentDelegate.qml
@@ -26,6 +26,7 @@ Item {
26 property string type 26 property string type
27 property string icon 27 property string icon
28 property alias actionIcon: actionButton.iconName 28 property alias actionIcon: actionButton.iconName
29 property alias actionTooltip: actionButton.tooltip
29 signal clicked; 30 signal clicked;
30 signal execute; 31 signal execute;
31 signal publicKeyImport; 32 signal publicKeyImport;
@@ -78,6 +79,7 @@ Item {
78 width: height 79 width: height
79 onClicked: root.publicKeyImport() 80 onClicked: root.publicKeyImport()
80 padding: 0 81 padding: 0
82 tooltip: qsTr("Import key")
81 } 83 }
82 Kube.IconButton { 84 Kube.IconButton {
83 id: actionButton 85 id: actionButton
diff --git a/framework/qml/MailViewer.qml b/framework/qml/MailViewer.qml
index a43c99e9..cb40a8f5 100644
--- a/framework/qml/MailViewer.qml
+++ b/framework/qml/MailViewer.qml
@@ -290,6 +290,7 @@ Rectangle {
290 clip: true 290 clip: true
291 291
292 actionIcon: Kube.Icons.save_inverted 292 actionIcon: Kube.Icons.save_inverted
293 actionTooltip: qsTr("Save attachment")
293 onExecute: messageParser.attachments.saveAttachmentToDisk(messageParser.attachments.index(index, 0)) 294 onExecute: messageParser.attachments.saveAttachmentToDisk(messageParser.attachments.index(index, 0))
294 onClicked: messageParser.attachments.openAttachment(messageParser.attachments.index(index, 0)) 295 onClicked: messageParser.attachments.openAttachment(messageParser.attachments.index(index, 0))
295 onPublicKeyImport: messageParser.attachments.importPublicKey(messageParser.attachments.index(index, 0)) 296 onPublicKeyImport: messageParser.attachments.importPublicKey(messageParser.attachments.index(index, 0))