Sander van Grieken
f0bbbe9955
qml: consistency camelcase public slots listmodels
2023-04-25 13:22:34 +02:00
Sander van Grieken
2b091b283a
qml: qebitcoin remove unused code, fix scoping, camelcase
2023-04-25 13:04:09 +02:00
Sander van Grieken
96fd339a52
qml: followup 22fa84a0, use fixed font, use camelcase for QML properties
2023-04-25 12:46:30 +02:00
SomberNight
22fa84a0d5
qml: ReceiveDialog: clicking QR code to show encoded text
...
closes https://github.com/spesmilo/electrum/issues/8331
2023-04-24 16:53:20 +00:00
SomberNight
adf976fef4
qml: QERequestDetails: use uppercase in bolt11 QR code
...
same trick as in other GUIs
2023-04-24 16:21:26 +00:00
SomberNight
bf41675d4c
qml: invoice/request list: flip sort order: newest on top
...
to be consistent with the History, and with other GUIs
(the model is the easiest place to do it. QSortFilterProxyModel/etc looks overkill)
2023-04-24 15:33:10 +00:00
Sander van Grieken
407769cb5f
qml: remove Scan.qml
2023-04-24 17:32:13 +02:00
Sander van Grieken
5ead4feabb
qml: wallet menu wider to fit wide translated texts
2023-04-24 17:24:22 +02:00
SomberNight
312f2641e7
don't use bare except
...
use "except Exception", or if really needed explicitly "except BaseException"
2023-04-24 12:58:01 +00:00
Sander van Grieken
6848b8f375
qml: refactor all custom QRScan component wrappers to ScanDialog
...
(except SendDialog, which has a Paste button and slightly different behavior)
2023-04-24 13:34:05 +02:00
Sander van Grieken
49df18c613
qml: add hint property to QRScan
2023-04-24 13:19:40 +02:00
Sander van Grieken
959d481e93
qml: create ScanDialog
2023-04-24 13:19:01 +02:00
Sander van Grieken
674c2b55e7
qml: small fixes
2023-04-24 12:38:41 +02:00
Sander van Grieken
2fc9ee5c51
p4a: fix for Qt5 accessibility bug
...
see https://github.com/accumulator/python-for-android/commit/087fc3c583d46bfb2dec54878ddea508afb27de6
2023-04-24 11:29:26 +02:00
SomberNight
a8623f63bb
qml: fix send "flow with LN but not LN enabled AND having bip21 uri"
...
closes https://github.com/spesmilo/electrum/issues/8334
2023-04-23 16:42:08 +00:00
SomberNight
7907eb1f86
qml/qeinvoice.py: turn _bip21 field into local var
2023-04-23 16:36:32 +00:00
SomberNight
ea864cd5c9
qml: TxListModel: don't rely on wallet.db.get_transaction() finding tx
...
tx might get removed from wallet after wallet.get_full_history() but before the model is populated
closes https://github.com/spesmilo/electrum/issues/8339
2023-04-23 16:00:42 +00:00
Sander van Grieken
0d536b83ba
qml: ignore update() when wallet not set yet. closes #8330
2023-04-22 12:18:02 +02:00
Sander van Grieken
7383cdc474
qml: don't crash when tx not found on histogram event. closes #8332
2023-04-22 11:40:36 +02:00
SomberNight
75a9a4fce9
qml TxDetails: txid must be updated after rawtx is changed
...
refresh bug when using bump_fee/dscancel/etc
2023-04-21 17:39:11 +00:00
SomberNight
2ec4758a12
qml: follow-up fix for offline-signing pre-segwit tx
...
follow-up 3cec6cdcfb
2023-04-21 17:14:49 +00:00
SomberNight
ca3f48d22e
qml: remove buggy "Replace-by-Fee" checkbox from RbfCancelDialog
...
follow-up 02dce339cc
2023-04-21 15:44:24 +00:00
Sander van Grieken
e9d5e5737e
qml: update UI after import key/address, add icon to address/key import dialog
2023-04-21 17:05:44 +02:00
Sander van Grieken
c3a418d4da
qml: address list heading translatable
2023-04-21 17:05:44 +02:00
Sander van Grieken
2f8ab8027b
qml: split off AddressDelegate and handle imported addresses more gracefully
2023-04-21 16:37:39 +02:00
SomberNight
ae8501e5be
qml: small fix in qetxfinalizer.py
...
follow-up 3cec6cdcfb
2023-04-21 14:35:37 +00:00
Sander van Grieken
bd897b0955
qml: translate <no label>
2023-04-21 16:18:12 +02: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
Sander van Grieken
03d9000e79
qml: fix a few texts that should wrap
2023-04-21 14:50:08 +02:00
Sander van Grieken
b9ec04f13a
qml: make txdetails less reliant on txid
2023-04-21 13:20:19 +02:00
SomberNight
75e65c5cc7
qml: virtual keyboard: make margins smaller, for larger buttons
...
Looking at different system-wide keyboards on different phones, these
new smaller margin sizes should still be sufficient; and this lets
the buttons be larger.
2023-04-20 22:26:45 +00:00
Sander van Grieken
1aa14e749a
qml: first part of partially signing tx while not having txid yet
2023-04-21 00:10:15 +02:00
SomberNight
b0b4f39b40
i18n: add "context" param to _(), and use it from qml
...
fixes https://github.com/spesmilo/electrum/issues/8323
from issue:
> Currently, translatable strings from QML are assigned a `context`
> by `lupdate`, which is then also used by the conversion to `gettext`.
> This `context` must be used when translating such a string. This results in
> strings that are unique to QML to not be translated, due to a missing
> `context` parameter which we do not take into account in electrum.
2023-04-20 14:31:44 +00:00
Sander van Grieken
1a4e48e2d4
qml: fix MessageDialog layout
2023-04-20 12:07:05 +02:00
Sander van Grieken
54ab3673ba
qml: TxDetails don't show or allow edit of label for unrelated tx
2023-04-20 11:02:46 +02:00
Sander van Grieken
323aa84279
qml: only allow wallet menu if on wallet specific page
2023-04-20 10:37:49 +02:00
Sander van Grieken
1649f9993e
qml: limit wallet name label widths so they get wrapped/elided. fixes #8317
2023-04-20 10:27:30 +02:00
Sander van Grieken
7b475f58db
qml: show unrelated tx also in top InfoTextArea
2023-04-19 21:12:31 +02:00
SomberNight
89b75f95d0
wallet.set_broadcasting: fix incorrect type-hint and rename arg
2023-04-19 16:29:54 +00:00
ThomasV
be2f156a4b
qml swaphelper: show errors in userinfo
2023-04-18 15:09:57 +02:00
SomberNight
ca40b37ec5
qml: show "tx fee rate" in TxDetails, like in other guis
2023-04-18 12:59:09 +00:00
Sander van Grieken
43b3e07479
Revert "qml: don't determine channel state on gui string, use state enum instead"
...
This reverts commit 73f89d516a .
2023-04-18 14:51:19 +02:00
Sander van Grieken
6733665dac
qml: simplify path_protect decorator
2023-04-18 14:47:01 +02:00
ThomasV
9dbf354bf2
follow-up a03f4769ca
...
fixes TypeError: auth_protect.<locals>.decorator() got an unexpected keyword argument 'broadcast'
2023-04-18 14:30:24 +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
ThomasV
6bdda957c0
qml: reformulate swap success message
2023-04-18 12:00:14 +02:00
ThomasV
f513ba4654
messageDialog: change title to Question for yesno dialogs
2023-04-18 10:32:07 +02:00
ThomasV
86aca1e24e
qml: change title of ConfirmTxDialog
...
From a user perspectuve, what they are asked to do is select the mining fee.
2023-04-18 10:20:54 +02:00
ThomasV
dde609872d
follow-up a03f4769ca
...
It is annoying that this kind of bug (missing parameter) is silent.
2023-04-18 10:16:58 +02:00
SomberNight
5c83327eb0
qml: small change to some qsTr() strings to reuse existing translations
...
not all ":" suffixes are removed, only the ones where this allows reusing translations
2023-04-17 19:56:09 +00:00