summaryrefslogtreecommitdiff
path: root/CourseDetailClassicVideo.ui.qml
blob: 87bcb283b2390653aa3bb0aabf4f0ca6b2b35a84 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
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
			}
		}
	}
}