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

91 lines
2.5 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"
2020-05-27 21:28:25 +00:00
Item {
id: aboutContainer
width: 200
height: 200
Layout.fillHeight: true
Layout.fillWidth: true
StyledText {
2020-05-27 21:28:25 +00:00
id: element9
text: qsTr("About the app")
anchors.left: parent.left
anchors.leftMargin: 24
anchors.top: parent.top
anchors.topMargin: 24
font.weight: Font.Bold
font.pixelSize: 20
}
2020-06-17 21:05:59 +00:00
StyledText {
2020-06-17 21:05:59 +00:00
id: element10
text: qsTr("Status Desktop")
anchors.left: parent.left
anchors.leftMargin: 24
anchors.top: element9.top
anchors.topMargin: 58
font.weight: Font.Bold
font.pixelSize: 14
}
StyledText {
2020-06-17 21:05:59 +00:00
id: element11
text: qsTr("Version: 1.0")
anchors.left: parent.left
anchors.leftMargin: 24
anchors.top: element10.top
anchors.topMargin: 58
font.weight: Font.Bold
font.pixelSize: 14
}
StyledText {
2020-06-17 21:05:59 +00:00
id: element12
text: qsTr("Node Version: %1").arg(profileModel.nodeVersion())
anchors.left: parent.left
anchors.leftMargin: 24
anchors.top: element11.top
anchors.topMargin: 58
font.weight: Font.Bold
font.pixelSize: 14
}
StyledText {
2020-06-17 21:05:59 +00:00
id: privacyPolicyLink
text: "<a href='https://www.iubenda.com/privacy-policy/45710059'>Privacy Policy</a>"
anchors.left: parent.left
anchors.leftMargin: 24
anchors.top: element12.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
}
}
StyledText {
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
anchors.leftMargin: 24
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
}
}
}
/*##^##
Designer {
D{i:0;height:600;width:800}
2020-05-27 21:28:25 +00:00
}
2020-06-17 21:05:59 +00:00
##^##*/