2020-06-17 15:18:31 -04:00
|
|
|
import QtQuick 2.13
|
|
|
|
import QtQuick.Controls 2.13
|
|
|
|
import QtQuick.Layouts 1.13
|
2020-05-27 17:28:25 -04:00
|
|
|
import "../../../../imports"
|
2020-06-19 14:06:58 -04:00
|
|
|
import "../../../../shared"
|
2021-01-14 14:23:48 +01:00
|
|
|
import "../../../../shared/status"
|
2020-05-27 17:28:25 -04:00
|
|
|
|
|
|
|
Item {
|
|
|
|
id: aboutContainer
|
|
|
|
Layout.fillHeight: true
|
|
|
|
Layout.fillWidth: true
|
2021-04-08 11:44:58 -04:00
|
|
|
clip: true
|
2020-05-27 17:28:25 -04:00
|
|
|
|
2021-01-14 14:23:48 +01:00
|
|
|
Column {
|
|
|
|
id: generalColumn
|
|
|
|
spacing: Style.current.bigPadding
|
2020-05-27 17:28:25 -04:00
|
|
|
anchors.top: parent.top
|
2021-01-14 14:23:48 +01:00
|
|
|
anchors.topMargin: 46
|
2021-04-08 11:44:58 -04:00
|
|
|
width: profileContainer.profileContentWidth
|
2021-03-18 10:33:39 +01:00
|
|
|
anchors.horizontalCenter: parent.horizontalCenter
|
2020-09-23 12:22:05 -05:00
|
|
|
|
2021-01-14 14:23:48 +01:00
|
|
|
StatusSectionDescItem {
|
2021-02-18 11:36:05 -05:00
|
|
|
//% "App version"
|
|
|
|
name: qsTrId("version")
|
|
|
|
//% "Version: %1"
|
2021-07-27 11:42:41 -04:00
|
|
|
description: qsTrId("version---1").arg("0.1.0-beta.11")
|
2021-03-25 15:37:55 -04:00
|
|
|
tooltipUnder: true
|
2020-09-23 12:22:05 -05:00
|
|
|
}
|
|
|
|
|
2021-01-14 14:23:48 +01:00
|
|
|
StatusSectionDescItem {
|
2021-02-18 11:36:05 -05:00
|
|
|
//% "Node version "
|
|
|
|
name: qsTrId("node-version-")
|
2021-01-14 14:23:48 +01:00
|
|
|
description: profileModel.nodeVersion()
|
2020-09-23 12:22:05 -05:00
|
|
|
}
|
2020-06-17 17:05:59 -04:00
|
|
|
|
2021-01-14 14:23:48 +01:00
|
|
|
StyledText {
|
2021-02-18 11:36:05 -05:00
|
|
|
//% "Check for updates"
|
|
|
|
text: qsTrId("check-for-updates")
|
2021-01-14 14:23:48 +01:00
|
|
|
font.pixelSize: 15
|
|
|
|
color: Style.current.blue
|
|
|
|
|
|
|
|
MouseArea {
|
|
|
|
anchors.fill: parent
|
|
|
|
cursorShape: Qt.PointingHandCursor
|
|
|
|
hoverEnabled: true
|
|
|
|
onEntered: {
|
|
|
|
parent.font.underline = true
|
|
|
|
}
|
|
|
|
onExited: {
|
|
|
|
parent.font.underline = false
|
|
|
|
}
|
|
|
|
onClicked: {
|
|
|
|
appMain.openLink("https://github.com/status-im/nim-status-client/releases")
|
|
|
|
}
|
|
|
|
}
|
2020-06-17 17:05:59 -04:00
|
|
|
}
|
|
|
|
|
2021-01-14 14:23:48 +01:00
|
|
|
StyledText {
|
2021-02-18 11:36:05 -05:00
|
|
|
//% "Privacy Policy"
|
|
|
|
text: qsTrId("privacy-policy")
|
2021-01-14 14:23:48 +01:00
|
|
|
font.pixelSize: 15
|
|
|
|
color: Style.current.blue
|
|
|
|
|
|
|
|
MouseArea {
|
|
|
|
anchors.fill: parent
|
|
|
|
cursorShape: Qt.PointingHandCursor
|
|
|
|
hoverEnabled: true
|
|
|
|
onEntered: {
|
|
|
|
parent.font.underline = true
|
|
|
|
}
|
|
|
|
onExited: {
|
|
|
|
parent.font.underline = false
|
|
|
|
}
|
|
|
|
onClicked: {
|
|
|
|
appMain.openLink("https://status.im/privacy-policy/")
|
|
|
|
}
|
|
|
|
}
|
2020-06-17 17:05:59 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/*##^##
|
|
|
|
Designer {
|
|
|
|
D{i:0;height:600;width:800}
|
2020-05-27 17:28:25 -04:00
|
|
|
}
|
2020-06-17 17:05:59 -04:00
|
|
|
##^##*/
|