From 527959acb8451808def49997873264a99b28ccab Mon Sep 17 00:00:00 2001 From: Anatasof Wirapraja Date: Mon, 27 Feb 2023 12:45:37 +0700 Subject: add InstructorContent.ui.qml --- InstructorContent.ui.qml | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 InstructorContent.ui.qml (limited to 'InstructorContent.ui.qml') diff --git a/InstructorContent.ui.qml b/InstructorContent.ui.qml new file mode 100644 index 0000000..db0a15d --- /dev/null +++ b/InstructorContent.ui.qml @@ -0,0 +1,43 @@ +import QtQuick 2.15 +import QtQuick.Controls 2.15 +import QtQuick.Layouts 1.15 + +GridLayout { + id: instructorContent + width: instructorContent.width + height: instructorContent.height + + Image { + id: instructorImage + Layout.preferredWidth: 300 + Layout.preferredHeight: 300 + source: "https://eduport.webestica.com/assets/images/instructor/01.jpg" + fillMode: Image.PreserveAspectFit + Layout.margins: 8 + } + ColumnLayout { + id: instructoryBody + spacing: 8 + Layout.margins: 8 + + Label { + id: instructorFullname + color: "#000000" + text: qsTr("Instructor Fullname") + font.styleName: "Bold" + font.pointSize: 32 + font.family: "roboto" + + } + Label { + id: instructorTitle + color: "#66000000" + text: qsTr("Instructor of Marketing") + font.styleName: "Regular" + font.pointSize: 16 + font.family: "roboto" + + } + } + +} \ No newline at end of file -- cgit v1.2.3