mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-23 12:08:53 +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
52 lines
1.5 KiB
QML
52 lines
1.5 KiB
QML
import QtQuick 2.15
|
|
import QtQuick.Layouts 1.15
|
|
|
|
import StatusQ.Core 0.1
|
|
import StatusQ.Core.Theme 0.1
|
|
import StatusQ.Controls 0.1
|
|
|
|
import utils 1.0
|
|
|
|
Item {
|
|
property alias text: loadingText.text
|
|
property alias secondaryText: secondaryText.text
|
|
property alias progress: progressBar.value
|
|
|
|
ColumnLayout {
|
|
anchors.centerIn: parent
|
|
spacing: 20
|
|
Image {
|
|
objectName: "loadingAnimation"
|
|
Layout.alignment: Qt.AlignHCenter
|
|
Layout.preferredWidth: 270
|
|
Layout.preferredHeight: 260
|
|
source: Theme.png("status-preparing")
|
|
}
|
|
StatusBaseText {
|
|
id: loadingText
|
|
Layout.topMargin: 12
|
|
Layout.fillWidth: true
|
|
horizontalAlignment: Qt.AlignHCenter
|
|
font.pixelSize: 22
|
|
font.bold: true
|
|
text: qsTr("Preparing Status for you")
|
|
}
|
|
StatusBaseText {
|
|
id: secondaryText
|
|
Layout.fillWidth: true
|
|
horizontalAlignment: Qt.AlignHCenter
|
|
color: Theme.palette.baseColor1
|
|
text: qsTr("Hang in there! Just a few more seconds!")
|
|
}
|
|
StatusProgressBar {
|
|
id: progressBar
|
|
Layout.alignment: Qt.AlignHCenter
|
|
Layout.preferredWidth: 200
|
|
Layout.preferredHeight: 4
|
|
Layout.bottomMargin: 100
|
|
fillColor: Theme.palette.primaryColor1
|
|
opacity: progress > 0 ? 1 : 0
|
|
}
|
|
}
|
|
}
|