blob: eee64ad7fb580e766686e9b0630bcfc30fb65371 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
import QtQuick 2.15
import QtQuick.Controls 2.15
import "Dashboard"
import QtQuick.Layouts 1.15
ColumnLayout{
RowLayout {
Label{
text: "Course Title"
}
Label{
text: "Total Lectures"
}
Label{
text: "Completed Lecture"
}
Label{
text: "Action"
}
}
ListView {
height: 100 * count
model: ListModel {
ListElement {
title: qsTr("Building Scalable APIs with GraphQL")
image: "https://eduport.webestica.com/assets/images/courses/4by3/08.jpg"
}
ListElement {
title: qsTr("Create a Design System in Figma")
image: "https://eduport.webestica.com/assets/images/courses/4by3/03.jpg"
}
}
delegate: CourseListItem {
courseTitle.text: title
courseThumb.source: image
}
}
}
|