diff options
Diffstat (limited to 'Student')
-rw-r--r-- | Student/Dashboard.ui.qml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Student/Dashboard.ui.qml b/Student/Dashboard.ui.qml new file mode 100644 index 0000000..a461492 --- /dev/null +++ b/Student/Dashboard.ui.qml @@ -0,0 +1,20 @@ +import QtQuick 2.15 +import QtQuick.Controls 2.15 +import "Dashboard" + +ListView { + 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 + } +} |