Skip to content

Commit

Permalink
chore: object names for activity center elements added
Browse files Browse the repository at this point in the history
  • Loading branch information
Valentina1133 committed Mar 20, 2024
1 parent 4b36054 commit 70e4b7d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ StatusFlatRoundButton {
icon.name: "notification"
icon.height: 21
type: StatusFlatRoundButton.Type.Secondary
objectName: "activityCenterNotificationsButton"

// initializing the tooltip
tooltip.text: qsTr("Notifications")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ Item {
{ text: qsTr("System"), group: ActivityCenterStore.ActivityCenterGroup.System, visible: false, enabled: true } ]

StatusFlatButton {
objectName: "activityCenterGroupButton"
enabled: modelData.enabled
visible: modelData.visible
text: modelData.text
Expand All @@ -75,6 +76,7 @@ Item {

StatusFlatRoundButton {
id: markAllReadBtn
objectName: "markAllReadButton"
enabled: root.unreadNotificationsCount > 0
icon.name: "double-checkmark"
onClicked: root.markAllReadClicked()
Expand All @@ -87,6 +89,7 @@ Item {

StatusFlatRoundButton {
id: hideReadNotificationsBtn
objectName: "hideReadNotificationsButton"
icon.name: root.hideReadNotifications ? "hide" : "show"
onClicked: root.showHideReadNotifications(!root.hideReadNotifications)

Expand Down

0 comments on commit 70e4b7d

Please sign in to comment.