From e2ca2eaa7937a78ff0ed596bae7c8354a2cabf4e Mon Sep 17 00:00:00 2001 From: Anatasof Wirapraja Date: Fri, 3 Mar 2023 21:05:39 +0700 Subject: redo InstructorCarditem, instructorcontent and add coursedetailclassicvideo --- CourseDetailClassicVideo.ui.qml | 49 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 CourseDetailClassicVideo.ui.qml (limited to 'CourseDetailClassicVideo.ui.qml') diff --git a/CourseDetailClassicVideo.ui.qml b/CourseDetailClassicVideo.ui.qml new file mode 100644 index 0000000..87bcb28 --- /dev/null +++ b/CourseDetailClassicVideo.ui.qml @@ -0,0 +1,49 @@ +import QtQuick 2.15 +import QtQuick.Controls 2.15 +import QtQuick.Layouts 1.15 +import QtGraphicalEffects 1.15 + +Item { + width: courseDetailVideo.width + height: courseDetailVideo.height + ColumnLayout { + id: courseDetailVideo + spacing: 0 + Rectangle { + color: "#4d000000" + radius: 8 + Layout.minimumHeight: 250 + Layout.minimumWidth: 350 + Layout.fillHeight: true + Layout.fillWidth: true + } + RowLayout { + spacing: 8 + Label { + id: price + color: "#000000" + text: "$150" + font.weight: Font.Medium + verticalAlignment: Text.AlignVCenter + font.pointSize: 32 + font.family: "Roboto" + } + Label { + id: originalPrice + color: "#80000000" + text: "$150" + font.strikeout: true + font.weight: Font.Medium + verticalAlignment: Text.AlignVCenter + font.pointSize: 16 + font.family: "Roboto" + Layout.fillHeight: true + } + Badge{ + id:badge + Layout.fillWidth: true + Layout.fillHeight: true + } + } + } +} \ No newline at end of file -- cgit v1.2.3