Sander van Grieken
b098be988e
qml: show channel close tx(id) in ChannelDetails
2023-11-20 12:58:48 +01:00
Sander van Grieken
3967323842
qml: refactor ChannelDetails. Add funding outpoint
2023-11-10 13:02:55 +01:00
Sander van Grieken
0fb47c87d2
qml: fixes for CloseChannelDialog;
...
- split RequestForceClose and LocalForceClose options, as request force close is only available if connected.
- disable no close policy on dialog, as it locks the user in the dialog if no succesful close is initiated.
what this intended to do is keep the backing object QEChannelDetails alive until a result is obtained, to avoid
exceptions when emitting the result signal. this is now handled more robustly, the user can leave the dialog
without triggering exceptions later.
2023-11-10 10:58:08 +01:00
Sander van Grieken
6270eae5c9
qml: port PyQt5 to PyQt6
2023-11-07 10:16:18 +01:00
Sander van Grieken
190c19d48c
whitespace, imports, code style
2023-09-22 16:38:37 +02:00
Sander van Grieken
0428fc7c0a
qml: add explanatory infomessage when sending capacity is significantly less than local balance.
...
Show message when attempting unfreeze of gossip channel in trampoline mode
2023-07-13 19:17:16 +02:00
Sander van Grieken
86d79f3ec9
qml: show backup type, as in qt
2023-07-10 14:45:36 +02:00
Sander van Grieken
c4e8869c1a
qml: add PIN auth to close channel operation.
2023-07-04 14:05:10 +02:00
Sander van Grieken
5f8b8ce97e
qml: show channel backup and explanatory message before local force close, and let user confirm before doing the close operation
...
also show message dialog after close succeeded instead of just closing the channel close dialog
2023-07-04 12:51:26 +02:00
SomberNight
55140a9e27
gui/messages.py: allow localization of these strings
2023-04-25 17:54:07 +00:00
Sander van Grieken
a23457f48d
qml: consistency camelcase pyqtProperties
2023-04-25 14:15:13 +02: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
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
1a263b46be
qml: keep QEAmount instances in qechanneldetails,
...
use millisat amounts for local/remote capacity and can send/receive,
refactor channel capacity graphic to ChannelBar and use that as well
in ChannelDetails
2023-04-12 14:29:32 +02:00
ThomasV
d4c386a62c
qml: use daemon threads everywhere the network is involved
...
The app hangs indefinitely if we try to quit it while one of
these threads is active, because once asyncio has shut down,
futures never return. This was already fixed for lightning
payments in c5dc133 , but there are many other cases.
2023-04-05 12:31:20 +02:00
ThomasV
13a9d1e2fb
Add info on how to scan channel backups
2023-03-16 17:24:07 +01:00
Sander van Grieken
2b0e624876
qml: styling CloseChannelDialog, InvoiceDialog
2023-02-14 12:32:33 +01:00
Sander van Grieken
7adc8b1fbb
qml: fix issues with close channel
2023-02-06 13:12:14 +01:00
Sander van Grieken
ee5dec0c59
qml: correctly update channel list after channel backup import, and correctly delete channel backup
2023-02-03 17:08:12 +01:00
Sander van Grieken
0bc8460005
qml: don't initialize instance variables on class scope for non-singletons
...
(this somehow escaped attention before, as most objects usually don't have multiple instances,
unless multiple wallets are open at the same time.)
Also, move all signal declarations, class constants and variables to the top of class definitions.
2023-01-12 13:09:21 +01:00
Sander van Grieken
bc69e4f907
qml: show channelbackups in channel list,
...
add channelbackups support in qechanneldetails.py,
only request-fclose option in CloseChannelDialog
2022-11-16 17:37:39 +01:00
Sander van Grieken
0687785994
qml: only show channel peer node name if known, add node pubkey to ChannelCloseDialog
2022-11-16 13:40:22 +01:00
Sander van Grieken
b0cfc2ab14
qml: add channel backup option to channel details page
2022-08-24 10:15:44 +02:00
Sander van Grieken
802246251f
qml: visually dim channels in CLOSED and REDEEMED states, apply simple sort on channel state
...
to put channels in closed/redeemed state at bottom of list
2022-07-20 11:08:50 +02:00
Sander van Grieken
894495aa92
qml: clean up
2022-07-12 19:07:19 +02:00
ThomasV
957174a039
all GUIs: show local and remote force-close options in a homogeneous way
2022-07-11 13:08:04 +02:00
Sander van Grieken
0228169852
refactor to new event listener framework
2022-07-08 11:09:08 +02:00
Sander van Grieken
db9e2ab311
delete channel
2022-07-07 18:29:21 +02:00
Sander van Grieken
e69fc739ca
add initial channel close dialog
2022-07-07 18:29:02 +02:00
Sander van Grieken
f0d00dca37
unregister callback when object gets destroyed.
...
turns out we need to use a lambda to have the signal processed,
registering the member function somehow never triggers the
'destroyed' signal
2022-07-07 18:29:02 +02:00
Sander van Grieken
04ce548e42
initial lightning channel details, action menu
2022-07-07 18:29:01 +02:00