Commit Graph

83 Commits

Author SHA1 Message Date
Sander van Grieken 27cd7fe8a8 qml: deduplicate swap initiation, move to main.qml 2023-04-12 12:32:25 +02:00
Sander van Grieken 75f63a4666 qml: remove yesClicked signal, use accept()/accepted signal in MessageDialog. 2023-04-11 10:22:48 +02:00
SomberNight 1530668960 qt/qml: delay starting network until after first-start-network-setup
The qt, qml, and kivy GUIs have a first-start network-setup screen
that allows the user customising the network settings before creating a wallet.
Previously the daemon used to create the network and start it, before this screen,
before the GUI even starts. If the user changed network settings, those would
be set on the already running network, potentially including restarting the network.

Now it becomes the responsibility of the GUI to start the network, allowing this
first-start customisation to take place before starting the network at all.
The qt and the qml GUIs are adapted to make use of this. Kivy, and the other
prototype GUIs are not adapted and just start the network right away, as before.
2023-03-30 00:59:02 +00:00
Sander van Grieken 4bdd521a4b qml: abstract ElDialog resize behavior to property 2023-03-23 10:30:40 +01:00
Sander van Grieken 17bb1ad5c5 qml: enable Qt virtual keyboard and add Electrum keyboard style, modified from Qt 'default' style 2023-03-23 10:30:40 +01:00
Sander van Grieken e7cc2c5a63 Revert "qml: pressing "Esc" on desktop to ~simulate "back" button"
This reverts commit 7f7ee8d82f.

This commit caused a regression with the android back button not closing a dialog.

reproduce:
1. from the main window, press receive.
2. in the request details window, press Create request.
3. in the receive payment dialog, press Copy
4. observe dialog cannot be closed by back button
2023-03-23 10:12:10 +01:00
ThomasV 36687e436d Merge pull request #8273 from SomberNight/202303_qml_esc_shortcut
qml: pressing "Esc" on desktop to ~simulate "back" button
2023-03-22 08:15:01 +01:00
SomberNight 558eb1a372 qml: reorganise toolbarTopLayout, so that top-left click opens menu
previously clicking too far left would not open the wallet-menu:
- click on label would open it, but
- click on wallet-icon or padding to its left would not
2023-03-21 17:51:29 +00:00
SomberNight 7f7ee8d82f qml: pressing "Esc" on desktop to ~simulate "back" button 2023-03-21 16:51:50 +00:00
Sander van Grieken f0d44d0681 qml: expand clickable area to full toolbar height and a bit more padding for right-side menu 2023-03-16 12:09:57 +01:00
ThomasV 337d2a32d8 qml PIN: do not lock inactive app, and remove timeout
- the activity callback does not work properly on android
  (does not work on my phone). Also, it duplicates the lock
  screen function of most phones.

- if we do not lock inactive app, then the PIN feature does
  not need a timeout, and is easier to understand without it.

- in Preferences, explain what it does
2023-03-16 09:37:43 +01:00
ThomasV 09afacd51c qml: fix logical error with PIN code timeout. 2023-03-16 08:29:36 +01:00
Sander van Grieken f7a300b89b qml: successful PIN entry stays valid for 5 mins 2023-03-09 10:19:17 +01:00
Sander van Grieken 0da1be33b7 qml: topbar label show wallet icon only when wallet name is displayed 2023-03-02 15:44:30 +01:00
Sander van Grieken 6383f83933 qml: separate app menu and wallet menu 2023-03-02 12:54:59 +01:00
Sander van Grieken f65158a23f qml: move menu back to topbar, move addresses and channels to walletdetails and
add walletdetails to topbar menu
2023-03-02 10:49:01 +01:00
Sander van Grieken 32d00b2982 qml: wallet loading indicator as modal dialog, unclosable 2023-02-23 20:46:56 +01:00
Sander van Grieken 278486602b qml: add loader overlay, avoid interacting with the to-be-unloaded wallet 2023-02-23 18:20:29 +01:00
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