status-desktop/ui/app/AppLayouts/Profile/Sections/AboutContainer.qml

82 lines
2.1 KiB
QML
Raw Normal View History

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"
import "../../../../shared"
import "../../../../shared/status"
2020-05-27 21:28:25 +00:00
Item {
id: aboutContainer
Layout.fillHeight: true
Layout.fillWidth: true
Column {
id: generalColumn
spacing: Style.current.bigPadding
2020-05-27 21:28:25 +00:00
anchors.top: parent.top
anchors.topMargin: 46
2020-06-17 21:05:59 +00:00
anchors.left: parent.left
anchors.leftMargin: contentMargin
anchors.right: parent.right
anchors.rightMargin: contentMargin
2020-09-23 17:22:05 +00:00
StatusSectionDescItem {
name: qsTr("App version")
description: qsTr("Version: %1").arg("beta.5")
2020-09-23 17:22:05 +00:00
}
StatusSectionDescItem {
name: qsTr("Node version ")
description: profileModel.nodeVersion()
2020-09-23 17:22:05 +00:00
}
2020-06-17 21:05:59 +00:00
StyledText {
text: qsTr("Check for updates")
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 21:05:59 +00:00
}
StyledText {
text: qsTr("Privacy Policy")
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 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
##^##*/