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
22205dccb1
qt ChannelsList: disable toolbar menu if not wallet.has_lightning()
...
closes https://github.com/spesmilo/electrum/issues/8321
2023-04-20 15:06:37 +00: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
SomberNight
a2063f8f48
qt tx dialog: rm dead code
2023-04-20 00:15:27 +00: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
SomberNight
e24f837fbf
qt send tab: rm incorrect bare raise
...
follow-up bc3946d2f4
not sure what the raise was trying to do;
note that relevant exception handling is done at:
bba8a272e7/electrum/gui/qt/main_window.py (L1213-L1217)
although note the TODO in main_window.on_error: would be nice to propagate some of the exceptions to the crash reporter
closes https://github.com/spesmilo/electrum/issues/8312
2023-04-19 16:25:39 +00:00
SomberNight
bba8a272e7
qt send tab: rm unused variable and add explanation
2023-04-19 16:18:57 +00:00
SomberNight
e617dd07a0
qt send tab: fix payto_contacts
...
closes https://github.com/spesmilo/electrum/issues/8313
2023-04-19 16:08:24 +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
03d64aa665
qt: use same icon as qml for swap dialog
2023-04-18 12:56:45 +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
ThomasV
b42bb84b5c
fix typo
2023-04-17 19:04:09 +02:00
ThomasV
a03f4769ca
auth_protect: pass authMessage in the auth_protect decorator,
...
instead of relying on side-effects
This is probably safer, and also more self-contained.
2023-04-17 18:17:29 +02:00
ThomasV
73dd6827e0
add auth_message to delete_wallet
...
This changes the flow slightly: pin confirmation is asked after
we have checked that the wallet does not have open channels,
which is better
2023-04-17 17:58:19 +02:00
ThomasV
1421df57ad
add auth message for open_channel
2023-04-17 17:14:23 +02:00
ThomasV
e430063351
PIN dialog: display auth message as title, if available
2023-04-17 17:08:11 +02:00
ThomasV
85291b2de3
follow-up 5b6a16e097
2023-04-17 16:54:26 +02:00
Sander van Grieken
5b6a16e097
qml: add auth_message to AuthMixin, which is displayed above the Pin entry textfield, or
...
shown in a messageDialog for confirmation.
2023-04-17 16:32:20 +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
76786ab670
qml: qechanneldetails fix remaining assignment
2023-04-17 13:56:40 +02:00
Sander van Grieken
73f89d516a
qml: don't determine channel state on gui string, use state enum instead
2023-04-17 13:52:16 +02:00
Sander van Grieken
a1314f5992
qml: only show channel ratio bar when appropriate
2023-04-17 12:48:51 +02:00
Sander van Grieken
3be5db15d2
qml: don't show channel backup data in share screen
2023-04-17 12:19:59 +02:00
Sander van Grieken
d80de3424b
qml: piechart improve font rendering, use app font
2023-04-17 12:19:05 +02:00
Sander van Grieken
01b9cee643
qml: add recoverable channels warning to OpenChannelDialog
2023-04-17 11:41:02 +02:00
Sander van Grieken
93ef013111
qml: fix recoverable channels setting
2023-04-17 11:40:09 +02:00
Sander van Grieken
25c59f700c
qml: ConfirmTxDialog amount fixed font
2023-04-17 10:42:55 +02:00
Sander van Grieken
1bca301661
qml: piechart visible also when only unconfirmed, add unconfirmed to legend
2023-04-17 10:35:31 +02:00
Sander van Grieken
47033369bd
qml: auth.py use f'' string format notation
2023-04-17 09:43:31 +02:00
SomberNight
f528758c29
util: merge time_difference() into age(), make age() localisable
...
fixes https://github.com/spesmilo/electrum/issues/8304
follow-up 4d4d2e2206
2023-04-16 23:05:22 +00:00
ThomasV
460c198b02
qml: remove send_onchain (dead code)
2023-04-15 11:31:44 +02:00
Sander van Grieken
89003bba4a
qml: remove swapStarted, swapSuccess and swapFailed signals
...
the state property and associated stateChanged signal can be used instead
2023-04-14 20:34:46 +02:00