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

62 lines
1.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: privacyContainer
width: 200
height: 200
Layout.fillHeight: true
Layout.fillWidth: true
StyledText {
2020-05-27 21:28:25 +00:00
id: element3
//% "Privacy and security settings"
text: qsTrId("privacy-and-security-settings")
2020-05-27 21:28:25 +00:00
anchors.left: parent.left
anchors.leftMargin: 24
anchors.top: parent.top
anchors.topMargin: 24
font.weight: Font.Bold
font.pixelSize: 20
}
Text {
id: labelSecurity
//% "Security"
text: qsTrId("security")
font.pixelSize: 13
font.weight: Font.Medium
color: Style.current.darkGrey
anchors.left: parent.left
anchors.leftMargin: Style.current.bigPadding
anchors.top: element3.bottom
anchors.topMargin: Style.current.smallPadding
}
Item {
anchors.top: labelSecurity.bottom
anchors.topMargin: Style.current.padding
anchors.left: parent.left
anchors.leftMargin: Style.current.bigPadding
height: children[0].height
width: children[0].width
Text {
//% "Backup Seed Phrase"
text: qsTrId("backup-seed-phrase")
font.pixelSize: 14
}
MouseArea {
anchors.fill: parent
onClicked: backupSeedModal.open()
cursorShape: Qt.PointingHandCursor
}
}
BackupSeedModal{
id: backupSeedModal
}
2020-05-27 21:28:25 +00:00
}