Commit Graph

2559 Commits

Author SHA1 Message Date
Sander van Grieken ea7dbb19ce qml: remove network status indicator icon from server line 2023-03-29 11:02:15 +02:00
SomberNight 5fd6d2af4b qml: flip and fix auto_connect in ServerConnectWizard 2023-03-28 14:44:21 +00:00
Sander van Grieken edffbee92d qml: same for last 2023-03-27 12:03:46 +02:00
Sander van Grieken cc9b022089 qml: don't update wizard valid state from wizard pages that are not the current page 2023-03-27 12:01:55 +02:00
Sander van Grieken 229047de19 qml: followup 1e6b692516 2023-03-27 11:54:28 +02:00
Sander van Grieken 1e6b692516 qml: bind invoice.amount to internal property. fixes #8262 2023-03-27 11:46:00 +02:00
Sander van Grieken d0f3e048b9 qml: followup 78d79290ad 2023-03-25 13:14:50 +01:00
Sander van Grieken 78d79290ad qml: create workaround for spurious textChanged events coming from TextArea. fixes #8280
This commit also fixes a gap, where a seed text change could leave the page valid for the
duration of the valid check delay timer, while the seed is actually invalid.
2023-03-25 12:58:22 +01:00
SomberNight 8c1fe10f54 qml TxDetails: show short_id instead of block height and txpos
The "TX index" (txpos) item I think was confusing.
2023-03-23 16:57:16 +00:00
Sander van Grieken 743ea80a4c qml: move potentially slow tx generation in qeswaphelper to a short delay timer 2023-03-23 17:00:08 +01:00
ThomasV fe968cfb4b qml: (minor) change name of Amount field 2023-03-23 15:55:25 +01:00
SomberNight 0ebcc7df63 qml: only do android-specific stuff when on android
don't log an error when running on desktop
2023-03-23 14:34:47 +00:00
Sander van Grieken f9a5c22633 qml: lnurl override disabled amount edit color, show lnurlError to user 2023-03-23 14:03:00 +01:00
ThomasV f0a49de85b Merge pull request #8275 from spesmilo/qt_vkbd
use Qt virtual keyboard for Android QML
2023-03-23 13:33:36 +01:00
ThomasV 8e7cbd6ca2 qml: let user enter lnurl6 amount 2023-03-23 13:29:31 +01:00
ThomasV 39097783c3 qml: ask password to show seed 2023-03-23 11:04:58 +01:00
Sander van Grieken abae815777 qml: TxDetails small form-factor fix, wrap buttons to below fee-bump text if width is constrained 2023-03-23 10:56:42 +01:00
Sander van Grieken f89e0b80e6 qml: wizard add label for second password entry 2023-03-23 10:46:28 +01:00
Sander van Grieken 75e5e4afd8 android: set default localization to en_GB to force number formatting and parsing to en_GB 2023-03-23 10:30:40 +01: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 9eb25cd442 follow-up a080e5130f 2023-03-23 08:22:36 +01:00
ThomasV 0d007b5739 follow-up aa3697d 2023-03-22 10:21:09 +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
ThomasV 3fb3e3b809 lnurl6: pay invoice directly 2023-03-21 17:08:36 +01:00
SomberNight ed0f1ea27f qt receive_tab: use correct qrcode icon (based on dark/light theme) 2023-03-21 15:31:07 +00:00
ThomasV 1503ef1e2a follow-up previous commit 2023-03-21 10:42:21 +01:00
ThomasV a080e5130f Qt receive_tab: toggle_view_button instead of tabs 2023-03-21 10:34:26 +01:00
Sander van Grieken 3cf732cb51 qml: introduction text bottom margins in RbF bump fee and cancel dialogs 2023-03-21 09:44:53 +01:00
Sander van Grieken 077ea9a4a5 qml: AddressDetails heading 2023-03-21 09:44:40 +01:00
ThomasV ce6e4d99e7 Qt history_list: disable summary if fx history is not available 2023-03-21 08:04:03 +01:00
Sander van Grieken a5c58f8aae qml: layout fixes for small form-factor devices 2023-03-20 19:52:57 +01:00
Sander van Grieken 677e1259df qml: ElDialog now defaults to parent on Overlay.overlay
This was replicated in basically all ElDialog derived dialogs
2023-03-20 16:53:40 +01:00
Sander van Grieken 4ed69cc54f qml: BtcField/FiatField ImhDigitsOnly input method hint 2023-03-20 14:10:13 +01:00
ThomasV 4fa192d9e7 follow-up c3e52bfafc 2023-03-20 11:09:18 +01:00
ThomasV 5cf4b346a9 change message: detached QR code window 2023-03-19 11:40:52 +01:00
ThomasV 8b0a6940bc receive tab: disable widgets if request has expired, instead of applying red stylesheet 2023-03-19 11:13:45 +01:00
ThomasV 4243b250b1 qt send_tab: simplify method names.
when a method belongs to a class, there is no need to repeat the
class name in the method name.
2023-03-19 10:44:33 +01:00
ThomasV b07fe970bf receive tab: do not use ButtonsTextEdit, add toggle to toolbar. 2023-03-19 10:15:19 +01:00
ThomasV c3e52bfafc Qt: allow to save invoices that have no amount
(such invoices are already saved by the QML GUI.)
2023-03-19 09:52:47 +01:00
ThomasV 5ab3a250c5 qml: remove '1 month' expiry option.
The list of supported values is in electrum/invoices.py
If the config is set to an unsuported value, the qt app will crash.
2023-03-19 09:02:35 +01:00
ThomasV aa3697de74 Qr request_list: maybe fix elusive segfault 2023-03-19 06:36:36 +01:00
ThomasV 5c60b9ad29 ln invoice dialog: show fallback address 2023-03-19 05:16:15 +01:00
ThomasV 3b78466123 simplify code (follow-up 2836dccfbb) 2023-03-18 17:45:42 +01:00
ThomasV d7c5c40c1d Save user-entered amount in invoice. fixes #8252.
Note that this allows users to save invoices that have an empty
amount, which is not allowed by the Qt GUI. Qt will complain at
pay time about empty amount if a lightning invoice without amount
is saved. With onchain invoices, Qt will create an onchain tx with
a zero output.
2023-03-18 17:29:56 +01:00
ThomasV dd2dced296 follow-up 2836dccfbb 2023-03-18 13:14:14 +01:00
ThomasV 2836dccfbb qml: Handle situation where no more addresses are available without
creating addresses beyond the gap limit.

- if lightning is enabled, propose to create a lightning-only invoice
- otherwise, propose to reuse an address
- never generate addresses beyond the gap limit

Implementation:
 - createDefaultRequest is removed
 - create_bitcoin_address is called whether the wallet has lightning
   or not
2023-03-18 12:58:42 +01:00