Commit Graph

168 Commits

Author SHA1 Message Date
Sander van Grieken 1dd129c3e8 qml: remove logging ElCombobox 2023-05-15 16:51:49 +02:00
Sander van Grieken 229afdd887 qml: styling LnurlPayRequestDialog 2023-05-15 16:47:06 +02:00
Sander van Grieken cb13eee8a3 qml: let ElCombobox determine implicitWidth based on the dimensions of all modelitems 2023-05-15 13:43:57 +02:00
Sander van Grieken 3115ce2f53 qml: show historic fiat amounts when enabled and applicable 2023-05-15 11:38:43 +02:00
Sander van Grieken ab19ece4e0 qml: refactor TxOutput into reusable component 2023-05-09 15:50:29 +02:00
Sander van Grieken 4df6052567 qml: add validators for BtcField and FiatField controls 2023-05-09 15:43:52 +02:00
Sander van Grieken c8c76a8d6f qml: fix var ref 2023-05-02 20:16:36 +02:00
Sander van Grieken 8cd26820bf qml: styling seedtextarea 2023-05-02 13:56:55 +02:00
Sander van Grieken 95f960bb67 qml: seedtext word suggestions below text area 2023-05-02 13:04:33 +02:00
Sander van Grieken b290fbd4b5 qml: seedkeyboard padding, explicit keycode, backspace next to spacebar 2023-05-02 13:03:13 +02:00
Sander van Grieken 9ac83f6d9f qml: add SeedKeyboard for seed entry without using system virtual keyboard 2023-05-01 16:59:40 +02:00
Sander van Grieken a23457f48d qml: consistency camelcase pyqtProperties 2023-04-25 14:15:13 +02:00
Sander van Grieken f0bbbe9955 qml: consistency camelcase public slots listmodels 2023-04-25 13:22:34 +02:00
Sander van Grieken 96fd339a52 qml: followup 22fa84a0, use fixed font, use camelcase for QML properties 2023-04-25 12:46:30 +02:00
SomberNight 22fa84a0d5 qml: ReceiveDialog: clicking QR code to show encoded text
closes https://github.com/spesmilo/electrum/issues/8331
2023-04-24 16:53:20 +00:00
Sander van Grieken 49df18c613 qml: add hint property to QRScan 2023-04-24 13:19:40 +02:00
Sander van Grieken 674c2b55e7 qml: small fixes 2023-04-24 12:38:41 +02:00
Sander van Grieken 2f8ab8027b qml: split off AddressDelegate and handle imported addresses more gracefully 2023-04-21 16:37:39 +02:00
Sander van Grieken bd897b0955 qml: translate <no label> 2023-04-21 16:18:12 +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
SomberNight 5c83327eb0 qml: small change to some qsTr() strings to reuse existing translations
not all ":" suffixes are removed, only the ones where this allows reusing translations
2023-04-17 19:56:09 +00:00
ThomasV e430063351 PIN dialog: display auth message as title, if available 2023-04-17 17:08:11 +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 d80de3424b qml: piechart improve font rendering, use app font 2023-04-17 12:19:05 +02:00
ThomasV 08c478f8d2 network: use IntEnum for connection states. Export user-visible strings in get_connection_status_for_GUI 2023-04-14 15:55:03 +02:00
Sander van Grieken 79d5711003 qml: InfoTextArea add Spinner to styles 2023-04-14 14:32:56 +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
Sander van Grieken a0939aad75 qml: add doAccept and doReject functions to ElDialog.
These functions make sure no duplicate accepted/rejected signals are emitted.
2023-04-11 12:01:10 +02:00
Sander van Grieken 2dd9b0796a qml: right-align balance labels 2023-04-06 16:17:38 +02:00
Sander van Grieken 6cd1f553e4 qml: BalanceSummary remove height hint for fiat amount 2023-04-06 16:15:57 +02:00
Sander van Grieken a45d2ce831 qml: highlight selected invoice, styling Invoices buttons 2023-04-06 15:21:16 +02:00
Sander van Grieken 42cb3a1377 qml: use same main-server icon as in desktop client 2023-04-06 10:36:09 +02:00
ThomasV 157954d4ff qml: do not block access to BalanceSummary if we are not connected. Display warning instead 2023-04-03 17:10:52 +02:00
Sander van Grieken 01c31edae2 qml: force same auto-capitalizing behavior on PasswordField regardless of echoMode 2023-04-03 13:31:20 +02:00
ThomasV 847c8d4941 balance details: use onClicked event. Early return if balance is not available 2023-03-31 16:47:15 +02:00
ThomasV c98b9e8d7b qml: dashboard
Balance details are shown if the user presses and holds the
balance area; the idea is that this should be less chaotic
than if the popup is triggerred by a simple click. However,
we might as well try with a simple click, because we already
do it with transaction details; I am not sure what is the best
option, we should try both.

This also makes 'new channel' and 'swap' buttons available from
theBalance details, so that users do not need to visit the
channels list.
2023-03-31 16:47:15 +02:00
Sander van Grieken 8a2372a133 followup 4517b3c2bb 2023-03-30 16:05:10 +02:00
Sander van Grieken 4517b3c2bb qml: handle DataOverflow in qeqr.py and QRImage 2023-03-30 16:00:36 +02:00
ThomasV 5ef7fabc73 qml InvoiceDialog: merge status and userinfo 2023-03-30 11:24:50 +02:00
SomberNight 81761c2ef1 qml: BalanceSummary to treat server_status=="connecting" same as DC-ed 2023-03-30 00:59:20 +00:00
SomberNight 9ef6d6a56f qml: rm QEConfig.serverString. Network.server is sufficient
If there is no network object, it's ok not to be able to customise it.
2023-03-30 00:58:58 +00: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
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
SomberNight 7f7ee8d82f qml: pressing "Esc" on desktop to ~simulate "back" button 2023-03-21 16:51:50 +00: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 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