From 6a384068b2bdbcdcd6ba3bf8a20f0244d000bf47 Mon Sep 17 00:00:00 2001 From: ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ Date: Tue, 3 Jan 2023 16:04:45 +0800 Subject: Aliases to sign in components --- SignInFlickable.ui.qml | 6 ++++++ 1 file changed, 6 insertions(+) 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 } -- cgit v1.3