Commit Graph

65 Commits

Author SHA1 Message Date
Sander van Grieken
15d73daf8d qml: fix lifecycle issues with swap helper.
previously tied to Channels view, now dynamically created and parented to app
2023-02-16 13:24:23 +01:00
Sander van Grieken
421bd93047 qml: fix a few leftovers 2023-02-14 15:37:17 +01:00
Sander van Grieken
e9ad9986d7 qml: qedaemon doesn't need wallet path and name properties, pass them via the signal 2023-02-10 14:27:39 +01:00
Sander van Grieken
11439fb3fd qml: don't stack exception dialogs when multiple exceptions happen 2023-02-09 01:34:54 +01:00
Sander van Grieken
5eb7bcebef qml: remove ugly notification popup, add wallet name to notifications 2023-02-07 13:55:22 +01:00
Sander van Grieken
78d68d00e0 qml: override default Material styling for toolbar, use grays 2023-02-07 12:23:14 +01:00
Sander van Grieken
d2bab4d51a qml: confirm close electrum dialog instead of double-tap back button 2023-01-31 13:15:19 +01:00
Sander van Grieken
54ced26885 qml: remove leftover 2023-01-30 14:10:25 +01:00
Sander van Grieken
c747182122 qml: make sure ExceptionDialog is always on top 2023-01-27 13:30:53 +01:00
Sander van Grieken
9afea4768d qml: make bolt icon a gossip progress indicator 2023-01-17 17:23:50 +01:00
Sander van Grieken
38472c895c qml: NetworkOverview removed from menu, now triggered by onchain and lightning status icon 2023-01-17 16:52:50 +01:00
Sander van Grieken
ff8a049525 qml swap send and receive buttons, move menu button to bottom button group 2023-01-17 16:33:21 +01:00
Sander van Grieken
ddfe1a6d70 qml: add lightning network status indicator in top bar, add channel peers to NetworkOverview 2023-01-13 12:36:33 +01:00
Sander van Grieken
fa030b3fa5 qml: initial crash handler impl 2023-01-10 17:02:38 +01:00
Sander van Grieken
3271eadbd2 qml: remove electrum logo from top bar 2023-01-09 10:54:54 +01:00
Sander van Grieken
d32c907d3d qml: rename NetworkStatusIndicator to OnchainNetworkStatusIndicator 2023-01-06 14:05:26 +01:00
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
2023-01-06 13:42:59 +01:00
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.
2023-01-05 20:09:14 +01:00
Sander van Grieken
31f30a9247 qml: disable drawer for now 2022-11-28 14:19:23 +01:00
Sander van Grieken
5380b21568 qml: wizard support for back button 2022-11-16 12:12:43 +01:00
Sander van Grieken
0649f13ee8 qml: rework drawer, split wallet details from wallet list/picker 2022-11-02 16:43:10 +01:00
Sander van Grieken
3eaebe7b47 qml: flow tags to next line if exceeding most of screen width
properly update balance amount strings
2022-11-01 09:42:44 +01:00
Sander van Grieken
3f9df0517a qml: rename walletdetails to walletsummary 2022-11-01 09:40:57 +01:00
Sander van Grieken
00e1d1786c qml: balance piechart in walletdetails, fix menus to top header height 2022-11-01 09:39:20 +01:00
Sander van Grieken
7028435daa qml: create wallet details drawer 2022-11-01 09:37:57 +01:00
Sander van Grieken
de83a10c20 qml: restore Save button in InvoiceDialog, restore invoice list view, now from menu 2022-10-04 16:33:22 +02:00
Sander van Grieken
6dab3de1f2 qml: start new wallet wizard if no wallets exist, create/open button opens wizard if no wallets exist 2022-10-04 15:09:37 +02:00
Sander van Grieken
8184093a34 qml: start new wallet wizard immediately after network wizard on initial start 2022-10-04 14:34:48 +02:00
Sander van Grieken
2778a1bc20 fix dialog stack handling when closing from outside 2022-09-28 18:21:07 +02:00
Sander van Grieken
cabf8e0644 support stacking dialogs 2022-09-28 18:21:07 +02:00
Sander van Grieken
27999a9583 qml: clean up, generalize plugin gui base, enumerate plugins in gui
(still quite crude impl, dynamic enable/disable plugin gui is misaligned
with backend)
2022-09-08 15:15:46 +02:00
Sander van Grieken
c278d5befc qml: OpenWalletDialog rework 2022-08-17 11:49:57 +02:00
Sander van Grieken
46d3aa4515 qml: enable send for watch-only wallets, show raw tx dialog after finalizing
also use QEAMount setters in qetxfinalizer instead of re-instantiating
2022-08-16 10:04:28 +02:00
Sander van Grieken
e9a1824a77 qml: parent channel open progress dialog to main.qml as it might live longer than OpenChannel 2022-07-26 20:40:13 +02:00
Sander van Grieken
3b9c009e43 qml: include dialogs in back button navigation 2022-07-26 18:01:25 +02:00
Sander van Grieken
623de58b7b qml: network status improvements
create NetworkStatusIndicator component
add forks/chaintips and lagging property to qenetwork
add synchronizing and synchronizing progress properties to qewallet
Note: new wallet synchronizing is not picked up in UI yet, missing
an is_up_to_date event at the start still..
2022-07-21 19:46:12 +02:00
Sander van Grieken
9147e84010 qml: finally! 2022-07-20 11:08:59 +02:00
Sander van Grieken
6aded403b8 qml: pin lock after inactivity 2022-07-20 11:08:31 +02:00
Sander van Grieken
2a13212ded implement auth by PIN and allow auth override to wallet password
by passing method='wallet' to auth_protect
2022-07-07 18:30:20 +02:00
Sander van Grieken
f2857243cb show 'press again to quit' message when pressing back on last page in the stack 2022-07-07 18:30:20 +02:00
Sander van Grieken
b2fafcb428 add initial submarine swap functionality 2022-07-07 18:29:02 +02:00
Sander van Grieken
9243f3b896 implement wallet password change.
implement wallet delete (though actual wallet file delete is left out still)
2022-07-07 18:29:01 +02:00
Sander van Grieken
e9a174711b UI on Wallets screen. Add active/not active/current indicator tags.
initial wallet delete/change password boilerplate
2022-07-07 18:29:01 +02:00
Sander van Grieken
7cb8c347b5 Add @auth_protect decorator.
This guards function calls by storing the function, args and kwargs into
an added attribute '__auth_fcall' on the object using the decorator,
then emits a signal that can be handled by the UI.

The UI can signal auth-success or auth-failure back to the object by
calling either the authProceed() slot or the authCancel slot.

The object utilizing this decorator MUST inherit/mixin the AuthMixin
class, which provides the above two slots, and handling of state.

The decorator also accepts a 'reject' parameter, containing the name of
a parameterless function on the object, which is called when
authentication has failed/is cancelled.
2022-07-07 18:29:01 +02:00
Sander van Grieken
5889c92e81 improve network status display and states of items when no wallet loaded 2022-07-07 18:29:01 +02:00
Sander van Grieken
e78a239bf5 bugfixes, lifecycle improvements 2022-07-07 18:29:01 +02:00
Sander van Grieken
6a22a7698c various UI 2022-07-07 18:29:01 +02:00
Sander van Grieken
c4c35c7cde make Constants an Item and a child of main so it properly inherits material
style settings from main
2022-07-07 18:29:01 +02:00
Sander van Grieken
6cb3a07500 move reusable controls into controls/ subdir 2022-07-07 18:29:01 +02:00
Sander van Grieken
e30cb4ed5f android back button pops pages from stackview unless we reach
bottom of stack
2022-07-07 18:29:01 +02:00