summaryrefslogtreecommitdiff
path: root/InstructiorCardItem.ui.qml
diff options
context:
space:
mode:
authorAnatasof Wirapraja <anatasof.wirapraja@gmail.com>2023-03-03 21:05:39 +0700
committerAnatasof Wirapraja <anatasof.wirapraja@gmail.com>2023-03-03 21:05:39 +0700
commite2ca2eaa7937a78ff0ed596bae7c8354a2cabf4e (patch)
tree59715d4909be656c6191dabbac3365662d5c4994 /InstructiorCardItem.ui.qml
parent3df5a34a0df5dc38acda6c400655d7c962b6abae (diff)
redo InstructorCarditem, instructorcontent and add coursedetailclassicvideo
Diffstat (limited to 'InstructiorCardItem.ui.qml')
-rw-r--r--InstructiorCardItem.ui.qml86
1 files changed, 0 insertions, 86 deletions
diff --git a/InstructiorCardItem.ui.qml b/InstructiorCardItem.ui.qml
deleted file mode 100644
index 1f59ba3..0000000
--- a/InstructiorCardItem.ui.qml
+++ /dev/null
@@ -1,86 +0,0 @@
-import QtQuick 2.15
-import QtQuick.Controls 2.15
-import QtQuick.Layouts 1.15
-import QtGraphicalEffects 1.12
-
-RowLayout {
- id: instructorCard
- spacing: 0
- height: instructorCardAvatar.height
- width: instructorCardAvatar.width + instructorCardBody.width
-
- RowLayout{
- id: instructorCardAvatar
- Rectangle{
- Layout.margins: 8
- id: instructorThumbnail
- radius: 8
- Layout.preferredHeight: 200
- Layout.preferredWidth: 200
- Layout.minimumHeight: 200
- Layout.minimumWidth: 200
- }
- Image{
- id: instructorThumb
- source: "https://eduport.webestica.com/assets/images/instructor/02.jpg"
- sourceSize: Qt.size(instructorThumbnail.width, instructorThumbnail.height)
- visible: false
- }
- OpacityMask{
- anchors.fill: instructorThumbnail
- source: instructorThumb
- maskSource: instructorThumbnail
- }
- }
- ColumnLayout {
- id: instructorCardBody
- Layout.preferredWidth: 360
- Layout.minimumWidth: 360
- Layout.alignment: Qt.AlignLeft | Qt.AlignTop
- spacing: 0
- Label{
- id: courseTitle
- color: "#000000"
- text: "Instructor name"
- font.pointSize: 21
- font.family: "roboto"
- font.styleName: "Medium"
- Layout.fillWidth: true
- Layout.rightMargin: 8
- Layout.leftMargin: 8
- Layout.topMargin: 8
- }
- Label{
- id: instructorTitle
- color: "#4d000000"
- text: "Instructor title"
- font.pointSize: 12
- font.family: "roboto"
- font.styleName: "Regular"
- Layout.fillWidth: true
- Layout.margins:8
- }
- Label{
- id: insturctorCardContent
- color: "#4d000000"
- text: "Passage its ten led hearted removal cordial. Preference any astonished unreserved Mrs."
- wrapMode: Text.WordWrap
- font.pointSize: 12
- font.family: "roboto"
- font.styleName: "Regular"
- Layout.fillWidth: true
- Layout.margins:8
- }
-
- Label{
- id: instructorCategory
- color: "#fd7e14"
- text: "Instructor title"
- font.pointSize: 16
- font.family: "roboto"
- font.styleName: "Medium"
- Layout.fillWidth: true
- Layout.margins:8
- }
- }
-} \ No newline at end of file