diff options
author | Anatasof Wirapraja <anatasof.wirapraja@gmail.com> | 2023-03-03 21:05:39 +0700 |
---|---|---|
committer | Anatasof Wirapraja <anatasof.wirapraja@gmail.com> | 2023-03-03 21:05:39 +0700 |
commit | e2ca2eaa7937a78ff0ed596bae7c8354a2cabf4e (patch) | |
tree | 59715d4909be656c6191dabbac3365662d5c4994 /CourseDetailClassicVideo.ui.qml | |
parent | 3df5a34a0df5dc38acda6c400655d7c962b6abae (diff) |
redo InstructorCarditem, instructorcontent and add coursedetailclassicvideo
Diffstat (limited to 'CourseDetailClassicVideo.ui.qml')
-rw-r--r-- | CourseDetailClassicVideo.ui.qml | 49 |
1 files changed, 49 insertions, 0 deletions
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 |