From 72e9b822a162d54e68e57ba40a3076892ab10caf Mon Sep 17 00:00:00 2001 From: Michael Bohlender Date: Sat, 18 Jun 2016 15:31:45 +0200 Subject: add tooltips to toolbuttons --- components/mail/contents/ui/main.qml | 8 ++++++-- components/package/contents/ui/AccountSwitcher.qml | 1 + 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/components/mail/contents/ui/main.qml b/components/mail/contents/ui/main.qml index 12815e6d..827dab39 100644 --- a/components/mail/contents/ui/main.qml +++ b/components/mail/contents/ui/main.qml @@ -159,6 +159,7 @@ ApplicationWindow { iconName: "mail-mark-unread" text: "Mark As Read" enabled: markAsReadAction.ready + tooltip: "mark mail as read" onClicked: { markAsReadAction.execute() } @@ -168,6 +169,7 @@ ApplicationWindow { iconName: "mail-mark-important" text: "Mark Important" enabled: false + tooltip: "mark mail as important" onClicked: { } } @@ -176,6 +178,7 @@ ApplicationWindow { iconName: "edit-delete" text: "Delete Mail" enabled: deleteAction.ready + tooltip: "delete email" onClicked: { deleteAction.execute() } @@ -227,11 +230,12 @@ ApplicationWindow { iconName: "mail-message-new" text: "Compose" + tooltip: "compose new email" onClicked: { composerComponent.createObject(app) } } - +/* ToolButton { iconName: "mail-message-reply" text: "Reply" @@ -241,7 +245,7 @@ ApplicationWindow { } } - /* + * ToolButton { * iconName: "mail-message-edit" * text: "Edit" diff --git a/components/package/contents/ui/AccountSwitcher.qml b/components/package/contents/ui/AccountSwitcher.qml index 8f7ebb08..da878acf 100644 --- a/components/package/contents/ui/AccountSwitcher.qml +++ b/components/package/contents/ui/AccountSwitcher.qml @@ -31,6 +31,7 @@ Button { Layout.fillHeight: true text: "Account Switcher" + tooltip: "switch accounts, edit them and add new ones" onClicked: { dialog.visible = dialog.visible ? false : true -- cgit v1.2.3