From b4abcf8fb997a234df60eb941db19972f4b16340 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=EA=A6=AB=EA=A6=B6=EA=A6=8F=EA=A7=80=EA=A6=A6?= =?UTF-8?q?=EA=A6=BF=EA=A6=A7=EA=A6=AE=EA=A6=91=EA=A6=A9=EA=A6=AD=EA=A7=80?= Date: Sun, 19 Mar 2023 12:03:38 +0800 Subject: Move instructor files deeper --- Course/Detail/Classic.ui.qml | 4 +- Course/Detail/Classic/Content/Instructor.ui.qml | 91 ---------------------- .../Content/Instructor/ListInlineItem.ui.qml | 49 ------------ .../Content/Main/TabContents/Instructor.ui.qml | 91 ++++++++++++++++++++++ .../TabContents/Instructor/ListInlineItem.ui.qml | 49 ++++++++++++ 5 files changed, 142 insertions(+), 142 deletions(-) delete mode 100644 Course/Detail/Classic/Content/Instructor.ui.qml delete mode 100644 Course/Detail/Classic/Content/Instructor/ListInlineItem.ui.qml create mode 100644 Course/Detail/Classic/Content/Main/TabContents/Instructor.ui.qml create mode 100644 Course/Detail/Classic/Content/Main/TabContents/Instructor/ListInlineItem.ui.qml (limited to 'Course') diff --git a/Course/Detail/Classic.ui.qml b/Course/Detail/Classic.ui.qml index d598089..be79391 100644 --- a/Course/Detail/Classic.ui.qml +++ b/Course/Detail/Classic.ui.qml @@ -2,7 +2,7 @@ import QtQuick 2.15 import QtQuick.Controls 2.15 import QtQuick.Layouts 1.15 import QtGraphicalEffects 1.15 -import "Classic/Content" as Content +import "Classic/Content/Main/TabContents" as ContentMainTabContents import "../.." Flickable { @@ -223,7 +223,7 @@ Flickable { Item {} - Content.Instructor {} + ContentMainTabContents.Instructor {} Item {} diff --git a/Course/Detail/Classic/Content/Instructor.ui.qml b/Course/Detail/Classic/Content/Instructor.ui.qml deleted file mode 100644 index 6f231aa..0000000 --- a/Course/Detail/Classic/Content/Instructor.ui.qml +++ /dev/null @@ -1,91 +0,0 @@ -import QtQuick 2.15 -import QtQuick.Controls 2.15 -import QtQuick.Layouts 1.15 -import "Instructor" - -GridLayout { - id: instructorContent - width: instructorContent.width - height: instructorContent.height - rowSpacing: 16 - columnSpacing: 16 - flow: GridLayout.TopToBottom - - RowLayout { - id: instructorStatistics - Image { - id: instructorImage - Layout.preferredWidth: 300 - Layout.preferredHeight: 300 - source: "https://eduport.webestica.com/assets/images/instructor/01.jpg" - fillMode: Image.PreserveAspectFit - Layout.margins: 8 - } - ColumnLayout { - id: instructorBody - spacing: 8 - Layout.margins: 8 - - Label { - id: instructorFullname - color: "#000000" - text: qsTr("Instructor Fullname") - font.styleName: "Bold" - font.pointSize: 32 - font.family: "roboto" - - } - Label { - id: instructorTitle - color: "#66000000" - text: qsTr("Instructor of Marketing") - font.styleName: "Regular" - font.pointSize: 16 - font.family: "roboto" - } - RowLayout{ - spacing: 16 - ListInlineItem { - id: listInlineItem1 - } - - ListInlineItem { - id: listInlineItem2 - } - - ListInlineItem { - id: listInlineItem3 - } - - ListInlineItem { - id: listInlineItem4 - } - - } - } - } - ColumnLayout { - id: insturctorInfo - width: instructorStatistics.width - spacing: 0 - Label { - color: "#000000" - text: qsTr("About Instructor") - leftPadding: 8 - font.styleName: "Medium" - font.pointSize: 21 - font.family: "roboto" - } - Label { - color: "#66000000" - width: 720 - text: qsTr("Fulfilled direction use continual set him propriety continued. Saw met applauded favorite deficient engrossed concealed and her. Concluded boy perpetual old supposing. Farther related bed and passage comfort civilly. Dashboard see frankness objection abilities. As hastened oh produced prospect formerly up am. Placing forming nay looking old married few has. Margaret disposed of add screened rendered six say his striking confined. As it so contrasted oh estimating instrument. Size like body someone had. Are conduct viewing boy minutes warrant the expense? Tolerably behavior may admit daughters offending her ask own. Praise effect wishes change way and any wanted.") - wrapMode: Text.WordWrap - leftPadding: 8 - font.styleName: "Regular" - font.pointSize: 14 - font.family: "roboto" - Layout.fillWidth: true - } - } -} diff --git a/Course/Detail/Classic/Content/Instructor/ListInlineItem.ui.qml b/Course/Detail/Classic/Content/Instructor/ListInlineItem.ui.qml deleted file mode 100644 index 6e30ffc..0000000 --- a/Course/Detail/Classic/Content/Instructor/ListInlineItem.ui.qml +++ /dev/null @@ -1,49 +0,0 @@ -import QtQuick 2.15 -import QtQuick.Controls 2.15 -import QtQuick.Layouts 1.15 -import QtGraphicalEffects 1.12 - - -RowLayout { - id:listInline - width: listInlineItem.width - height: listInlineItem.height - RowLayout { - id:listInlineItem - Rectangle { - id: inlineItemIconBg - radius: 100 - color: "#4dfd7e14" - Layout.preferredHeight: 42 - Layout.preferredWidth: 42 - Layout.minimumHeight: 42 - Layout.minimumWidth: 42 - - Image { - id: inlineItemIcon - anchors.verticalCenter: parent.verticalCenter - source: "../../../../../Material/svg/filled/school.svg" - anchors.horizontalCenter: parent.horizontalCenter - fillMode: Image.PreserveAspectFit - Layout.preferredHeight: 12 - Layout.preferredWidth: 12 - Layout.minimumHeight: 12 - Layout.minimumWidth: 12 - - ColorOverlay{ - anchors.fill: inlineItemIcon - source: inlineItemIcon - color: "#fd7e14" - } - } - } - Label { - id: instructorTitle - color: "#000000" - text: qsTr("List inline item metrics") - font.styleName: "Regular" - font.pointSize: 14 - font.family: "roboto" - } - } -} diff --git a/Course/Detail/Classic/Content/Main/TabContents/Instructor.ui.qml b/Course/Detail/Classic/Content/Main/TabContents/Instructor.ui.qml new file mode 100644 index 0000000..6f231aa --- /dev/null +++ b/Course/Detail/Classic/Content/Main/TabContents/Instructor.ui.qml @@ -0,0 +1,91 @@ +import QtQuick 2.15 +import QtQuick.Controls 2.15 +import QtQuick.Layouts 1.15 +import "Instructor" + +GridLayout { + id: instructorContent + width: instructorContent.width + height: instructorContent.height + rowSpacing: 16 + columnSpacing: 16 + flow: GridLayout.TopToBottom + + RowLayout { + id: instructorStatistics + Image { + id: instructorImage + Layout.preferredWidth: 300 + Layout.preferredHeight: 300 + source: "https://eduport.webestica.com/assets/images/instructor/01.jpg" + fillMode: Image.PreserveAspectFit + Layout.margins: 8 + } + ColumnLayout { + id: instructorBody + spacing: 8 + Layout.margins: 8 + + Label { + id: instructorFullname + color: "#000000" + text: qsTr("Instructor Fullname") + font.styleName: "Bold" + font.pointSize: 32 + font.family: "roboto" + + } + Label { + id: instructorTitle + color: "#66000000" + text: qsTr("Instructor of Marketing") + font.styleName: "Regular" + font.pointSize: 16 + font.family: "roboto" + } + RowLayout{ + spacing: 16 + ListInlineItem { + id: listInlineItem1 + } + + ListInlineItem { + id: listInlineItem2 + } + + ListInlineItem { + id: listInlineItem3 + } + + ListInlineItem { + id: listInlineItem4 + } + + } + } + } + ColumnLayout { + id: insturctorInfo + width: instructorStatistics.width + spacing: 0 + Label { + color: "#000000" + text: qsTr("About Instructor") + leftPadding: 8 + font.styleName: "Medium" + font.pointSize: 21 + font.family: "roboto" + } + Label { + color: "#66000000" + width: 720 + text: qsTr("Fulfilled direction use continual set him propriety continued. Saw met applauded favorite deficient engrossed concealed and her. Concluded boy perpetual old supposing. Farther related bed and passage comfort civilly. Dashboard see frankness objection abilities. As hastened oh produced prospect formerly up am. Placing forming nay looking old married few has. Margaret disposed of add screened rendered six say his striking confined. As it so contrasted oh estimating instrument. Size like body someone had. Are conduct viewing boy minutes warrant the expense? Tolerably behavior may admit daughters offending her ask own. Praise effect wishes change way and any wanted.") + wrapMode: Text.WordWrap + leftPadding: 8 + font.styleName: "Regular" + font.pointSize: 14 + font.family: "roboto" + Layout.fillWidth: true + } + } +} diff --git a/Course/Detail/Classic/Content/Main/TabContents/Instructor/ListInlineItem.ui.qml b/Course/Detail/Classic/Content/Main/TabContents/Instructor/ListInlineItem.ui.qml new file mode 100644 index 0000000..f2941ed --- /dev/null +++ b/Course/Detail/Classic/Content/Main/TabContents/Instructor/ListInlineItem.ui.qml @@ -0,0 +1,49 @@ +import QtQuick 2.15 +import QtQuick.Controls 2.15 +import QtQuick.Layouts 1.15 +import QtGraphicalEffects 1.12 + + +RowLayout { + id:listInline + width: listInlineItem.width + height: listInlineItem.height + RowLayout { + id:listInlineItem + Rectangle { + id: inlineItemIconBg + radius: 100 + color: "#4dfd7e14" + Layout.preferredHeight: 42 + Layout.preferredWidth: 42 + Layout.minimumHeight: 42 + Layout.minimumWidth: 42 + + Image { + id: inlineItemIcon + anchors.verticalCenter: parent.verticalCenter + source: "../../../../../../../Material/svg/filled/school.svg" + anchors.horizontalCenter: parent.horizontalCenter + fillMode: Image.PreserveAspectFit + Layout.preferredHeight: 12 + Layout.preferredWidth: 12 + Layout.minimumHeight: 12 + Layout.minimumWidth: 12 + + ColorOverlay{ + anchors.fill: inlineItemIcon + source: inlineItemIcon + color: "#fd7e14" + } + } + } + Label { + id: instructorTitle + color: "#000000" + text: qsTr("List inline item metrics") + font.styleName: "Regular" + font.pointSize: 14 + font.family: "roboto" + } + } +} -- cgit v1.2.3