Sander van Grieken
313c8a136a
qml: use declarative form for invoiceResolved and requestResolved in WalletMainView
...
(cherry picked from commit 78b2e3df6c47ad5d5d119cbc2372e62807f372fd)
2025-08-27 16:46:41 +02:00
f321x
b90090e2dd
qml: separate PI resolving from QEInvoiceParser
...
separates the resolving step from the QEInvoiceParser so the 'recipient'
can be resolved first and then either an QEInvoiceParser can be used if
it is a sending request that has been resolved (invoice, address,
lnurlp, ...), or RequestDetails can be used if the resolved 'recipient'
turns out to be a voucher/LNURLW string.
# Conflicts:
# electrum/gui/qml/qeinvoice.py
2025-08-27 15:35:03 +02:00
f321x
fdeada3f51
lnurl: implement LNURL-withdraw
...
adds handling of lnurl-withdraw payment identifiers which allow users to
withdraw bitcoin from a service by scanning a qr code or pasting the
lnurl-w code as "sending" address.
2025-08-27 15:31:43 +02:00
Sander van Grieken
43c6f45040
qml: handle invoice validation errors on save
2025-08-12 20:27:58 +02:00
Sander van Grieken
aaed64c45a
android: pass on QR binary scan result data as well
...
qml: add signals for QEQRScanner and fallbacks, add QEBytes container type
so we can pass along byte arrays between QML and python, port qr scan
occurrences to new signals.
2025-07-24 13:58:45 +02:00
f321x
86dd267d15
fix: qml: update tx label on detailsChanged signal
...
when setting a transaction label in the qml
`LightningPaymentDetails` or `TxDetails` dialogs which get opened
directly by the `ReceiveDialog` (`onRequestPaid`) the label is not applied on the main
transaction list as no callback for `detailsChanged` is registered which
gets called when the label changes. As a result the label is only
visible after the main list gets reloaded (e.g. restart).
This commit adds callbacks for `detailsChanged` to fix this.
2025-07-07 15:55:14 +02:00
Sander van Grieken
39c0523773
qml: only save invoice if canSave
2025-06-30 12:56:22 +02:00
Sander van Grieken
938af7b2ee
qml: remove green check-mark on request paid, open lightning payment details (LN) or Tx details (on-chain) instead
2025-06-02 17:11:08 +02:00
ThomasV
25c53ec3a5
Merge pull request #9792 from accumulator/qml_issue_noamt_lninvoice_sticky_override_amt
...
qml: fix storing override amount too soon, while user is allowed to set a new override amount which was silently ignored.
2025-05-16 11:19:53 +02:00
Sander van Grieken
a9213c4d66
psbt_nostr: send label along with PSBT
2025-05-14 12:49:33 +02:00
Sander van Grieken
a45ca41268
qml: fix storing override amount too soon, while user is allowed to set a new override amount which was silently ignored.
...
lightning: implicit save of lightning invoice with override amount deferred until actual payment is accepted.
on-chain: for now, invoice is implicitly saved when override amount is passed to ConfirmTxDialog. (this is sooner
than current desktop client, which saves - and only saves - when Pay is clicked from ConfirmTxDialog)
2025-05-14 10:57:57 +02:00
Sander van Grieken
ad4aafa2e4
qml: add ellipsis to buttons that are followed by another chance to bail
2025-04-10 19:52:44 +02:00
ThomasV
181c132fee
Merge pull request #9666 from accumulator/qml_close_invoicedialog_after_onchain_broadcast_success
...
qml: auto close invoicedialog after successful onchain tx broadcast
2025-04-03 17:18:31 +02:00
Sander van Grieken
f76218ea83
qml: introduce InfoBanner allowing a clickable sticky message to stay below header and
...
implement ln utxo reserve check with warning. Clicking shows a suggestion to swap.
2025-04-03 14:39:05 +02:00
Sander van Grieken
d0ecf634c8
qml: auto close invoicedialog after successful onchain tx broadcast
2025-03-24 12:10:41 +01:00
ThomasV
3d2531cb93
reintroduce separate request types for lightning and onchain
...
cmdline: add_request has a --lightning option
2025-02-25 11:27:32 +01:00
Sander van Grieken
19a4b149d3
qml: show proper Payment failed message when reason is empty (e.g. from previous session)
...
also capitalisation consistency.
2025-01-17 13:02:28 +01:00
Sander van Grieken
c6cd47ebba
qml: refactor QEWallet.sign() to sign() and sign_and_broadcast(), add user feedback when signing fails.
2024-10-23 12:02:01 +02:00
Sander van Grieken
94c54f7057
qml: sweep: allow sweep to watch-only wallet, but ask confirmation.
2024-10-09 17:45:40 +02:00
Sander van Grieken
a8833eb650
qml: add sweep icon
2024-10-08 12:16:19 +02:00
Sander van Grieken
44c0e583d6
qml: SweepDialog
2024-09-17 16:43:38 +02:00
Sander van Grieken
8d9bcda36f
qml: fix handling of channel backup import on lightning-disabled wallets
2024-06-10 15:07:02 +02:00
accumulator
d8bd55bf4e
Merge pull request #8758 from accumulator/qml_error_dialogs
...
qml: use warning icon and error title for failure messagedialogs
2023-12-22 16:55:01 +01:00
Sander van Grieken
c7e055bdb9
qml: remove unused components
2023-12-21 12:36:20 +01:00
Sander van Grieken
524adaf747
qml: use warning icon and error title for failure messagedialogs
2023-12-19 15:58:39 +01:00
Sander van Grieken
03dd38bfb8
qml: add support for ln address and openalias, fix lnurl finalize step,
...
avoid overloading invoiceParser with new payment identifiers while potentially long-running
resolve/finalize steps are ongoing, show errors inresolve/finalize steps to user.
2023-11-20 17:16:22 +01:00
Sander van Grieken
f8eb2e8cf8
qml: resize menus according to content
2023-11-15 17:35:08 +01:00
Sander van Grieken
94b1df4a08
qml: small UI fix, wording.
2023-11-13 11:35:30 +01:00
Sander van Grieken
32c1915de4
qml: restore Send/ScanDialog for desktop/dev, keeping qr scan Activity for android only.
...
Also use stable R package, regardless of APP_PACKAGE_DOMAIN used in build.
2023-11-07 10:17:10 +01:00
SomberNight
5c3e14d8de
qml: replace Send/ScanDialog with java bases zxing qr scan activity.
2023-11-07 10:17:10 +01:00
Sander van Grieken
a77ff9943a
qml: refactor qr scan to qt6
...
As the method of capturing frames is totally different, the animation when
a QR is found has been removed.
2023-11-07 10:17:10 +01:00
Sander van Grieken
65d41ccc49
qml: qualify all signal handler parameters
2023-11-07 10:17:10 +01:00
Sander van Grieken
8b567ae447
qml: remove all QML imports version numbers
2023-11-07 10:17:08 +01:00
Sander van Grieken
e88cf0a683
qml: addresses list formatting, add txid/outpoint and amount to filter
2023-11-01 17:17:16 +01:00
Sander van Grieken
e5e1e46b7b
qml: add message sign/verify
2023-09-26 11:28:55 +02:00
Sander van Grieken
3c232d70d1
small fixes
2023-09-20 14:34:31 +02:00
Sander van Grieken
a740a20fc2
qml: pass the invoice/invoiceparser to payOnchain
2023-09-01 15:44:24 +02:00
Sander van Grieken
c348d4d7ce
follow-up 0a804607a4, don't ask confirmation for regular onchain invoices
2023-09-01 15:08:01 +02:00
Sander van Grieken
0a804607a4
qml: properly suggest paying bolt11 invoice onchain if insufficient LN balance.
...
Also, if fallback address is present, don't warn on bolt11 and no ln channels.
2023-09-01 15:03:44 +02:00
SomberNight
d663d92424
qml: handle importChannelBackupFailed in WalletMainView
...
error was not being shown when scanning/pasting channel backup from Send screen
2023-08-10 14:46:00 +00:00
Sander van Grieken
04c9078955
qml: show pay_invoice error to user
2023-05-15 11:56:40 +02:00
SomberNight
312e50e9a9
qml: send screen: bip21: fallback to onchain addr if no LN channels
...
given a bip21 uri that has both onchain addr and bolt11,
if we have LN enabled but no LN channels, auto-fallback to paying onchain
we will have to clean up and unify this logic between GUIs. becoming spaghetti :/
rumour has it, Thomas has a branch? :P
2023-04-25 22:23:24 +00:00
Sander van Grieken
264540e12b
qml: consistency camelcase public slots qedaemon, qeinvoice, qewizard
2023-04-25 13:40:16 +02:00
Sander van Grieken
61179ede8c
qml: consistency camelcase qewallet
2023-04-25 13:33:15 +02:00
Sander van Grieken
5ead4feabb
qml: wallet menu wider to fit wide translated texts
2023-04-24 17:24:22 +02:00
SomberNight
2ec4758a12
qml: follow-up fix for offline-signing pre-segwit tx
...
follow-up 3cec6cdcfb
2023-04-21 17:14:49 +00:00
Sander van Grieken
3cec6cdcfb
qml: second part of partially signing tx while not having txid yet
2023-04-21 15:09:33 +02:00
ThomasV
5e29b94561
qml MessageDialog: split messages into title and header message. hide header if it is empty.
2023-04-18 14:07:41 +02:00
Sander van Grieken
62af3265cb
qml: disable menu option associated with current page
2023-04-17 15:36:13 +02:00
Sander van Grieken
9bbc354e0e
qml: refactor txaccepted/txcancelled signals to standard accepted/rejected.
2023-04-11 12:13:41 +02:00