diff options
| author | Ilya Kitaev <mbg033@gmail.com> | 2016-02-23 18:59:26 +0300 |
|---|---|---|
| committer | Ilya Kitaev <mbg033@gmail.com> | 2016-02-23 18:59:26 +0300 |
| commit | 1195a89d06956dd91f274182b07774dae8a1c0d2 (patch) | |
| tree | 4494cc36e6a68bde7bc7c51a8d29c260be8d204f /wizard | |
| parent | 921d16a458581d01f55a7ba2f6076d1ba6daaacf (diff) | |
| download | monzero-gui-1195a89d06956dd91f274182b07774dae8a1c0d2.tar.gz monzero-gui-1195a89d06956dd91f274182b07774dae8a1c0d2.tar.xz monzero-gui-1195a89d06956dd91f274182b07774dae8a1c0d2.zip | |
started integrating wallet library
Diffstat (limited to 'wizard')
| -rw-r--r-- | wizard/WizardCreateWallet.qml | 7 | ||||
| -rw-r--r-- | wizard/WizardMain.qml | 2 | ||||
| -rw-r--r-- | wizard/WizardMemoTextInput.qml | 2 |
3 files changed, 9 insertions, 2 deletions
diff --git a/wizard/WizardCreateWallet.qml b/wizard/WizardCreateWallet.qml index 65e2e989..8ce4e760 100644 --- a/wizard/WizardCreateWallet.qml +++ b/wizard/WizardCreateWallet.qml @@ -46,6 +46,12 @@ Item { settingsObject['wallet_path'] = uiItem.walletPath } + function createWallet(settingsObject) { + // print ("Language: " + settingsObject.language); + var wallet = walletManager.createWallet(uiItem.accountNameText, "", settingsObject.language); + uiItem.wordsTextItem.memoText = wallet.seed + } + WizardManageWalletUI { id: uiItem titleText: qsTr("A new wallet has been created for you") @@ -53,6 +59,5 @@ Item { wordsTextItem.clipboardButtonVisible: true wordsTextItem.tipTextVisible: true wordsTextItem.memoTextReadOnly: true - } } diff --git a/wizard/WizardMain.qml b/wizard/WizardMain.qml index eeefbf17..5f51cec8 100644 --- a/wizard/WizardMain.qml +++ b/wizard/WizardMain.qml @@ -99,7 +99,9 @@ Rectangle { currentPath = "create_wallet" pages = paths[currentPath] currentPage = pages.indexOf(createWalletPage) + createWalletPage.createWallet(settings) handlePageChanged() + } function openRecoveryWalletPage() { diff --git a/wizard/WizardMemoTextInput.qml b/wizard/WizardMemoTextInput.qml index 89eadb15..39f9211b 100644 --- a/wizard/WizardMemoTextInput.qml +++ b/wizard/WizardMemoTextInput.qml @@ -25,7 +25,7 @@ Column { TextEdit { id: memoTextInput textMargin: 8 - text: "bound class paint gasp task soul forgot past pleasure physical circle appear shore bathroom glove women crap busy beauty bliss idea give needle burden" + text: "" font.family: "Arial" font.pointSize: 16 wrapMode: TextInput.Wrap |
