From 0fdb577551ce92f3888b9564cdd1149e5a82432c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=EA=A6=AB=EA=A6=B6=EA=A6=8F=EA=A7=80=EA=A6=A6?= =?UTF-8?q?=EA=A6=BF=EA=A6=A7=EA=A6=AE=EA=A6=91=EA=A6=A9=EA=A6=AD=EA=A7=80?= Date: Mon, 2 Jan 2023 14:35:46 +0800 Subject: Sign In draft --- Bootstrap.qrc | 1 + Bootstrap/icons/envelope-fill.svg | 3 +++ Font-Awesome.qrc | 1 + Font-Awesome/svgs/solid/lock.svg | 1 + SignInFlickable.ui.qml | 41 +++++++++++++++++++++++++++++++++++++++ 5 files changed, 47 insertions(+) create mode 100644 Bootstrap/icons/envelope-fill.svg create mode 100644 Font-Awesome/svgs/solid/lock.svg create mode 100644 SignInFlickable.ui.qml diff --git a/Bootstrap.qrc b/Bootstrap.qrc index f04616f..5bfd58c 100644 --- a/Bootstrap.qrc +++ b/Bootstrap.qrc @@ -1,5 +1,6 @@ Bootstrap/icons/patch-check-fill.svg + Bootstrap/icons/envelope-fill.svg diff --git a/Bootstrap/icons/envelope-fill.svg b/Bootstrap/icons/envelope-fill.svg new file mode 100644 index 0000000..0b28c86 --- /dev/null +++ b/Bootstrap/icons/envelope-fill.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/Font-Awesome.qrc b/Font-Awesome.qrc index 2dedb61..34404a6 100644 --- a/Font-Awesome.qrc +++ b/Font-Awesome.qrc @@ -4,5 +4,6 @@ Font-Awesome/svgs/solid/user-tie.svg Font-Awesome/svgs/solid/user-graduate.svg Font-Awesome/svgs/solid/tv.svg + Font-Awesome/svgs/solid/lock.svg diff --git a/Font-Awesome/svgs/solid/lock.svg b/Font-Awesome/svgs/solid/lock.svg new file mode 100644 index 0000000..3fdea7a --- /dev/null +++ b/Font-Awesome/svgs/solid/lock.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/SignInFlickable.ui.qml b/SignInFlickable.ui.qml new file mode 100644 index 0000000..1e5ec9d --- /dev/null +++ b/SignInFlickable.ui.qml @@ -0,0 +1,41 @@ +import QtQuick 2.15 +import QtQuick.Controls 2.15 +import QtQuick.Layouts 1.15 + +Flickable { + contentHeight: form.height + + ListView { + id: form + interactive: false + anchors { + top: parent.top + left: parent.left + right: parent.right + } + + model: ListModel { + ListElement { + label: qsTr("Email address *") + icon: "Bootstrap/icons/envelope-fill.svg" + placeholder: qsTr("E-mail") + } + ListElement { + label: qsTr("Password *") + icon: "Font-Awesome/svgs/solid/lock.svg" + placeholder: qsTr("password") + } + } + + delegate: ColumnLayout { + width: form.width + Label { + text: label + } + TextField { + placeholderText: placeholder + Layout.fillWidth: true + } + } + } +} -- cgit v1.2.3