diff options
author | civilH <robinhoodsociety@protonmail.com> | 2023-08-29 17:12:31 +0700 |
---|---|---|
committer | civilH <robinhoodsociety@protonmail.com> | 2023-08-29 17:12:31 +0700 |
commit | 2b5bc7fab55682b2af724b37dbd1fb4e745f077a (patch) | |
tree | 728c5a95b40a512c539db76f5ac6eeff2b7ca5a0 /Student/Dashboard.ui.qml | |
parent | bf4bbd6ee6518c22c1c585f6b4db640ecd9195f0 (diff) |
add data list courses & make changes in progress
- the list of courses having more data
- the progress bar is more clear to recognize by user
Diffstat (limited to 'Student/Dashboard.ui.qml')
-rw-r--r-- | Student/Dashboard.ui.qml | 46 |
1 files changed, 44 insertions, 2 deletions
diff --git a/Student/Dashboard.ui.qml b/Student/Dashboard.ui.qml index 16e8064..6c2a339 100644 --- a/Student/Dashboard.ui.qml +++ b/Student/Dashboard.ui.qml @@ -12,17 +12,29 @@ Flickable { RowLayout { Layout.fillWidth: true + height: 50 Label{ - text: "Course Title" + text: "Course Title" + font.bold: true + font.pixelSize: 30 } Label{ text: "Total Lectures" + font.bold: true + color: "#666666" + font.pixelSize: 30 } Label{ - text: "Completed Lecture" + text: "Completed Lectures" + font.bold: true + color: "#666666" + font.pixelSize: 30 } Label{ text: "Action" + font.bold: true + color: "#666666" + font.pixelSize: 30 } } @@ -35,16 +47,46 @@ Flickable { ListElement { title: qsTr("Building Scalable APIs with GraphQL") image: "https://eduport.webestica.com/assets/images/courses/4by3/08.jpg" + level: "Beginner" + totalLectures: 16 + completedLectures: 14 } ListElement { title: qsTr("Create a Design System in Figma") image: "https://eduport.webestica.com/assets/images/courses/4by3/03.jpg" + level: "Beginner" + totalLectures: 42 + completedLectures: 40 } + ListElement { + title: qsTr("Graphic Design Masterclass") + image: "https://eduport.webestica.com/assets/images/courses/4by3/02.jpg" + level: "Beginner" + totalLectures: 16 + completedLectures: 14 + } + ListElement { + title: qsTr("The Complete Web Development in python") + image: "https://eduport.webestica.com/assets/images/courses/4by3/05.jpg" + level: "Beginner" + totalLectures: 28 + completedLectures: 12 + } + ListElement { + title: qsTr("Digital Marketing Masterclass") + image: "https://eduport.webestica.com/assets/images/courses/4by3/01.jpg" + level: "Advanced" + totalLectures: 32 + completedLectures: 18 + } + // Add more ListElements for other courses } delegate: CourseListItem { width: tableBody.width courseTitle.text: title courseThumb.source: image + + } } } |