feat(StatusChatListAndCategories): Add tooltip settings for categories buttons
Closes: #226
This commit is contained in:
parent
d2fd625ee5
commit
8f83dbbca5
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue