Sander van Grieken
0a6b2d521b
qml: move final wizard submit() to WizardComponent.finish handler
2024-02-05 11:13:58 +01:00
SomberNight
48a96f6776
qml wizard: run navmap[view]['accept'] handler a final time on finish
...
For example, see
061c821128/electrum/plugins/trustedcoin/trustedcoin.py (L624)
Even if navmap[view]['last'] is True, we still want the navmap[view]['accept'] handler to run.
fixes https://github.com/spesmilo/electrum/issues/8861
---
Note that an analogous issue does not exist for the desktop qt gui,
see 061c821128/electrum/gui/qt/wizard/wizard.py (L206)
There, wizard.resolve_next is called regardless of is_last.
2024-01-31 12:59:47 +00:00
Sander van Grieken
a03b2d7bae
qt,qml: add a welcome page as initial page for server connect wizard
...
This is much less intimidating than asking if the user wants to use a proxy
out of the gate.
2023-12-19 18:49:16 +01:00
Sander van Grieken
8b567ae447
qml: remove all QML imports version numbers
2023-11-07 10:17:08 +01:00
Sander van Grieken
05a34fbe24
qml: tap-on-background now removes focus, allowing convenient way to hide keyboard
2023-09-25 16:58:27 +02:00
Sander van Grieken
0672ea20ab
qml: implement toggle for android SECURE_FLAG and add marker to wizard pages
...
that should be secured.
2023-05-02 15:16:51 +02:00
Sander van Grieken
a0939aad75
qml: add doAccept and doReject functions to ElDialog.
...
These functions make sure no duplicate accepted/rejected signals are emitted.
2023-04-11 12:01:10 +02:00
Sander van Grieken
edffbee92d
qml: same for last
2023-03-27 12:03:46 +02:00
Sander van Grieken
cc9b022089
qml: don't update wizard valid state from wizard pages that are not the current page
2023-03-27 12:01:55 +02:00
Sander van Grieken
677e1259df
qml: ElDialog now defaults to parent on Overlay.overlay
...
This was replicated in basically all ElDialog derived dialogs
2023-03-20 16:53:40 +01:00
Sander van Grieken
00286254f9
qml: wizard button padding, wizardcomponent now a Pane
2023-03-06 16:47:19 +01:00
Sander van Grieken
461fcf2443
qml: wizard use flatbuttons
2023-03-06 16:02:08 +01:00
Sander van Grieken
4cb3d411ea
qml: override finish button text in ServerConnectWizard
2023-02-24 22:11:20 +01:00
Sander van Grieken
495f51e6ad
don't log sensitive wizard values
2023-01-06 16:45:57 +01:00
Sander van Grieken
30079c06a8
qml: handle android back button in wizard, map to prev page action instead of closing wizard.
...
Also add initial focus to WCHaveSeed and WCHaveMasterKey wizard components.
2023-01-02 17:02:19 +01:00
Sander van Grieken
5380b21568
qml: wizard support for back button
2022-11-16 12:12:43 +01:00
Sander van Grieken
97254bb0ed
qml: remove ready signal hack, wizard_data now available at WizardComponent construction time
2022-11-14 12:19:56 +01:00
Sander van Grieken
3c903d8fd7
qml: allow wizard pages to supply title suffix
2022-11-14 12:19:56 +01:00
Sander van Grieken
15e2ed4f58
rewrite server connect wizard to new wizard style
...
'last' property on WizardComponents is now queried from UI, not from the wizard.
This allows the content of the WizardComponent itself to be taken into account.
2022-10-21 13:32:16 +02:00
Sander van Grieken
43bac2edff
qml: use new wizard approach in qml and also implement 2FA/trustedcoin
2022-10-21 13:31:24 +02:00
Sander van Grieken
d0a9420c87
qml: fix initial focus wallet name in new wallet wizard
2022-07-12 14:01:04 +02:00
Sander van Grieken
1c7f559f32
UI use constants
2022-07-07 18:29:01 +02:00
Sander van Grieken
da727278fa
small fixes
2022-07-07 18:29:01 +02:00
Sander van Grieken
7e6991c097
UI
2022-07-07 18:28:00 +02:00
Sander van Grieken
e04dbe1eff
remove leftover, don't eagerly set wizard pages to not visible
2022-07-07 18:28:00 +02:00
Sander van Grieken
bbd0ff8b91
move wizard components to separate files, add initial bip39 refine page
2022-07-07 18:28:00 +02:00