mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-12 22:56:55 +00:00
- implement the basic Onboarding UI skeleton and the Create Profile flows - adjust the PasswordView and EnterSeedPhrase views to the latest design - add the main OnboardingLayout and StatusPinInput pages to Storybook - change terminology app-wide: "Seed phrase" -> "Recovery phrase" - implement the Login flows (seed, sync, keycard) - amend the keycard flow sequences with separate (non) empty page Fixes #16719 Fixes #16742 Fixes #16743
42 lines
1.1 KiB
QML
42 lines
1.1 KiB
QML
import QtQuick 2.15
|
|
import QtQuick.Controls 2.15
|
|
import QtQuick.Layouts 1.15
|
|
|
|
import StatusQ.Core 0.1
|
|
import StatusQ.Controls 0.1
|
|
import StatusQ.Controls.Validators 0.1
|
|
import StatusQ.Core.Theme 0.1
|
|
|
|
Item {
|
|
id: root
|
|
|
|
ColumnLayout {
|
|
anchors.centerIn: parent
|
|
spacing: 16
|
|
StatusBaseText {
|
|
Layout.alignment: Qt.AlignHCenter
|
|
text: "ENTER NUMERIC PIN, EXPECTED LENGTH: %1".arg(pinInput.pinLen)
|
|
}
|
|
StatusPinInput {
|
|
Layout.alignment: Qt.AlignHCenter
|
|
id: pinInput
|
|
validator: StatusIntValidator { bottom: 0; top: 999999 }
|
|
Component.onCompleted: {
|
|
statesInitialization()
|
|
forceFocus()
|
|
}
|
|
}
|
|
StatusBaseText {
|
|
Layout.alignment: Qt.AlignHCenter
|
|
text: "ENTERED PIN: %1".arg(pinInput.pinInput || "[empty]")
|
|
}
|
|
StatusBaseText {
|
|
Layout.alignment: Qt.AlignHCenter
|
|
text: "VALID: %1".arg(pinInput.valid ? "true" : "false")
|
|
}
|
|
}
|
|
}
|
|
|
|
// category: Controls
|
|
// status: good
|