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.name: "notification"
|
||||||
icon.height: 21
|
icon.height: 21
|
||||||
type: StatusFlatRoundButton.Type.Secondary
|
type: StatusFlatRoundButton.Type.Secondary
|
||||||
|
objectName: "activityCenterNotificationsButton"
|
||||||
|
|
||||||
// initializing the tooltip
|
// initializing the tooltip
|
||||||
tooltip.text: qsTr("Notifications")
|
tooltip.text: qsTr("Notifications")
|
||||||
|
|
|
@ -60,6 +60,7 @@ Item {
|
||||||
{ text: qsTr("System"), group: ActivityCenterStore.ActivityCenterGroup.System, visible: false, enabled: true } ]
|
{ text: qsTr("System"), group: ActivityCenterStore.ActivityCenterGroup.System, visible: false, enabled: true } ]
|
||||||
|
|
||||||
StatusFlatButton {
|
StatusFlatButton {
|
||||||
|
objectName: "activityCenterGroupButton"
|
||||||
enabled: modelData.enabled
|
enabled: modelData.enabled
|
||||||
visible: modelData.visible
|
visible: modelData.visible
|
||||||
text: modelData.text
|
text: modelData.text
|
||||||
|
@ -75,6 +76,7 @@ Item {
|
||||||
|
|
||||||
StatusFlatRoundButton {
|
StatusFlatRoundButton {
|
||||||
id: markAllReadBtn
|
id: markAllReadBtn
|
||||||
|
objectName: "markAllReadButton"
|
||||||
enabled: root.unreadNotificationsCount > 0
|
enabled: root.unreadNotificationsCount > 0
|
||||||
icon.name: "double-checkmark"
|
icon.name: "double-checkmark"
|
||||||
onClicked: root.markAllReadClicked()
|
onClicked: root.markAllReadClicked()
|
||||||
|
@ -87,6 +89,7 @@ Item {
|
||||||
|
|
||||||
StatusFlatRoundButton {
|
StatusFlatRoundButton {
|
||||||
id: hideReadNotificationsBtn
|
id: hideReadNotificationsBtn
|
||||||
|
objectName: "hideReadNotificationsButton"
|
||||||
icon.name: root.hideReadNotifications ? "hide" : "show"
|
icon.name: root.hideReadNotifications ? "hide" : "show"
|
||||||
onClicked: root.showHideReadNotifications(!root.hideReadNotifications)
|
onClicked: root.showHideReadNotifications(!root.hideReadNotifications)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue