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"
|
2020-06-19 18:06:58 +00:00
|
|
|
import "../../../../shared"
|
2020-05-27 21:28:25 +00:00
|
|
|
|
|
|
|
Item {
|
|
|
|
id: privacyContainer
|
|
|
|
width: 200
|
|
|
|
height: 200
|
|
|
|
Layout.fillHeight: true
|
|
|
|
Layout.fillWidth: true
|
|
|
|
|
2020-06-19 18:06:58 +00:00
|
|
|
StyledText {
|
2020-05-27 21:28:25 +00:00
|
|
|
id: element3
|
2020-07-06 20:39:55 +00:00
|
|
|
//% "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
|
|
|
|
}
|
2020-06-22 11:43:34 +00:00
|
|
|
|
|
|
|
Text {
|
|
|
|
id: labelSecurity
|
2020-07-06 20:39:55 +00:00
|
|
|
//% "Security"
|
|
|
|
text: qsTrId("security")
|
2020-06-22 11:43:34 +00:00
|
|
|
font.pixelSize: 13
|
|
|
|
font.weight: Font.Medium
|
2020-07-02 15:14:31 +00:00
|
|
|
color: Style.current.darkGrey
|
2020-06-22 11:43:34 +00:00
|
|
|
anchors.left: parent.left
|
2020-07-02 15:14:31 +00:00
|
|
|
anchors.leftMargin: Style.current.bigPadding
|
2020-06-22 11:43:34 +00:00
|
|
|
anchors.top: element3.bottom
|
2020-07-02 15:14:31 +00:00
|
|
|
anchors.topMargin: Style.current.smallPadding
|
2020-06-22 11:43:34 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
Item {
|
|
|
|
anchors.top: labelSecurity.bottom
|
2020-07-02 15:14:31 +00:00
|
|
|
anchors.topMargin: Style.current.padding
|
2020-06-22 11:43:34 +00:00
|
|
|
anchors.left: parent.left
|
2020-07-02 15:14:31 +00:00
|
|
|
anchors.leftMargin: Style.current.bigPadding
|
2020-06-22 11:43:34 +00:00
|
|
|
height: children[0].height
|
|
|
|
width: children[0].width
|
|
|
|
Text {
|
2020-07-06 20:39:55 +00:00
|
|
|
//% "Backup Seed Phrase"
|
|
|
|
text: qsTrId("backup-seed-phrase")
|
2020-06-22 11:43:34 +00:00
|
|
|
font.pixelSize: 14
|
|
|
|
}
|
|
|
|
MouseArea {
|
|
|
|
anchors.fill: parent
|
|
|
|
onClicked: backupSeedModal.open()
|
|
|
|
cursorShape: Qt.PointingHandCursor
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
BackupSeedModal{
|
|
|
|
id: backupSeedModal
|
|
|
|
}
|
2020-05-27 21:28:25 +00:00
|
|
|
}
|