diff options
author | Anatasof Wirapraja <anatasof.wirapraja@gmail.com> | 2023-02-27 12:45:37 +0700 |
---|---|---|
committer | Anatasof Wirapraja <anatasof.wirapraja@gmail.com> | 2023-02-27 12:45:37 +0700 |
commit | 527959acb8451808def49997873264a99b28ccab (patch) | |
tree | c67ba4e19219315c971c41d267b21811d1e4728c /InstructorContent.ui.qml | |
parent | f057bb4d41e870417146ca851c8b3155b6f795c7 (diff) |
add InstructorContent.ui.qml
Diffstat (limited to 'InstructorContent.ui.qml')
-rw-r--r-- | InstructorContent.ui.qml | 43 |
1 files changed, 43 insertions, 0 deletions
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 |