diff options
author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-03-18 17:11:54 +0800 |
---|---|---|
committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-03-18 17:11:54 +0800 |
commit | ded9f25b05430b112e58747fd095f9248605ee83 (patch) | |
tree | 3398b2e1489bc87057acc7271c3486759876df84 | |
parent | ad5f1462cdab78d0262fc53429d2ee8903fe560e (diff) |
Move course detail classic related to own folders
-rw-r--r-- | Course/Detail/Classic.ui.qml (renamed from CourseDetailClassic.ui.qml) | 12 | ||||
-rw-r--r-- | Course/Detail/Classic/Content/Instructor.ui.qml (renamed from InstructorContent.ui.qml) | 1 | ||||
-rw-r--r-- | Course/Detail/Classic/Content/Instructor/ListInlineItem.ui.qml (renamed from ListInlineItem.ui.qml) | 4 | ||||
-rw-r--r-- | CourseDetailClassic.qrc | 7 |
4 files changed, 17 insertions, 7 deletions
diff --git a/CourseDetailClassic.ui.qml b/Course/Detail/Classic.ui.qml index 88892c1..d755076 100644 --- a/CourseDetailClassic.ui.qml +++ b/Course/Detail/Classic.ui.qml @@ -2,6 +2,8 @@ import QtQuick 2.15 import QtQuick.Controls 2.15 import QtQuick.Layouts 1.15 import QtGraphicalEffects 1.15 +import "Classic/Content" as Content +import "../.." Flickable { property alias introBadge: introBadge @@ -33,22 +35,22 @@ Flickable { FontLoader { id: heebo - source: "Heebo/Heebo-Bold.ttf" + source: "../../Heebo/Heebo-Bold.ttf" } FontLoader { id: bold - source: doesntEmbed ? "" : "Roboto/Roboto-Bold.ttf" + source: doesntEmbed ? "" : "../../Roboto/Roboto-Bold.ttf" } FontLoader { id: medium - source: doesntEmbed ? "" : "Roboto/Roboto-Medium.ttf" + source: doesntEmbed ? "" : "../../Roboto/Roboto-Medium.ttf" } FontLoader { id: regular - source: doesntEmbed ? "" : "Roboto/Roboto-Regular.ttf" + source: doesntEmbed ? "" : "../../Roboto/Roboto-Regular.ttf" } Rectangle { @@ -221,7 +223,7 @@ Flickable { Item {} - InstructorContent {} + Content.Instructor {} Item {} diff --git a/InstructorContent.ui.qml b/Course/Detail/Classic/Content/Instructor.ui.qml index 335e171..6f231aa 100644 --- a/InstructorContent.ui.qml +++ b/Course/Detail/Classic/Content/Instructor.ui.qml @@ -1,6 +1,7 @@ import QtQuick 2.15 import QtQuick.Controls 2.15 import QtQuick.Layouts 1.15 +import "Instructor" GridLayout { id: instructorContent diff --git a/ListInlineItem.ui.qml b/Course/Detail/Classic/Content/Instructor/ListInlineItem.ui.qml index 8f7f27e..6e30ffc 100644 --- a/ListInlineItem.ui.qml +++ b/Course/Detail/Classic/Content/Instructor/ListInlineItem.ui.qml @@ -22,7 +22,7 @@ RowLayout { Image { id: inlineItemIcon anchors.verticalCenter: parent.verticalCenter - source: "Material/svg/filled/school.svg" + source: "../../../../../Material/svg/filled/school.svg" anchors.horizontalCenter: parent.horizontalCenter fillMode: Image.PreserveAspectFit Layout.preferredHeight: 12 @@ -46,4 +46,4 @@ RowLayout { font.family: "roboto" } } -}
\ No newline at end of file +} diff --git a/CourseDetailClassic.qrc b/CourseDetailClassic.qrc new file mode 100644 index 0000000..227b799 --- /dev/null +++ b/CourseDetailClassic.qrc @@ -0,0 +1,7 @@ +<!DOCTYPE RCC><RCC version="1.0"> + <qresource prefix="qeduport"> + <file>Course/Detail/Classic.ui.qml</file> + <file>Course/Detail/Classic/Content/Instructor.ui.qml</file> + <file>Course/Detail/Classic/Content/Instructor/ListInlineItem.ui.qml</file> + </qresource> +</RCC> |