2020-06-17 19:18:31 +00:00
import QtQuick 2.13
import QtQuick . Controls 2.13
import QtQuick . Layouts 1.13
2020-12-10 21:26:39 +00:00
import QtQuick . Controls . Universal 2.12
2020-05-19 13:22:38 +00:00
import "../shared"
2020-11-27 19:32:49 +00:00
import "../shared/status"
2020-06-26 14:08:08 +00:00
import "../imports"
2020-05-11 21:24:08 +00:00
RowLayout {
2020-05-19 13:22:38 +00:00
property alias btnGetStarted: btnGetStarted
2020-05-11 21:24:08 +00:00
id: obLayout
anchors.fill: parent
Layout.fillWidth: true
Layout.fillHeight: true
Rectangle {
border.width: 0
Layout.alignment: Qt . AlignHCenter | Qt . AlignVCenter
Layout.fillHeight: true
Layout.fillWidth: true
2020-12-10 21:26:39 +00:00
color: Style . current . background
2020-05-11 21:24:08 +00:00
SwipeView {
id: vwOnboarding
width: parent . width
height: parent . height
currentIndex: 0
interactive: false
anchors.fill: parent
2020-06-03 19:49:47 +00:00
Slide {
2020-12-10 21:26:39 +00:00
image: Universal . theme === Universal . Dark ? "img/chat-dark@2x.jpg" : "img/chat@2x.jpg"
2020-07-06 20:39:55 +00:00
//% "Truly private communication"
title: qsTrId ( "intro-title1" )
//% "Chat over a peer-to-peer, encrypted network\n where messages can't be censored or hacked"
2020-07-07 19:25:20 +00:00
description: qsTrId ( "chat-over-a-peer-to-peer--encrypted-network-n-where-messages-can-t-be-censored-or-hacked" )
2020-06-25 13:23:17 +00:00
isFirst: true
2020-05-11 21:24:08 +00:00
}
2020-06-03 19:49:47 +00:00
Slide {
2020-12-10 21:26:39 +00:00
image: Universal . theme === Universal . Dark ? "img/wallet-dark@2x.jpg" : "img/wallet@2x.jpg"
2020-07-06 20:39:55 +00:00
//% "Secure crypto wallet"
title: qsTrId ( "intro-title2" )
//% "Send and receive digital assets anywhere in the\nworld--no bank account required"
2020-09-22 15:12:48 +00:00
description: qsTrId ( "send-and-receive-digital-assets-anywhere-in-the-nworld--no-bank-account-required" )
}
Slide {
2020-12-10 21:26:39 +00:00
image: Universal . theme === Universal . Dark ? "img/browser-dark@2x.jpg" : "img/browser@2x.jpg"
2020-09-22 15:12:48 +00:00
//% "Decentralized apps"
title: qsTrId ( "intro-title3" )
//% "Explore games, exchanges and social networks\nwhere you alone own your data"
description: qsTrId ( "explore-games--exchanges-and-social-networks-nwhere-you-alone-own-your-data" )
isLast: true
2020-05-11 21:24:08 +00:00
}
}
Rectangle {
id: rctPageIndicator
border.width: 0
anchors.bottom: vwOnboarding . bottom
anchors.bottomMargin: 191
anchors.top: vwOnboarding . top
anchors.topMargin: 567
anchors.horizontalCenter: parent . horizontalCenter
width: parent . width
2020-12-10 21:26:39 +00:00
color: Style . current . background
2020-05-11 21:24:08 +00:00
PageIndicator {
id: pgOnboarding
anchors.horizontalCenter: parent . horizontalCenter
spacing: 5
padding: 0
topPadding: 0
bottomPadding: 0
rightPadding: 0
leftPadding: 0
font.pixelSize: 6
count: vwOnboarding . count
currentIndex: vwOnboarding . currentIndex
}
}
2020-06-25 21:20:15 +00:00
StyledText {
id: warningMessage
x: 772
2020-07-06 20:39:55 +00:00
//% "Thanks for trying Status Desktop! Please note that this is an alpha release and we advise you that using this app should be done for testing purposes only and you assume the full responsibility for all risks concerning your data and funds. Status makes no claims of security or integrity of funds in these builds."
text: qsTrId ( "thanks-for-trying-status-desktop!-please-note-that-this-is-an-alpha-release-and-we-advise-you-that-using-this-app-should-be-done-for-testing-purposes-only-and-you-assume-the-full-responsibility-for-all-risks-concerning-your-data-and-funds.-status-makes-no-claims-of-security-or-integrity-of-funds-in-these-builds." )
2020-06-25 21:20:15 +00:00
font.bold: true
anchors.top: rctPageIndicator . bottom
2020-06-26 14:08:08 +00:00
anchors.topMargin: 5
2020-06-25 21:20:15 +00:00
anchors.horizontalCenter: parent . horizontalCenter
font.pixelSize: 14
font.letterSpacing: 0.1
width: 700
wrapMode: Text . Wrap
}
2020-11-27 19:32:49 +00:00
StatusCheckBox {
2020-06-26 14:08:08 +00:00
id: warningCheckBox
anchors.top: warningMessage . bottom
anchors.topMargin: 0
anchors.horizontalCenter: parent . horizontalCenter
2020-07-06 20:39:55 +00:00
//% "I understand"
text: qsTrId ( "i-understand" )
2020-06-26 14:08:08 +00:00
}
2021-01-28 11:04:10 +00:00
StatusButton {
2020-05-11 21:24:08 +00:00
id: btnGetStarted
2020-06-26 14:08:08 +00:00
enabled: warningCheckBox . checked
2021-01-28 11:04:10 +00:00
text: "Get Started"
2020-06-26 14:08:08 +00:00
anchors.top: warningCheckBox . bottom
anchors.topMargin: 5
2020-05-11 21:24:08 +00:00
anchors.horizontalCenter: parent . horizontalCenter
2020-05-19 13:22:38 +00:00
width: 146
height: 44
2020-05-11 21:24:08 +00:00
}
2020-06-19 18:06:58 +00:00
StyledText {
2020-05-11 21:24:08 +00:00
id: txtPrivacyPolicy
x: 772
2020-07-06 20:39:55 +00:00
//% "Status does not collect, share or sell any personal data. By continuing you agree with the privacy policy."
text: qsTrId ( "status-does-not-collect,-share-or-sell-any-personal-data.-by-continuing-you-agree-with-the-privacy-policy." )
2020-05-11 21:24:08 +00:00
anchors.top: btnGetStarted . bottom
2020-06-26 14:08:08 +00:00
anchors.topMargin: 8
2020-05-11 21:24:08 +00:00
anchors.horizontalCenter: parent . horizontalCenter
font.pixelSize: 12
font.letterSpacing: 0.1
color: "#939BA1"
}
}
}
/ * # # ^ # #
Designer {
D { i: 0 ; autoSize: true ; height: 770 ; width: 1232 }
}
# # ^ # # * /