From a3ce413e6bdbd119e5079e5e6edf98ed0a3c97a7 Mon Sep 17 00:00:00 2001 From: Frederick Yin Date: Wed, 26 Jul 2023 18:37:11 +0800 Subject: Add a bunch of comments --- contents/ui/ActivityView.qml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'contents/ui/ActivityView.qml') diff --git a/contents/ui/ActivityView.qml b/contents/ui/ActivityView.qml index 2f11db9..ff27a14 100644 --- a/contents/ui/ActivityView.qml +++ b/contents/ui/ActivityView.qml @@ -10,6 +10,7 @@ import org.kde.plasma.extras 2.0 as PlasmaExtras import "activity.js" as Activity +// container for one single activity PlasmaComponents.ListItem { id: activityItem separatorVisible: false @@ -20,9 +21,10 @@ PlasmaComponents.ListItem { width: (type == "announcement" ? announcementsListView : assignmentsListView).width - - PlasmaCore.Units.gridUnit // clearance for scrollbar + - PlasmaCore.Units.gridUnit // HACK: clearance for scrollbar Layout.fillWidth: true RowLayout { + // "finished" checkbox and activity title RowLayout { PlasmaComponents3.CheckBox { id: activityCheckbox @@ -84,6 +86,7 @@ PlasmaComponents.ListItem { } } + // buttons RowLayout { Layout.alignment: Qt.AlignRight @@ -140,6 +143,7 @@ PlasmaComponents.ListItem { } } + // announcement message PlasmaExtras.Paragraph { Layout.fillWidth: true visible: expanded -- cgit v1.2.3