From 8f83dbbca54cbc5a5ebb15514698ef9e6dcc9f19 Mon Sep 17 00:00:00 2001 From: "B.Melnik" Date: Wed, 1 Sep 2021 12:34:08 +0300 Subject: [PATCH] feat(StatusChatListAndCategories): Add tooltip settings for categories buttons Closes: #226 --- .../Components/StatusChatListAndCategories.qml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/ui/StatusQ/src/StatusQ/Components/StatusChatListAndCategories.qml b/ui/StatusQ/src/StatusQ/Components/StatusChatListAndCategories.qml index 124911cf6a..d2be4c2f4b 100644 --- a/ui/StatusQ/src/StatusQ/Components/StatusChatListAndCategories.qml +++ b/ui/StatusQ/src/StatusQ/Components/StatusChatListAndCategories.qml @@ -5,6 +5,7 @@ import QtQuick.Controls 2.14 as QC import StatusQ.Core.Utils 0.1 import StatusQ.Components 0.1 import StatusQ.Popups 0.1 +import StatusQ.Core 0.1 Item { id: statusChatListAndCategories @@ -12,6 +13,13 @@ Item { implicitHeight: chatListsAndCategories.height implicitWidth: chatListsAndCategories.width + property StatusTooltipSettings categoryAddButtonToolTip: StatusTooltipSettings { + text: "Add channel inside category" + } + property StatusTooltipSettings categoryMenuButtonToolTip: StatusTooltipSettings { + text: "More" + } + property string selectedChatId: "" property bool showCategoryActionButtons: false property bool showPopupMenu: true @@ -121,6 +129,9 @@ Item { } } + addButton.tooltip: statusChatListAndCategories.addButtonToolTip + menuButton.tooltip: statusChatListAndCategories.menuButtonToolTip + originalOrder: model.position categoryId: model.categoryId name: model.name