Changeset View
Changeset View
Standalone View
Standalone View
plasmoid/package/contents/ui/DeviceDelegate.qml
Show First 20 Lines • Show All 189 Lines • ▼ Show 20 Line(s) | 188 | PlasmaComponents.ListItem { | |||
---|---|---|---|---|---|
190 | enabled: true | 190 | enabled: true | ||
191 | PlasmaComponents.Label { | 191 | PlasmaComponents.Label { | ||
192 | text: i18n("Notifications:") | 192 | text: i18n("Notifications:") | ||
193 | } | 193 | } | ||
194 | PlasmaComponents.ToolButton { | 194 | PlasmaComponents.ToolButton { | ||
195 | enabled: true | 195 | enabled: true | ||
196 | visible: notificationsModel.isAnyDimissable; | 196 | visible: notificationsModel.isAnyDimissable; | ||
197 | anchors.right: parent.right | 197 | anchors.right: parent.right | ||
198 | iconSource: "edit-delete" | 198 | iconSource: "edit-clear-history" | ||
199 | tooltip: i18n("Dismiss all notifications") | 199 | tooltip: i18n("Dismiss all notifications") | ||
200 | onClicked: notificationsModel.dismissAll(); | 200 | onClicked: notificationsModel.dismissAll(); | ||
201 | } | 201 | } | ||
202 | } | 202 | } | ||
203 | Repeater { | 203 | Repeater { | ||
204 | id: notificationsView | 204 | id: notificationsView | ||
205 | model: NotificationsModel { | 205 | model: NotificationsModel { | ||
206 | id: notificationsModel | 206 | id: notificationsModel | ||
▲ Show 20 Lines • Show All 73 Lines • Show Last 20 Lines |