mirror of https://github.com/status-im/StatusQ.git
feat(StatusChatListAndCategories): Add tooltip settings for categories buttons
Closes: #226
This commit is contained in:
parent
b45aba4be8
commit
64098e84d3
|
@ -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