Commit Graph

60 Commits

Author SHA1 Message Date
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
SomberNight
5fd6d2af4b qml: flip and fix auto_connect in ServerConnectWizard 2023-03-28 14:44:21 +00: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
d0f3e048b9 qml: followup 78d79290ad 2023-03-25 13:14:50 +01:00
Sander van Grieken
f89e0b80e6 qml: wizard add label for second password entry 2023-03-23 10:46:28 +01: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
SomberNight
a90bff4586 qml: mark masterkey/wif/addr input fields as sensitive
related: https://github.com/spesmilo/electrum/issues/8256
2023-03-17 17:09:01 +00:00
ThomasV
3574c99275 qml: in the password dialogs, disable the password confirmation
line if the first entered password is too short.

Without that, a user may enter two passwords that are identical
but too short, and then click on the eye icon in order to discover
that they actuall are identical.. and only at this point guess that
the size might be the problem.

Also, raise the minimum length to 6, because that is what is was
on Kivy.

One of the password dialogs still had two eye icons; that was only
fixed in the wizard. I guess that could be avoided if both dialogs
used the same code.
2023-03-16 20:51:17 +01:00
ThomasV
2ef60b906f Reword proxy question.
The second alternative in previous phrase can be misinterpreted as:
'Do you want to connect to the internet through an ISP?'
2023-03-16 17:12:21 +01:00
Sander van Grieken
7a86d8dc9e qml: ask user whether to configure Tor or other proxy before presenting proxy detail config screen 2023-03-16 15:42:24 +01:00
Sander van Grieken
1210ef5f81 qml: various styling 2023-03-09 16:13:46 +01:00
Sander van Grieken
0423970ae0 qml: add word picker to SeedTextArea 2023-03-09 15:09:16 +01:00
Sander van Grieken
b788f79509 qml: styling, padding various wizardcomponents 2023-03-06 18:05:54 +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
1e60cb740f qml: fixes TextHighlightPane 2023-02-09 01:21:09 +01:00
Sander van Grieken
495f51e6ad don't log sensitive wizard values 2023-01-06 16:45:57 +01:00
Sander van Grieken
d52afee635 qml: fix autoconnect/single server selection, tapping server selects. 2023-01-04 10:32:27 +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
e6e3fd7083 qml: move label outside of server/proxy config component 2022-12-30 22:40:14 +01:00
Sander van Grieken
1f22b865c3 qml: pastebutton and qr scan will only fill textarea after validation,
more clear text for pubkey and seed for cosigners
2022-11-29 11:28:59 +01:00
Sander van Grieken
9354dfc86d qml: skip multisig_show_masterpubkey view and instead present master pub key on every
cosigner key/seed import page.
2022-11-28 17:42:29 +01:00
Sander van Grieken
fbc5be54a9 qml: fix create/confirm seed_variant parameter, styling receivedetailsdialog 2022-11-21 23:05:46 +01:00
Sander van Grieken
5380b21568 qml: wizard support for back button 2022-11-16 12:12:43 +01:00
Sander van Grieken
24524119f6 qml: small form-factor fixes 2022-11-14 18:22:05 +01:00
Sander van Grieken
ce35e68514 qml: multisig create_storage 2022-11-14 14:37:05 +01:00
Sander van Grieken
ba2905105d qml: multisig wizard check duplicate keys 2022-11-14 13:14:27 +01:00
Sander van Grieken
334bbf3505 qml: add plumbing for duplicate master pubkey check, fix multisig end conditions 2022-11-14 12:19:56 +01:00
Sander van Grieken
4c784ffe1f qml: consolidate multisig support into existing pages WCHaveSeed, WCHaveMasterKey, WCBIP39Refine.
Have these put cosigner data directly in the correct wizard_data leafs instead of relying on
wizard accept handlers.
2022-11-14 12:19:56 +01:00
Sander van Grieken
f07b11f283 qml: add multisig support in WCBIP39Refine, add seed valid check for multisig in qebitcoin.py 2022-11-14 12:19:56 +01:00
Sander van Grieken
89936689fb qml: fix imports, flake issues 2022-11-14 12:19:56 +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
428ba209f4 qml: multisig wizard; cosigner w. electrum seed 2022-11-14 12:19:56 +01:00
Sander van Grieken
5246f3d510 qml: refactor is_last checks to mostly lambdas, add multisig flow for 1st cosigner keystore,
add initial flow and view placeholders for additional cosigners.
2022-11-14 12:19:56 +01:00
Sander van Grieken
b8a8c848c7 qml: enable first wizard page of multisig 2022-11-14 12:19:56 +01:00
Sander van Grieken
97f02bca3b qml: add import additional addresses/keys to import wallet 2022-11-04 15:59:27 +01:00
Sander van Grieken
2adf034771 use apply() function on every wizard page, making sure wizard_data is always available
to wizard navigation evaluation
2022-10-24 13:04:46 +02:00
Sander van Grieken
fac4003354 qml: fix wizard_data not available to 'last' check on have seed wizard page
also refactor seed verification, split off seed_variant from seed_type (partial disambiguation),
fix bip39 wallet creation
2022-10-24 13:03:33 +02: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
6ea3a16cc8 add wallet type imported addresses/private keys to wizard 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
9a72f98855 qml: add server and proxy config dialogs 2022-08-24 16:01:50 +02:00
Sander van Grieken
008805d97c qml: implement initial wallet from master key 2022-07-28 16:55:50 +02:00
Sander van Grieken
6c21a0ec67 qml: create PasswordField control 2022-07-26 20:40:21 +02:00
Sander van Grieken
c0dc1a9eaa qml: separate proxy and server controls from wizardcontainer, so we can reuse them in
network settings later
2022-07-21 16:03:14 +02:00
Sander van Grieken
8523fc134f qml: slip39 disabled for now 2022-07-20 11:08:40 +02:00
Sander van Grieken
70cf44ccec qml: wip single password 2022-07-12 16:55:11 +02:00