summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-02-17 16:04:02 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-02-17 16:04:02 +0800
commit363e3dbb08eda0ca608d4ff73467c5dcffcf3f1b (patch)
tree65065b8016af28b00660bc2b1684c40346b06132
parent9009746fd8900c3b5092634adf838645d6f8080d (diff)
Instructor Edit Profile draft
-rw-r--r--InstructorEditProfile.ui.qml78
1 files changed, 78 insertions, 0 deletions
diff --git a/InstructorEditProfile.ui.qml b/InstructorEditProfile.ui.qml
new file mode 100644
index 0000000..398b990
--- /dev/null
+++ b/InstructorEditProfile.ui.qml
@@ -0,0 +1,78 @@
+import QtQuick 2.15
+import QtQuick.Controls 2.15
+import QtQuick.Layouts 1.15
+
+Flickable {
+ property bool doesntEmbed: Qt.platform.os === "android"
+ || Qt.platform.os === "linux"
+ || Qt.platform.os === "osx"
+ || Qt.platform.os === "unix"
+ || Qt.platform.os === "windows"
+ contentHeight: main.height
+
+ FontLoader {
+ id: bold
+ source: "Roboto/Roboto-Bold.ttf"
+ }
+
+ ColumnLayout {
+ id: main
+
+ RowLayout {
+
+ ColumnLayout {
+ Layout.leftMargin: 15
+ Layout.rightMargin: 15
+
+ Rectangle {
+ Layout.fillWidth: true
+ implicitHeight: editProfile.height
+ radius: 8
+ border {
+ width: 1
+ color: "#1a000000"
+ }
+
+ ColumnLayout {
+ id: editProfile
+ anchors {
+ left: parent.left
+ right: parent.right
+ }
+
+ Rectangle {
+ Layout.fillWidth: true
+ implicitHeight: cardHeader.height
+ border {
+ width: 1
+ color: "#1a000000"
+ }
+
+ Label {
+ id: cardHeader
+ text: qsTr("Edit Profile")
+ padding: 16
+ anchors {
+ left: parent.left
+ right: parent.right
+ }
+ font {
+ family: doesntEmbed ? "Roboto" : bold.name
+ weight: Font.Bold
+ pointSize: 23
+ }
+ }
+ }
+
+ ColumnLayout {
+ Layout.topMargin: 41.6
+ Layout.leftMargin: 32.8
+ Layout.rightMargin: 32.8
+ Layout.bottomMargin: 16
+ }
+ }
+ }
+ }
+ }
+ }
+}