feat(StatusChatListAndCategories): Add tooltip settings for categories buttons

Closes: #226
This commit is contained in:
B.Melnik 2021-09-01 12:34:08 +03:00 committed by Pascal Precht
parent b45aba4be8
commit 64098e84d3
1 changed files with 11 additions and 0 deletions

View File

@ -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