From dc06332c3f2248b0496b614cd03dd048c602775e Mon Sep 17 00:00:00 2001 From: Carl Schwan Date: Tue, 24 Nov 2020 11:58:32 +0100 Subject: [PATCH] Add tooltips --- imports/NeoChat/Component/Timeline/MessageDelegate.qml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/imports/NeoChat/Component/Timeline/MessageDelegate.qml b/imports/NeoChat/Component/Timeline/MessageDelegate.qml index f4ed76e3f..0c90c7bf0 100644 --- a/imports/NeoChat/Component/Timeline/MessageDelegate.qml +++ b/imports/NeoChat/Component/Timeline/MessageDelegate.qml @@ -121,13 +121,15 @@ RowLayout { anchors.right: controlContainer.right spacing: 0 QQC2.Button { - QQC2.ToolTip.text: i18n("React") + QQC2.ToolTip.text: i18n("React") + " (not implemented yet)" + QQC2.ToolTip.visible: hovered visible: controlContainer.hovered icon.name: "preferences-desktop-emoticons" // TODO onClicked } QQC2.Button { QQC2.ToolTip.text: i18n("Reply") + QQC2.ToolTip.visible: hovered visible: controlContainer.hovered icon.name: "mail-replied-symbolic" onClicked: replyToMessage(author, message, eventId)