diff options
author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-01-03 16:04:45 +0800 |
---|---|---|
committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-01-03 16:04:45 +0800 |
commit | 6a384068b2bdbcdcd6ba3bf8a20f0244d000bf47 (patch) | |
tree | 112573d9a633f131d18a9bf025fd3db260f1ad4e | |
parent | 10e69b1157162fb8730a9d9a6d939025883270a5 (diff) |
Aliases to sign in components
-rw-r--r-- | SignInFlickable.ui.qml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/SignInFlickable.ui.qml b/SignInFlickable.ui.qml index 30d3c8f..754b8be 100644 --- a/SignInFlickable.ui.qml +++ b/SignInFlickable.ui.qml @@ -3,6 +3,9 @@ import QtQuick.Controls 2.15 import QtQuick.Layouts 1.15 GridLayout { + property alias email: email + property alias password: password + property alias button: button ColumnLayout { Layout.margins: 15 @@ -19,6 +22,7 @@ GridLayout { source: "Bootstrap/icons/envelope-fill.svg" } TextField { + id: email placeholderText: qsTr("E-mail") Layout.fillWidth: true } @@ -38,6 +42,7 @@ GridLayout { } } TextField { + id: password placeholderText: qsTr("password") Layout.fillWidth: true } @@ -45,6 +50,7 @@ GridLayout { } Button { + id: button text: qsTr("Login") Layout.fillWidth: true } |