701f5ba1b1
Fix(QML): Resolve text overlap in transaction input display
...
Split transaction input display into two rows to prevent overlap
between short_id and value fields on Android QML interface.
- First row: input index and short_id (with text eliding)
- Second row: value amount and unit (indented)
Fixes readability issues on small screens and long identifiers.
2025-12-10 10:36:36 +01:00
a3b58cc631
Fix(qml): emit balanceChanged on tx height change for real-time updates
2025-12-06 19:05:21 +01:00
f321x
5f0180910c
qml: add padding to ElDialog for android e2e
2025-08-27 15:17:16 +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
SomberNight
71627b91c4
qml: set BtcField.textAsSats initial value to match its text
...
textAsSats was being set to 0 initially, regardless of actual text, only healing after onTextChanged.
fixes https://github.com/spesmilo/electrum/issues/9974
2025-06-24 09:19:13 +00:00
Sander van Grieken
0a6f6ab006
qml: use color for accounting addresses
2025-06-06 13:38:48 +02:00
Sander van Grieken
7df2a1159b
qml: fix updating network settings
...
Previously the server parameters were each handled differently, e.g. auto-connect was only applied when updating Network.server
and not when Config.autoConnect was updated. Similarly, updating Network.server did not restart the network, leading to >1 connection
when Network.oneServer was set to True before updating Network.server.
Consolidate server parameter updates into a single call, remove the individual setters, and move Config.autoConnect and Config.autoConnectDefined to Network.
2025-06-03 13:22:45 +02:00
Sander van Grieken
b5170a3fa6
qml: oneserver, auto-connect combobox
2025-06-02 13:31:05 +02:00
SomberNight
329ba13093
gui: oneserver option: make text more verbose
2025-05-27 17:17:17 +00:00
accumulator
705f927899
qt: show option for single server in network dialog
2025-05-21 10:32:18 +02:00
Sander van Grieken
1dfe2ccec0
qml: show option for single server in ServerConfig
2025-05-19 18:07:29 +02:00
Sander van Grieken
3ff84f08a6
plugins: psbt_nostr: implement for qml
2025-04-15 14:06:29 +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
3fd64b60ab
qml: show warning in ConfirmTxDialog if max amount cannot be fully sent due to channel reserve requirements.
2025-04-03 14:39:05 +02:00
SomberNight
2aa427b4bf
Merge branch 'pr/9507': qt: refactor NetworkChoiceLayout to ProxyWidget+ServerWidget
...
ref https://github.com/spesmilo/electrum/pull/9507
2025-03-05 15:01:05 +00:00
Sander van Grieken
f1e9abf04e
qt,qml: review rework, refactor spinner, add tor probe active indicator
2025-03-05 10:52:25 +01:00
ThomasV
840243e029
separate fee policy from config
...
- Wallet.make_unsigned_transaction takes a FeePolicy parameter
- fee sliders act on a FeePolicy instead of config
- different fee policies may be used for different purposes
- do not detect dust outputs in lnsweep, delegate that to lnwatcher
2025-03-05 10:29:26 +01:00
Sander van Grieken
fea598cfbe
network: create ProxySettings class replacing dict and encapsulating proxy related funcs,
...
allow enable/disable proxy without nuking proxy mode, host and port (explicit enable_proxy config setting),
move tor probe from frontend to backend code, add probe buttons for Qt and QML
2025-03-04 14:23:33 +01:00
Sander van Grieken
376d881154
qml: always initialize BtcField.textAsSats
2025-02-26 11:02:12 +01:00
ThomasV
30901212d0
Merge pull request #9467 from accumulator/qml_input_output_color
...
qml: apply TxInput/TxOutput coloring for swap and billing addresses.
2025-02-24 12:54:33 +01:00
SomberNight
a3fc43cc2d
qml: remove dependency "Pillow" (and its transitive deps)
...
closes https://github.com/spesmilo/electrum/issues/9572
2025-02-20 18:53:08 +00:00
Josh Geden
6331448860
qml: add config setting for max brightness on qr display
2025-01-22 09:47:10 +01:00
Sander van Grieken
bb66b567e0
qml: apply TxInput/TxOutput coloring for swap and billing addresses.
2025-01-21 17:11:58 +01:00
Sander van Grieken
2134fcc4dc
qml: fix InfoTextArea text sometimes out of bounds
2024-11-01 17:35:37 +01:00
Sander van Grieken
3aa12cd97f
qml: allow direct seed edit when platform is not android
...
useful for debugging
2024-10-24 16:19:07 +02:00
Sander van Grieken
eaebcaf383
qml: styling HelpDialog
2024-09-17 13:22:37 +02:00
SomberNight
7a7b43c0a8
qml/android: set max screen brightness when displaying QR codes
...
In some cases this makes it much easier to successfully scan a QR code.
I was trying to scan a PSBT using a laptop camera from my phone screen for 2 minutes, until I realised the screen brightness was the issue. o.O
2024-08-21 23:37:36 +00:00
Sander van Grieken
b0227c7e03
qml: add HelpDialog and HelpButton for showing additional info
2024-02-23 10:28:11 +01:00
Sander van Grieken
016e500993
qml: FeePicker parameterize enable display of tx info and picker, use this for CPFP
...
to put picker in Total section
2024-02-16 12:56:18 +01:00
Sander van Grieken
c0b892720e
qml: consolidate fee slider ui in various places to a single FeePicker control
2024-02-16 10:09:56 +01:00
SomberNight
67b57da402
qml: WCHaveMasterKey: (fix) re-verify text in onTextChanged
...
fixes https://github.com/spesmilo/electrum/issues/8853
This is a bit ugly, but activeFocus is declared as final and cannot be overridden directly...
```
1.42 | W | gui.qml.qeapp | file:///home/user/wspace/electrum/electrum/gui/qml/components/controls/ElTextArea.qml:23:5: Cannot override FINAL property
```
2024-01-30 02:11:01 +00:00
accumulator
a51b3bdbfb
qml: show fiat price when historic rates are enabled and no timestamp available
...
Co-authored-by: ghost43 <somber.night@protonmail.com >
2024-01-04 17:31:00 +01:00
Sander van Grieken
5077e013f3
qml: don't show fiat amount when timestamp more than a day old and historic rates are disabled
2024-01-04 12:25:40 +01:00
accumulator
88058df409
Merge pull request #8772 from accumulator/qml_tx_inputs
...
qml: add transaction inputs in TxDetails and …
2023-12-29 16:21:22 +01:00
Sander van Grieken
92bff08ba5
qml: don't use predictive text for fields where it makes no sense
2023-12-29 16:18:03 +01:00
Sander van Grieken
7164392b1c
qml: add transaction inputs in TxDetails and ConfirmTxDialog, RbfBumpFeeDialog, RbfCancelDialog, CpfpBumpFeeDialog
...
and allow collapse/expand of input/output lists by clicking on label.
2023-12-29 11:55:36 +01:00
Sander van Grieken
a57a0d001b
qml: make TextAreas more visible
2023-11-15 18:42:11 +01:00
Sander van Grieken
3793a6b6b6
qml: use highlight pane for QR codes, refactor ReceiveDialog invoice select UI.
2023-11-14 17:19:27 +01:00
Sander van Grieken
86a45c668c
few small fixes
2023-11-14 14:36:54 +01:00
ThomasV
4a3a61c6b0
Merge pull request #8678 from accumulator/qml_password_strength
...
qml: introduce PasswordStrengthIndicator control, and add to Password…
2023-11-11 09:52:52 +01:00
Sander van Grieken
2995bc8b37
qml: fix dialog not closing if dialog is shown/hidden more than once
...
most dialogs are destroyed when closed, therefore not hitting this bug,
but e.g. ChannelOpenProgressDialog is reused.
2023-11-10 11:59:22 +01:00
Sander van Grieken
98264f64ad
qml: introduce PasswordStrengthIndicator control, and add to PasswordDialog and WCWalletPassword
2023-11-10 09:30:31 +01:00
Sander van Grieken
047cc6f957
qml: remove attempt to unfocus by clicking dialog background
...
Doesn't really work as it triggers on events above the background it is defined on :(
2023-11-08 15:38:26 +01:00
Sander van Grieken
11d39cd942
qml: fix keyboard exclusion zone
...
turns out that Qt.inputMethod.keyboardRectangle.height is not suitable for calculating the exact keyboard
dimensions in Qt coordinates. Instead, use Qt.inputMethod.keyboardRectangle.y transformed to Qt coordinates
using Screen.devicePixelRatio
Note: Qt.inputMethod.keyboardRectangle stop being updated after exiting FLAG_SECURE state
(e.g. in seed or master key entry pages)
2023-11-07 10:32:00 +01:00
Sander van Grieken
db532dbd19
qml: android back-gesture conflict hack not working on qt6, replace with simple properties
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
8b567ae447
qml: remove all QML imports version numbers
2023-11-07 10:17:08 +01:00
Sander van Grieken
6270eae5c9
qml: port PyQt5 to PyQt6
2023-11-07 10:16:18 +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
cf91d2e5cc
qml: also show coins in Addresses page, and add a few filter options. Additionally, long press
...
now activates multi-select mode, and add action to (un)freeze selection.
2023-11-01 14:32:38 +01:00