SomberNight
a3fc43cc2d
qml: remove dependency "Pillow" (and its transitive deps)
...
closes https://github.com/spesmilo/electrum/issues/9572
2025-02-20 18:53:08 +00:00
Sander van Grieken
3582c79160
stub QVideoSink import as it requires many dependencies but isn't used on android currently
2024-02-12 11:49:43 +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
6270eae5c9
qml: port PyQt5 to PyQt6
2023-11-07 10:16:18 +01:00
Sander van Grieken
190c19d48c
whitespace, imports, code style
2023-09-22 16:38:37 +02:00
Sander van Grieken
4517b3c2bb
qml: handle DataOverflow in qeqr.py and QRImage
2023-03-30 16:00:36 +02:00
Sander van Grieken
0b3279820a
rm log
2023-03-17 12:01:55 +01:00
Sander van Grieken
3e5c692660
qml: don't log (potentially) sensitive data, closes #8124
2023-03-17 00:13:16 +01:00
Sander van Grieken
393554c31e
qml: fix unintended mangling of TX (non-psbt) for QR
2023-01-16 11:20:05 +01:00
Sander van Grieken
0bc8460005
qml: don't initialize instance variables on class scope for non-singletons
...
(this somehow escaped attention before, as most objects usually don't have multiple instances,
unless multiple wallets are open at the same time.)
Also, move all signal declarations, class constants and variables to the top of class definitions.
2023-01-12 13:09:21 +01:00
SomberNight
01b5e3f8e0
flake8: enable more mandatory tests
2022-10-31 16:13:22 +00:00
Sander van Grieken
0f02c54c77
qml: fix qerequestdetails.py signal, remove qr scan loop logging
2022-09-27 10:01:20 +02:00
Sander van Grieken
1c29ef12b5
qml: cosmetic changes
2022-08-16 16:09:05 +02:00
Sander van Grieken
a970c0f78a
qml: add initial bolt-11/bip-21 chooser in requestdialog
...
implement proper placement of icon over qr code
fix urlencoding in qr imageprovider
2022-07-21 12:56:55 +02:00
Sander van Grieken
d3e88064d0
Use screen size as upper bound for qr code size
...
also fix some typing issues
2022-07-07 18:29:01 +02:00
Sander van Grieken
e340f3fe9f
make QR always fit within 400px
2022-07-07 18:29:01 +02:00
Sander van Grieken
b188b48e2f
after-rebase fixes
2022-07-07 18:29:01 +02:00
Sander van Grieken
cd4bd39583
wip
2022-07-07 18:29:01 +02:00
Sander van Grieken
7013f9d26b
generate and parse bip 21 qr codes
2022-07-07 18:29:01 +02:00
Sander van Grieken
d1623c5ed3
QRParser now a type, not a context property
2022-07-07 18:29:01 +02:00
Sander van Grieken
1609fe8663
parse QR async
2022-07-07 18:29:01 +02:00
Sander van Grieken
758a30462e
implement QR code scanning
2022-07-07 18:29:01 +02:00
Sander van Grieken
492f246b9a
qml: add QR code imageprovider using qrcode/PIL
...
adds buildozer 'pillow' recipe to requirements
add initial PoC on qml receive tab
2022-07-07 18:28:00 +02:00
Sander van Grieken
279c1ce9fb
dev: disable PIL use for now
2022-07-07 18:28:00 +02:00
Sander van Grieken
a3801ecae8
qml: map fields of tx history
2022-07-07 18:28:00 +02:00
Sander van Grieken
7eb733757a
qml: add initial qml.ElectrumGui class, Electrum QObject wrappers and an initial QObject for QR en/decoding
2022-07-07 18:28:00 +02:00