chore(@StatusQ): add object name for community tag

This commit is contained in:
Anastasiya Semenkevich 2024-10-17 16:56:18 +03:00 committed by Anastasiya
parent 05f8005336
commit 09524b925a
3 changed files with 3 additions and 4 deletions

View File

@ -1,6 +1,3 @@
import random
import time
import configs.timeouts import configs.timeouts
from constants.wallet import * from constants.wallet import *
from gui.screens.settings_keycard import KeycardSettingsView from gui.screens.settings_keycard import KeycardSettingsView

View File

@ -246,7 +246,8 @@ communitySettings_ColorPanel_HexColor_Input = {"container": statusDesktop_mainWi
communitySettings_SaveColor_Button = {"container": statusDesktop_mainWindow_overlay, "objectName": "communityColorPanelSelectColorButton", "type": "StatusButton", "visible": True} communitySettings_SaveColor_Button = {"container": statusDesktop_mainWindow_overlay, "objectName": "communityColorPanelSelectColorButton", "type": "StatusButton", "visible": True}
# Select Tag Popup # Select Tag Popup
o_StatusCommunityTag = {"container": statusDesktop_mainWindow_overlay, "type": "StatusCommunityTag", "unnamed": 1, "visible": True} tagsRepeater = {"container": statusDesktop_mainWindow_overlay, "objectName": "communityTagsRepeater", "type": "Repeater", "visible": True}
o_StatusCommunityTag = {"container": statusDesktop_mainWindow_overlay, "objectName": "communityTag", "type": "StatusCommunityTag", "visible": True}
confirm_Community_Tags_StatusButton = {"checkable": False, "container": statusDesktop_mainWindow_overlay, "objectName": "confirmCommunityTagsButton", "type": "StatusButton", "visible": True} confirm_Community_Tags_StatusButton = {"checkable": False, "container": statusDesktop_mainWindow_overlay, "objectName": "confirmCommunityTagsButton", "type": "StatusButton", "visible": True}
tags_edit_TextEdit = {"container": statusDesktop_mainWindow_overlay, "id": "edit", "type": "TextEdit", "unnamed": 1, "visible": True} tags_edit_TextEdit = {"container": statusDesktop_mainWindow_overlay, "id": "edit", "type": "TextEdit", "unnamed": 1, "visible": True}
selected_tags_text = {"container": statusDesktop_mainWindow_overlay, "type": "StatusBaseText", "unnamed": 1, "visible": True} selected_tags_text = {"container": statusDesktop_mainWindow_overlay, "type": "StatusBaseText", "unnamed": 1, "visible": True}

View File

@ -74,6 +74,7 @@ Item {
} }
delegate: StatusCommunityTag { delegate: StatusCommunityTag {
objectName: "communityTag"
emoji: model.emoji emoji: model.emoji
name: model.name name: model.name
removable: root.mode === StatusCommunityTags.ShowSelectedOnly && root.active && repeater.count > 1 removable: root.mode === StatusCommunityTags.ShowSelectedOnly && root.active && repeater.count > 1