chore(@qml): object names for category

This commit is contained in:
Anastasiya Semenkevich 2024-11-06 14:04:22 +03:00 committed by Anastasiya
parent 3e9e8bfe07
commit e0b45a81f4
1 changed files with 3 additions and 0 deletions

View File

@ -66,6 +66,7 @@ Control {
spacing: 1 spacing: 1
StatusChatListCategoryItemButton { StatusChatListCategoryItemButton {
id: addButton id: addButton
objectName: "categoryItemButtonAdd"
icon.name: "add" icon.name: "add"
icon.width: 20 icon.width: 20
visible: (root.showAddButton && (hoverHandler.hovered || root.highlighted)) visible: (root.showAddButton && (hoverHandler.hovered || root.highlighted))
@ -74,6 +75,7 @@ Control {
} }
StatusChatListCategoryItemButton { StatusChatListCategoryItemButton {
id: menuButton id: menuButton
objectName: "categoryItemButtonMore"
icon.name: "more" icon.name: "more"
icon.width: 21 icon.width: 21
visible: (root.showMenuButton && (hoverHandler.hovered || root.highlighted)) visible: (root.showMenuButton && (hoverHandler.hovered || root.highlighted))
@ -82,6 +84,7 @@ Control {
} }
StatusChatListCategoryItemButton { StatusChatListCategoryItemButton {
id: toggleButton id: toggleButton
objectName: "categoryItemButtonToggle"
icon.name: "chevron-down" icon.name: "chevron-down"
icon.width: 18 icon.width: 18
icon.rotation: root.opened ? 0 : 270 icon.rotation: root.opened ? 0 : 270