1
0

qml: implement toggle for android SECURE_FLAG and add marker to wizard pages

that should be secured.
This commit is contained in:
Sander van Grieken
2023-04-29 13:45:28 +02:00
parent 8a25d59ba6
commit 0672ea20ab
9 changed files with 30 additions and 1 deletions

View File

@@ -8,6 +8,8 @@ import ".."
import "../controls"
WizardComponent {
securePage: true
valid: false
function checkValid() {

View File

@@ -7,6 +7,8 @@ import org.electrum 1.0
import "../controls"
WizardComponent {
securePage: true
valid: seedtext.text != ''
function apply() {

View File

@@ -9,6 +9,7 @@ import "../controls"
WizardComponent {
id: root
securePage: true
valid: false

View File

@@ -9,6 +9,7 @@ import "../controls"
WizardComponent {
id: root
securePage: true
valid: false

View File

@@ -8,6 +8,7 @@ import "../controls"
WizardComponent {
id: root
securePage: true
valid: false

View File

@@ -2,6 +2,8 @@ import QtQuick 2.6
import QtQuick.Layouts 1.0
import QtQuick.Controls 2.1
import org.electrum 1.0
import "../controls"
ElDialog {
@@ -141,6 +143,11 @@ ElDialog {
_setWizardData({})
}
Binding {
target: AppController
property: 'secureWindow'
value: pages.contentChildren[pages.currentIndex].securePage
}
}
ColumnLayout {

View File

@@ -11,6 +11,7 @@ Pane {
property bool valid
property bool last: false
property string title: ''
property bool securePage: false
leftPadding: constants.paddingXLarge
rightPadding: constants.paddingXLarge