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.
3 years ago
Sander van Grieken
58d25d4a5d
qml: flake8 happifier
3 years ago
Sander van Grieken
78020e5cc9
qml: Only enable Invoices menu option when there is a wallet opened
3 years ago
Sander van Grieken
bc91732f22
qml: crash handler, move Exception_Hook to qeapp.py
3 years ago
Sander van Grieken
fa030b3fa5
qml: initial crash handler impl
3 years ago
Sander van Grieken
85718bda89
qml add richText property to MessageDialog.
...
TODO: now we need to handle clicks on link too
3 years ago
myxmaster
e6cdcf7413
update status bar when setting "zeros after decimal point" is changed
3 years ago
myxmaster
7dbf046b03
Space between pie chart and balance fix
3 years ago
Sander van Grieken
10e7d8d926
qml: styling main view
3 years ago
Sander van Grieken
32d60be90a
qml: styling OpenWalletDialog
3 years ago
Sander van Grieken
34d483b365
qml: fix invoice amount editable when expired
3 years ago
Sander van Grieken
be371c8d88
qml: styling TxDetails
3 years ago
Sander van Grieken
f7ac768744
qml: messagedialog No now maps to rejected signal
3 years ago
Sander van Grieken
82458e7cf0
qml: use FormattedAmount in LightningPaymentDetails, formatter and fx now use millisats if available, else sats
3 years ago
myxmaster
4a0e337c6d
use placeholder for better translation
3 years ago
Sander van Grieken
4071fe9726
qml: fix prev
3 years ago
Sander van Grieken
3e717f9da4
qml: show piechart legend and amounts
3 years ago
Sander van Grieken
281b9ddafb
qml: don't create new QEAmount instances on query, re-use same instance
3 years ago
Sander van Grieken
becd46fbf6
qml: add show seed on WalletDetails.qml
3 years ago
Sander van Grieken
3271eadbd2
qml: remove electrum logo from top bar
3 years ago
Sander van Grieken
495f51e6ad
don't log sensitive wizard values
3 years ago
Sander van Grieken
7f0f09a90b
qml: cleanup prev commit, add default icons to MessageDialog, add question icon
3 years ago
Sander van Grieken
99951a437c
qml: make trampoline vs gossip routing a switch, and ask confirmation for selecting gossip mode
3 years ago
Sander van Grieken
881afa3b29
qml: underline selected qr type indicator
3 years ago
Sander van Grieken
8795bd6d85
qml: define address colors in Constants, change frozen address to blue
3 years ago
Sander van Grieken
971d7d4da6
qml: make app menu modal
3 years ago
Sander van Grieken
d32c907d3d
qml: rename NetworkStatusIndicator to OnchainNetworkStatusIndicator
3 years ago
Sander van Grieken
0cfbbe3b1d
qml: remove Wallets menu option, wallet selection is now shown when pressing topbar wallet name
3 years ago
Sander van Grieken
1887502151
qml: remove back button in top bar, move menu button to left
...
add AppController.isAndroid function to test for android platform. Disable fade in if not on android
3 years ago
Sander van Grieken
20eacc37e1
qml: allow delete wallet if has channels not in REDEEMED state but is channelbackup
3 years ago
ThomasV
a1716df115
follow-up 975cdca474
3 years ago
ThomasV
975cdca474
Qt coin control: allow to add/remove coins one by one.
...
Not many users know how to select multiple coins at once.
3 years ago
Sander van Grieken
6c410c0548
qml: make listmodel item count a property for channels and transactions
3 years ago
Sander van Grieken
1e658b9b7f
center electrum_presplash.png, reduce canvas to 512x512
3 years ago
Sander van Grieken
9704dab68b
qml: remove qml splash, update python-for-android with splash support.
...
main.qml now shows black cover that fades out when app is ready.
3 years ago
Sander van Grieken
d52afee635
qml: fix autoconnect/single server selection, tapping server selects.
3 years ago
Sander van Grieken
e59e1ec959
qml: change piechart item order, less chance of overlap
3 years ago
Sander van Grieken
02dce339cc
qml: fix regressions after can_rbf removal, remove RbF checkboxes
3 years ago
Sander van Grieken
3a31c0df1b
qml: fix Switch layout issues and add section headings to preferences
3 years ago
Sander van Grieken
89aea77213
qml: add placeholder text for transaction history and channel list
3 years ago
Sander van Grieken
e31bd958d3
qml: styling fixes
3 years ago
Sander van Grieken
30079c06a8
qml: handle android back button in wizard, map to prev page action instead of closing wizard.
...
Also add initial focus to WCHaveSeed and WCHaveMasterKey wizard components.
3 years ago
Sander van Grieken
562b4c50df
qml: add a few more dialog icons
3 years ago
SomberNight
824ce64e66
qt gui: display nice error if QR code data overflows
...
there is existing handler-code at e.g.
1a7634e615/electrum/gui/qt/transaction_dialog.py (L309)
but we should make sure setData() always raises the exc when needed,
as paintEvent() is too late for nice handling.
closes https://github.com/spesmilo/electrum/issues/4288
closes https://github.com/spesmilo/electrum/issues/4280
3 years ago
SomberNight
253150cb36
qt network dialog: don't poll Tor socks proxy, but scan on interaction
...
Polling is introduces spam in Tor logs.
Also, Tor Browser 12.0 apparently has a bug where our polling renders
the socks proxy unusuable after some time.
see https://gitlab.torproject.org/tpo/applications/tor-browser/-/issues/41549
Instead of trying to detect a Tor socks proxy every 10 seconds, we now
run detection when the Qt network dialog gets opened, and also when
the user switches to the "Proxy" tab in the dialog.
fixes https://github.com/spesmilo/electrum/issues/7317
3 years ago
SomberNight
e3485de496
qt gui: handle swap server unreachable
...
note: testnet swap server is offline atm
closes https://github.com/spesmilo/electrum/issues/8107
3 years ago
Sander van Grieken
c51b6dd75a
qml: server list styling, group indicator per chain
3 years ago
Sander van Grieken
f774174c85
qml: add serverlistmodel.py, add server list to ServerConfigDialog.qml
3 years ago
Sander van Grieken
f13b43d546
qml: styling server/proxy config
3 years ago
Sander van Grieken
e6e3fd7083
qml: move label outside of server/proxy config component
3 years ago