diff options
-rw-r--r-- | Bootstrap.qrc | 1 | ||||
-rw-r--r-- | Bootstrap/icons/envelope-fill.svg | 3 | ||||
-rw-r--r-- | Font-Awesome.qrc | 1 | ||||
-rw-r--r-- | Font-Awesome/svgs/solid/lock.svg | 1 | ||||
-rw-r--r-- | SignInFlickable.ui.qml | 41 |
5 files changed, 47 insertions, 0 deletions
diff --git a/Bootstrap.qrc b/Bootstrap.qrc index f04616f..5bfd58c 100644 --- a/Bootstrap.qrc +++ b/Bootstrap.qrc @@ -1,5 +1,6 @@ <RCC> <qresource prefix="qeduport"> <file>Bootstrap/icons/patch-check-fill.svg</file> + <file>Bootstrap/icons/envelope-fill.svg</file> </qresource> </RCC> 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 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-envelope-fill" viewBox="0 0 16 16"> + <path d="M.05 3.555A2 2 0 0 1 2 2h12a2 2 0 0 1 1.95 1.555L8 8.414.05 3.555ZM0 4.697v7.104l5.803-3.558L0 4.697ZM6.761 8.83l-6.57 4.027A2 2 0 0 0 2 14h12a2 2 0 0 0 1.808-1.144l-6.57-4.027L8 9.586l-1.239-.757Zm3.436-.586L16 11.801V4.697l-5.803 3.546Z"/> +</svg>
\ 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 @@ <file>Font-Awesome/svgs/solid/user-tie.svg</file> <file>Font-Awesome/svgs/solid/user-graduate.svg</file> <file>Font-Awesome/svgs/solid/tv.svg</file> + <file>Font-Awesome/svgs/solid/lock.svg</file> </qresource> </RCC> 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 @@ +<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><!--! Font Awesome Pro 6.2.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --><path d="M144 144v48H304V144c0-44.2-35.8-80-80-80s-80 35.8-80 80zM80 192V144C80 64.5 144.5 0 224 0s144 64.5 144 144v48h16c35.3 0 64 28.7 64 64V448c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V256c0-35.3 28.7-64 64-64H80z"/></svg>
\ 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 + } + } + } +} |