blob: 04f94b9c28d807a1a6d1b33fa14b263e227a959f (
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
|
import QtQuick 2.15
import QtQuick.Controls 2.15
import QtQuick.Layouts 1.15
import QtGraphicalEffects 1.15
import Bootstrap 5.3
import Eduport 1.4
import "../../DropShadow" as DrpShdw
import "Classic/Content" as Content
import "Classic/Content/Sidebar" as ContentSidebar
Flickable {
property alias introBadge: introBadge
property alias introTitleHeader: introTitleHeader
property alias introTitleParagraph: introTitleParagraph
property alias mainContent: mainContent
property alias video: video
contentHeight: body.height
ColumnLayout {
id: body
anchors {
top: parent.top
left: parent.left
right: parent.right
}
Rectangle {
color: Eduport.bsLight
Layout.fillWidth: true
implicitHeight: pageIntro.height + 96
ColumnLayout {
id: pageIntro
anchors {
left: parent.left
leftMargin: 15
right: parent.right
rightMargin: 15
verticalCenter: parent.verticalCenter
}
Rectangle {
Layout.bottomMargin: 16
implicitWidth: introBadge.width
implicitHeight: introBadge.height
radius: 5.2
color: Qt.rgba( .0235, .416, .788, 1.0)
Label {
id: introBadge
text: qsTr("Digital Marketing")
Bootstrap.heading: 6
wrapMode: Label.Wrap
color: "white"
font.family: Eduport.baseFont
.family
horizontalAlignment: Text
.AlignHCenter
verticalAlignment: Text
.AlignVCenter
topPadding: 8
leftPadding: 25.6
rightPadding: 25.6
bottomPadding: 8
}
}
Label {
id: introTitleHeader
text: qsTr("The Complete Digital Marketing Course - 12 Courses in 1")
wrapMode: Label.Wrap
Bootstrap.heading: 1
Layout.fillWidth: true
}
Label {
id: introTitleParagraph
text: qsTr("Satisfied conveying a dependent contented he gentleman agreeable do be. Warrant private blushes removed an in equally totally if. Delivered dejection necessary objection do Mr prevailed. Mr feeling does chiefly cordial in do.")
wrapMode: Label.Wrap
Layout.fillWidth: true
}
}
}
GridLayout {
Layout.topMargin: 64
columns: body.width < 992 ? 1 : 2
rows: body.width < 992 ? 2 : 1
Content.Main {
id: mainContent
Layout.alignment: Qt.AlignTop
Layout.maximumWidth: body.width < 992
? body.width : body.width / 2
}
GridLayout {
Layout.topMargin: 48
Layout.bottomMargin: 48
ColumnLayout {
Layout.leftMargin: 15
Layout.rightMargin: 15
Item {
Layout.fillWidth: true
Layout.bottomMargin: 25.6
implicitHeight: video.height
+ 16
DrpShdw.Box {
source: videoRectangle
anchors.fill:
videoRectangle
}
Rectangle {
id: videoRectangle
color: Eduport.bsCardBg
radius: 8
anchors.fill: parent
}
ContentSidebar.Video {
id: video
anchors {
left: parent
.left
leftMargin: 8
right: parent
.right
rightMargin: 8
verticalCenter:
parent
.verticalCenter
}
}
}
/*
Item {
Layout.fillWidth: true
implicitHeight: info.height
DrpShdw.Box {
source: infoRectangle
anchors.fill:
infoRectangle
}
Rectangle {
id: infoRectangle
color: Eduport.bsCardBg
radius: 8
anchors.fill: info
}
ContentSidebar.Info {
id: info
anchors {
left: parent
.left
right: parent
.right
}
}
}
*/
}
/*
ColumnLayout {
Item {
Layout.fillWidth: true
implicitHeight: recent.height
DrpShdw.Box {
source: recentRectangle
anchors.fill:
recentRectangle
}
Rectangle {
id: recentRectangle
color: Eduport.bsCardBg
radius: 8
anchors.fill: recent
}
ContentSidebar.Recent {
id: recent
anchors {
left: parent
.left
right: parent
.right
}
}
}
Item {
Layout.fillWidth: true
implicitHeight: tags.height
DrpShdw.Box {
source: tagsRectangle
anchors.fill:
tagsRectangle
}
Rectangle {
id: tagsRectangle
color: Eduport.bsCardBg
radius: 8
anchors.fill: tags
}
ContentSidebar.Tags {
id: tags
anchors {
left: parent
.left
right: parent
.right
}
}
}
}
*/
}
}
}
}
|