Save settings for each wizard page in "wizard.settings" object and

diplay overview at the last page
This commit is contained in:
Ilya Kitaev
2016-01-26 10:30:07 +03:00
parent 78b556575a
commit 63e4d19a92
5 changed files with 59 additions and 16 deletions

View File

@@ -39,6 +39,12 @@ Item {
onOpacityChanged: visible = opacity !== 0
function saveSettings(settingsObject) {
settingsObject['account_name'] = accountName.text
settingsObject['words'] = wordsText.text
settingsObject['wallet_path'] = fileUrlInput.text
}
Row {
id: dotsRow
anchors.top: parent.top
@@ -106,6 +112,7 @@ Item {
height: 62
TextInput {
id: accountName
anchors.fill: parent
horizontalAlignment: TextInput.AlignHCenter
verticalAlignment: TextInput.AlignVCenter