summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederick Yin <fkfd@fkfd.me>2023-07-26 18:37:11 +0800
committerFrederick Yin <fkfd@fkfd.me>2023-07-26 18:37:11 +0800
commita3ce413e6bdbd119e5079e5e6edf98ed0a3c97a7 (patch)
tree48b69bdc710308d86d4b917e8b6deb0cc4f01c49
parentb2555cb09aa6f1b92cb41746ab546303ed6da38d (diff)
Add a bunch of comments
-rw-r--r--contents/ui/ActivityView.qml6
1 files changed, 5 insertions, 1 deletions
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