chore: object names for activity center elements added (#14029)
This commit is contained in:
parent
1d9c136bf8
commit
a48b2532ae
|
@ -40,6 +40,7 @@ StatusFlatRoundButton {
|
|||
icon.name: "notification"
|
||||
icon.height: 21
|
||||
type: StatusFlatRoundButton.Type.Secondary
|
||||
objectName: "activityCenterNotificationsButton"
|
||||
|
||||
// initializing the tooltip
|
||||
tooltip.text: qsTr("Notifications")
|
||||
|
|
|
@ -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
|
||||
|
@ -75,6 +76,7 @@ Item {
|
|||
|
||||
StatusFlatRoundButton {
|
||||
id: markAllReadBtn
|
||||
objectName: "markAllReadButton"
|
||||
enabled: root.unreadNotificationsCount > 0
|
||||
icon.name: "double-checkmark"
|
||||
onClicked: root.markAllReadClicked()
|
||||
|
@ -87,6 +89,7 @@ Item {
|
|||
|
||||
StatusFlatRoundButton {
|
||||
id: hideReadNotificationsBtn
|
||||
objectName: "hideReadNotificationsButton"
|
||||
icon.name: root.hideReadNotifications ? "hide" : "show"
|
||||
onClicked: root.showHideReadNotifications(!root.hideReadNotifications)
|
||||
|
||||
|
|
Loading…
Reference in New Issue