Changeset View
Changeset View
Standalone View
Standalone View
applets/notifications/package/contents/ui/FullRepresentation.qml
Show First 20 Lines • Show All 64 Lines • ▼ Show 20 Line(s) | 58 | Connections { | |||
---|---|---|---|---|---|
65 | } | 65 | } | ||
66 | } | 66 | } | ||
67 | 67 | | |||
68 | // header | 68 | // header | ||
69 | ColumnLayout { | 69 | ColumnLayout { | ||
70 | id: header | 70 | id: header | ||
71 | visible: !Kirigami.Settings.isMobile | 71 | visible: !Kirigami.Settings.isMobile | ||
72 | Layout.fillWidth: true | 72 | Layout.fillWidth: true | ||
73 | Layout.leftMargin: units.smallSpacing | ||||
73 | spacing: 0 | 74 | spacing: 0 | ||
74 | 75 | | |||
75 | RowLayout { | 76 | RowLayout { | ||
76 | Layout.fillWidth: true | 77 | Layout.fillWidth: true | ||
77 | spacing: 0 | 78 | spacing: 0 | ||
78 | 79 | | |||
79 | RowLayout { | 80 | RowLayout { | ||
80 | id: dndRow | 81 | id: dndRow | ||
▲ Show 20 Lines • Show All 192 Lines • ▼ Show 20 Line(s) | |||||
273 | } | 274 | } | ||
274 | 275 | | |||
275 | // actual notifications | 276 | // actual notifications | ||
276 | PlasmaExtras.ScrollArea { | 277 | PlasmaExtras.ScrollArea { | ||
277 | Layout.fillWidth: true | 278 | Layout.fillWidth: true | ||
278 | Layout.fillHeight: true | 279 | Layout.fillHeight: true | ||
279 | Layout.preferredWidth: units.gridUnit * 18 | 280 | Layout.preferredWidth: units.gridUnit * 18 | ||
280 | Layout.preferredHeight: units.gridUnit * 24 | 281 | Layout.preferredHeight: units.gridUnit * 24 | ||
282 | Layout.leftMargin: units.smallSpacing | ||||
281 | 283 | | |||
282 | ListView { | 284 | ListView { | ||
283 | id: list | 285 | id: list | ||
284 | model: historyModel | 286 | model: historyModel | ||
285 | currentIndex: -1 | 287 | currentIndex: -1 | ||
286 | 288 | | |||
287 | Keys.onDeletePressed: { | 289 | Keys.onDeletePressed: { | ||
288 | var idx = historyModel.index(currentIndex, 0); | 290 | var idx = historyModel.index(currentIndex, 0); | ||
▲ Show 20 Lines • Show All 340 Lines • Show Last 20 Lines |