summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-03-08 17:17:36 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-03-08 17:17:36 +0800
commit1e550155aefeb9b51d0659664035cd90033db11a (patch)
tree4cf165d32e13775c14d6590b068f319edeea45c0
parent40b2ea3c911f44ce9c41a4eec52c75c997f3b320 (diff)
Interfaces for sign in properties
that are likely to be customised.
-rw-r--r--SignIn.ui.qml21
1 files changed, 10 insertions, 11 deletions
diff --git a/SignIn.ui.qml b/SignIn.ui.qml
index f37f1a8..de2a242 100644
--- a/SignIn.ui.qml
+++ b/SignIn.ui.qml
@@ -3,6 +3,10 @@ import QtQuick.Controls 2.15
import QtQuick.Layouts 1.15
Flickable {
+ property string titleHeader: qsTr("Login into Eduport!")
+ property string titleParagraph: qsTr("Nice to see you! Please log in with your account.")
+ property string emailLabel: qsTr("Email address *")
+ property string emailImage: "Bootstrap/icons/envelope-fill.svg"
property alias email: email
property alias password: password
property alias button: button
@@ -47,8 +51,7 @@ Flickable {
id: columnLayout
Label {
- id: signInTitle
- text: qsTr("Login into Eduport!")
+ text: titleHeader
wrapMode: Text.Wrap
Layout.fillWidth: true
font {
@@ -58,9 +61,8 @@ Flickable {
}
Label {
- id: signInSubtitle
+ text: titleParagraph
color: "#6c757d"
- text: qsTr("Nice to see you! Please log in with your account.")
wrapMode: Text.Wrap
Layout.fillWidth: true
font {
@@ -71,7 +73,7 @@ Flickable {
}
ColumnLayout {
Label {
- text: qsTr("Email address *")
+ text: emailLabel
font {
pointSize: 15
family: doesntEmbed ? "Roboto" : regular.name
@@ -88,12 +90,9 @@ Flickable {
RowLayout {
anchors.fill: parent
Image {
- id: envelope
- source: "Bootstrap/icons/envelope-fill.svg"
- sourceSize {
- width: 24
- height: 24
- }
+ source: emailImage
+ Layout.maximumHeight: 24
+ Layout.maximumWidth: 24
Layout.margins: 16
}
TextField {