parent
c6c8ed0858
commit
14809cebfe
|
@ -3,136 +3,75 @@ import QtQuick.Controls 2.13
|
||||||
import QtQuick.Layouts 1.13
|
import QtQuick.Layouts 1.13
|
||||||
import "../../../../imports"
|
import "../../../../imports"
|
||||||
import "../../../../shared"
|
import "../../../../shared"
|
||||||
|
import "../../../../shared/status"
|
||||||
|
|
||||||
Item {
|
Item {
|
||||||
id: aboutContainer
|
id: aboutContainer
|
||||||
Layout.fillHeight: true
|
Layout.fillHeight: true
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
|
||||||
StyledText {
|
Column {
|
||||||
id: element9
|
id: generalColumn
|
||||||
//% "About the app"
|
spacing: Style.current.bigPadding
|
||||||
text: qsTrId("about-the-app")
|
|
||||||
anchors.left: parent.left
|
|
||||||
anchors.leftMargin: Style.current.bigPadding
|
|
||||||
anchors.top: parent.top
|
anchors.top: parent.top
|
||||||
anchors.topMargin: 24
|
anchors.topMargin: 46
|
||||||
font.weight: Font.Bold
|
anchors.left: parent.left
|
||||||
font.pixelSize: 20
|
anchors.leftMargin: contentMargin
|
||||||
|
anchors.right: parent.right
|
||||||
|
anchors.rightMargin: contentMargin
|
||||||
|
|
||||||
|
StatusSectionDescItem {
|
||||||
|
name: qsTr("App version")
|
||||||
|
description: qsTr("Version: %1").arg("beta.5")
|
||||||
|
}
|
||||||
|
|
||||||
|
StatusSectionDescItem {
|
||||||
|
name: qsTr("Node version ")
|
||||||
|
description: profileModel.nodeVersion()
|
||||||
}
|
}
|
||||||
|
|
||||||
StyledText {
|
StyledText {
|
||||||
id: element10
|
text: qsTr("Check for updates")
|
||||||
//% "Status Desktop"
|
font.pixelSize: 15
|
||||||
text: qsTrId("status-desktop")
|
color: Style.current.blue
|
||||||
anchors.left: parent.left
|
|
||||||
anchors.leftMargin: Style.current.bigPadding
|
|
||||||
anchors.top: element9.top
|
|
||||||
anchors.topMargin: 58
|
|
||||||
font.weight: Font.Bold
|
|
||||||
font.pixelSize: 14
|
|
||||||
}
|
|
||||||
StyledText {
|
|
||||||
id: element11
|
|
||||||
//% "Version: beta.5"
|
|
||||||
text: qsTrId("version:-beta.5")
|
|
||||||
anchors.left: parent.left
|
|
||||||
anchors.leftMargin: Style.current.bigPadding
|
|
||||||
anchors.top: element10.top
|
|
||||||
anchors.topMargin: 58
|
|
||||||
font.weight: Font.Bold
|
|
||||||
font.pixelSize: 14
|
|
||||||
}
|
|
||||||
StyledText {
|
|
||||||
id: element12
|
|
||||||
//% "Node Version: %1"
|
|
||||||
text: qsTrId("node-version:-%1").arg(profileModel.nodeVersion())
|
|
||||||
anchors.left: parent.left
|
|
||||||
anchors.leftMargin: Style.current.bigPadding
|
|
||||||
anchors.top: element11.top
|
|
||||||
anchors.topMargin: 58
|
|
||||||
font.weight: Font.Bold
|
|
||||||
font.pixelSize: 14
|
|
||||||
}
|
|
||||||
StyledText {
|
|
||||||
id: element13
|
|
||||||
//% "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>")
|
|
||||||
anchors.left: parent.left
|
|
||||||
anchors.leftMargin: Style.current.bigPadding
|
|
||||||
anchors.top: element12.top
|
|
||||||
anchors.topMargin: 58
|
|
||||||
font.pixelSize: 14
|
|
||||||
onLinkActivated: appMain.openLink(link)
|
|
||||||
|
|
||||||
MouseArea {
|
MouseArea {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
acceptedButtons: Qt.NoButton // we don't want to eat clicks on the Text
|
cursorShape: Qt.PointingHandCursor
|
||||||
cursorShape: parent.hoveredLink ? Qt.PointingHandCursor : Qt.ArrowCursor
|
hoverEnabled: true
|
||||||
|
onEntered: {
|
||||||
|
parent.font.underline = true
|
||||||
|
}
|
||||||
|
onExited: {
|
||||||
|
parent.font.underline = false
|
||||||
|
}
|
||||||
|
onClicked: {
|
||||||
|
appMain.openLink("https://github.com/status-im/nim-status-client/releases")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
StyledText {
|
StyledText {
|
||||||
id: element14
|
text: qsTr("Privacy Policy")
|
||||||
//% "Source code is available on %1."
|
font.pixelSize: 15
|
||||||
text: qsTrId("source-code-is-available-on--1-").arg("<a href='https://github.com/status-im/nim-status-client'>GitHub</a>")
|
color: Style.current.blue
|
||||||
anchors.left: parent.left
|
|
||||||
anchors.leftMargin: Style.current.bigPadding
|
|
||||||
anchors.top: element13.top
|
|
||||||
anchors.topMargin: 58
|
|
||||||
font.pixelSize: 14
|
|
||||||
onLinkActivated: appMain.openLink(link)
|
|
||||||
|
|
||||||
MouseArea {
|
MouseArea {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
acceptedButtons: Qt.NoButton // we don't want to eat clicks on the Text
|
cursorShape: Qt.PointingHandCursor
|
||||||
cursorShape: parent.hoveredLink ? Qt.PointingHandCursor : Qt.ArrowCursor
|
hoverEnabled: true
|
||||||
|
onEntered: {
|
||||||
|
parent.font.underline = true
|
||||||
|
}
|
||||||
|
onExited: {
|
||||||
|
parent.font.underline = false
|
||||||
|
}
|
||||||
|
onClicked: {
|
||||||
|
appMain.openLink("https://status.im/privacy-policy/")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
StyledText {
|
|
||||||
id: privacyPolicyLink
|
|
||||||
//% "Privacy Policy"
|
|
||||||
text: `<a href='https://www.iubenda.com/privacy-policy/45710059'>${qsTrId("privacy-policy")}</a>`
|
|
||||||
anchors.left: parent.left
|
|
||||||
anchors.leftMargin: Style.current.bigPadding
|
|
||||||
anchors.top: element14.top
|
|
||||||
anchors.topMargin: 58
|
|
||||||
onLinkActivated: appMain.openLink(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: faqLink
|
|
||||||
text: `<a href='https://status.im/docs/FAQs.html'>${qsTr("Frequently asked questions")}</a>`
|
|
||||||
anchors.left: parent.left
|
|
||||||
anchors.leftMargin: Style.current.bigPadding
|
|
||||||
anchors.top: privacyPolicyLink.top
|
|
||||||
anchors.topMargin: 58
|
|
||||||
onLinkActivated: appMain.openLink(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: warningMessage
|
|
||||||
x: 772
|
|
||||||
//% "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.")
|
|
||||||
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
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*##^##
|
/*##^##
|
||||||
|
|
Loading…
Reference in New Issue