2020-06-17 19:18:31 +00:00
import QtQuick 2.13
import QtQuick . Controls 2.13
import QtQuick . Layouts 1.13
2020-05-27 21:28:25 +00:00
import "../../../../imports"
2020-06-19 18:06:58 +00:00
import "../../../../shared"
2020-05-27 21:28:25 +00:00
Item {
id: aboutContainer
width: 200
height: 200
Layout.fillHeight: true
Layout.fillWidth: true
2020-06-19 18:06:58 +00:00
StyledText {
2020-05-27 21:28:25 +00:00
id: element9
2020-07-06 20:39:55 +00:00
//% "About the app"
text: qsTrId ( "about-the-app" )
2020-05-27 21:28:25 +00:00
anchors.left: parent . left
2020-09-23 17:22:05 +00:00
anchors.leftMargin: Style . current . bigPadding
2020-05-27 21:28:25 +00:00
anchors.top: parent . top
anchors.topMargin: 24
font.weight: Font . Bold
font.pixelSize: 20
}
2020-06-17 21:05:59 +00:00
2020-06-19 18:06:58 +00:00
StyledText {
2020-06-17 21:05:59 +00:00
id: element10
2020-07-06 20:39:55 +00:00
//% "Status Desktop"
text: qsTrId ( "status-desktop" )
2020-06-17 21:05:59 +00:00
anchors.left: parent . left
2020-09-23 17:22:05 +00:00
anchors.leftMargin: Style . current . bigPadding
2020-06-17 21:05:59 +00:00
anchors.top: element9 . top
anchors.topMargin: 58
font.weight: Font . Bold
font.pixelSize: 14
}
2020-06-19 18:06:58 +00:00
StyledText {
2020-06-17 21:05:59 +00:00
id: element11
2020-10-06 14:18:17 +00:00
//% "Version: beta.2"
text: qsTrId ( "version:-beta.2" )
2020-06-17 21:05:59 +00:00
anchors.left: parent . left
2020-09-23 17:22:05 +00:00
anchors.leftMargin: Style . current . bigPadding
2020-06-17 21:05:59 +00:00
anchors.top: element10 . top
anchors.topMargin: 58
font.weight: Font . Bold
font.pixelSize: 14
}
2020-06-19 18:06:58 +00:00
StyledText {
2020-06-17 21:05:59 +00:00
id: element12
2020-07-06 20:39:55 +00:00
//% "Node Version: %1"
text: qsTrId ( "node-version:-%1" ) . arg ( profileModel . nodeVersion ( ) )
2020-06-17 21:05:59 +00:00
anchors.left: parent . left
2020-09-23 17:22:05 +00:00
anchors.leftMargin: Style . current . bigPadding
2020-06-17 21:05:59 +00:00
anchors.top: element11 . top
anchors.topMargin: 58
font.weight: Font . Bold
font.pixelSize: 14
}
2020-06-19 18:06:58 +00:00
StyledText {
2020-09-23 17:22:05 +00:00
id: element13
2020-09-23 20:49:15 +00:00
//% "This software is licensed under under the %1."
text: qsTrId ( "this-software-is-licensed-under-under-the--1-" ) . arg ( "<a href='https://github.com/status-im/nim-status-client/blob/master/LICENSE.md'>Mozilla Public License Version 2.0</a>" )
2020-06-17 21:05:59 +00:00
anchors.left: parent . left
2020-09-23 17:22:05 +00:00
anchors.leftMargin: Style . current . bigPadding
2020-06-17 21:05:59 +00:00
anchors.top: element12 . top
anchors.topMargin: 58
2020-09-23 17:22:05 +00:00
font.pixelSize: 14
onLinkActivated: Qt . openUrlExternally ( link )
MouseArea {
anchors.fill: parent
acceptedButtons: Qt . NoButton // we don't want to eat clicks on the Text
cursorShape: parent . hoveredLink ? Qt.PointingHandCursor : Qt . ArrowCursor
}
}
StyledText {
id: element14
2020-09-23 20:49:15 +00:00
//% "Source code is available on %1."
text: qsTrId ( "source-code-is-available-on--1-" ) . arg ( "<a href='https://github.com/status-im/nim-status-client'>GitHub</a>" )
2020-09-23 17:22:05 +00:00
anchors.left: parent . left
anchors.leftMargin: Style . current . bigPadding
anchors.top: element13 . top
anchors.topMargin: 58
font.pixelSize: 14
onLinkActivated: Qt . openUrlExternally ( link )
MouseArea {
anchors.fill: parent
acceptedButtons: Qt . NoButton // we don't want to eat clicks on the Text
cursorShape: parent . hoveredLink ? Qt.PointingHandCursor : Qt . ArrowCursor
}
}
StyledText {
id: privacyPolicyLink
2020-09-23 20:49:15 +00:00
//% "Privacy Policy"
text: ` < a href = 'https://www.iubenda.com/privacy-policy/45710059' > $ { qsTrId ( "privacy-policy" ) } < / a > `
2020-09-23 17:22:05 +00:00
anchors.left: parent . left
anchors.leftMargin: Style . current . bigPadding
anchors.top: element14 . top
anchors.topMargin: 58
2020-06-17 21:05:59 +00:00
onLinkActivated: Qt . openUrlExternally ( link )
MouseArea {
anchors.fill: parent
acceptedButtons: Qt . NoButton // we don't want to eat clicks on the Text
cursorShape: parent . hoveredLink ? Qt.PointingHandCursor : Qt . ArrowCursor
}
}
2020-06-19 18:06:58 +00:00
StyledText {
2020-06-25 21:20:15 +00:00
id: faqLink
2020-06-17 21:05:59 +00:00
text: "<a href='https://status.im/docs/FAQs.html'>Frequently asked questions</a>"
anchors.left: parent . left
2020-09-23 17:22:05 +00:00
anchors.leftMargin: Style . current . bigPadding
2020-06-17 21:05:59 +00:00
anchors.top: privacyPolicyLink . top
anchors.topMargin: 58
onLinkActivated: Qt . openUrlExternally ( link )
MouseArea {
anchors.fill: parent
acceptedButtons: Qt . NoButton // we don't want to eat clicks on the Text
cursorShape: parent . hoveredLink ? Qt.PointingHandCursor : Qt . ArrowCursor
}
}
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: faqLink . bottom
anchors.topMargin: 30
anchors.horizontalCenter: parent . horizontalCenter
font.pixelSize: 14
font.letterSpacing: 0.1
width: 700
wrapMode: Text . Wrap
}
2020-06-17 21:05:59 +00:00
}
/ * # # ^ # #
Designer {
D { i: 0 ; height: 600 ; width: 800 }
2020-05-27 21:28:25 +00:00
}
2020-06-17 21:05:59 +00:00
# # ^ # # * /