Sander van Grieken
a57a0d001b
qml: make TextAreas more visible
2023-11-15 18:42:11 +01:00
Sander van Grieken
3793a6b6b6
qml: use highlight pane for QR codes, refactor ReceiveDialog invoice select UI.
2023-11-14 17:19:27 +01:00
Sander van Grieken
86a45c668c
few small fixes
2023-11-14 14:36:54 +01:00
ThomasV
4a3a61c6b0
Merge pull request #8678 from accumulator/qml_password_strength
...
qml: introduce PasswordStrengthIndicator control, and add to Password…
2023-11-11 09:52:52 +01:00
Sander van Grieken
2995bc8b37
qml: fix dialog not closing if dialog is shown/hidden more than once
...
most dialogs are destroyed when closed, therefore not hitting this bug,
but e.g. ChannelOpenProgressDialog is reused.
2023-11-10 11:59:22 +01:00
Sander van Grieken
98264f64ad
qml: introduce PasswordStrengthIndicator control, and add to PasswordDialog and WCWalletPassword
2023-11-10 09:30:31 +01:00
Sander van Grieken
047cc6f957
qml: remove attempt to unfocus by clicking dialog background
...
Doesn't really work as it triggers on events above the background it is defined on :(
2023-11-08 15:38:26 +01:00
Sander van Grieken
11d39cd942
qml: fix keyboard exclusion zone
...
turns out that Qt.inputMethod.keyboardRectangle.height is not suitable for calculating the exact keyboard
dimensions in Qt coordinates. Instead, use Qt.inputMethod.keyboardRectangle.y transformed to Qt coordinates
using Screen.devicePixelRatio
Note: Qt.inputMethod.keyboardRectangle stop being updated after exiting FLAG_SECURE state
(e.g. in seed or master key entry pages)
2023-11-07 10:32:00 +01:00
Sander van Grieken
db532dbd19
qml: android back-gesture conflict hack not working on qt6, replace with simple properties
2023-11-07 10:17:10 +01:00
Sander van Grieken
a77ff9943a
qml: refactor qr scan to qt6
...
As the method of capturing frames is totally different, the animation when
a QR is found has been removed.
2023-11-07 10:17:10 +01:00
Sander van Grieken
8b567ae447
qml: remove all QML imports version numbers
2023-11-07 10:17:08 +01:00
Sander van Grieken
6270eae5c9
qml: port PyQt5 to PyQt6
2023-11-07 10:16:18 +01:00
Sander van Grieken
e88cf0a683
qml: addresses list formatting, add txid/outpoint and amount to filter
2023-11-01 17:17:16 +01:00
Sander van Grieken
cf91d2e5cc
qml: also show coins in Addresses page, and add a few filter options. Additionally, long press
...
now activates multi-select mode, and add action to (un)freeze selection.
2023-11-01 14:32:38 +01:00
Sander van Grieken
b20a4b9bf1
qml: increase font on seed keyboard, and height of seedkeyboard slightly
2023-10-13 13:42:16 +02:00
Sander van Grieken
7ca9b735d5
daemon: refactor load_wallet to not just return None, but raise specific exceptions.
...
The following exceptions should be expected:
FileNotFoundError: given wallet path does not exist
StorageReadWriteError: given file is not readable/writable or containing folder is not writable
InvalidPassword: wallet requires a password but no password or an invalid password was given
WalletFileException: any internal wallet data issue. specific subclasses can be caught separately:
- WalletRequiresSplit: wallet needs splitting (split_data passed in Exception)
- WalletRequiresUpgrade: wallet needs upgrade, and no upgrade=True was passed to load_wallet
- WalletUnfinished: wallet file contains an action and needs additional information to finalize. (WalletDB passed in exception)
Removed qml/qewalletdb.py
This patch also fixes load_wallet calls in electrum/scripts and adds a qml workaround for dialogs opening and closing so
fast that the dialog opened==true property change is missed (which we need to manage the dialog/page stack)
2023-10-10 17:42:07 +02:00
Sander van Grieken
9ed5f7bf43
qml: don't show "select server automatically" checkbox in network setup wizard
2023-10-05 11:01:29 +02:00
Sander van Grieken
b12c3233e5
qml: followup 5acfe418079dbc9935cf9576e50ae2c8c841e301; don't save expiry Never as default.
2023-09-30 14:45:42 +02:00
ThomasV
5acfe41807
qml: add never-expiring requests. fixes #8631
2023-09-30 09:46:16 +02:00
Sander van Grieken
e5e1e46b7b
qml: add message sign/verify
2023-09-26 11:28:55 +02:00
Sander van Grieken
b846eabb70
qml: clicking on one of your own addresses on TxDetails page now takes you to AddressDetails page.
2023-09-25 17:53:18 +02:00
Sander van Grieken
05a34fbe24
qml: tap-on-background now removes focus, allowing convenient way to hide keyboard
2023-09-25 16:58:27 +02:00
Sander van Grieken
58dbe6690d
qml: create ElCombBox and ElRadioButton that automatically word wrap their text element. Fixes #8611
2023-09-12 17:56:35 +02:00
SomberNight
5a3abdde85
qml: don't apply ElListView deadzones on Linux desktop
...
otherwise I can't click on list items if the window is moved too far to the right :O
follow-up 583afefe33
Note: on modern Android, apps don't always run full-screen.
You can pop them out into small windows and move them.
Haven't tested how the deadzones work then though.
2023-08-10 15:22:36 +00:00
Sander van Grieken
583afefe33
qml: add deadzones on the edge of the screen to work around android back gesture unintended click events
2023-07-28 14:47:40 +02:00
Sander van Grieken
60e007862b
qml: defer updates, fixes listitems not updating
2023-07-13 19:17:16 +02:00
Sander van Grieken
45944d280d
qml: update channelbar when conditions change
2023-07-13 19:17:16 +02:00
Sander van Grieken
2cf4cc1978
qml: render reserved channel capacity in a darker tone, take frozen into account
2023-07-13 19:17:16 +02:00
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