Commit graph

13 commits

Author SHA1 Message Date
SomberNight
9bba65199e
Qt QR code: when saving QR code as image file, don't include stretch
The stretch to the right of the QR was included in the image previously.
This resolves the FIXME.
2020-09-06 17:55:11 +02:00
SomberNight
182c192558
qt: easier import/export of channel backups 2020-06-19 04:48:20 +02:00
ThomasV
661ecb2cf5 add help text to channel backup QR code 2020-06-16 18:48:04 +02:00
SomberNight
d0ab003978
qt qrcode: fix DeprecationWarning (float->int conversion)
...\electrum\electrum\gui\qt\qrcodewidget.py:88: DeprecationWarning: an integer is required (got type float).  Implicit conversion to integers using __int__ is deprecated, and may be removed in a future version of Python.
  qp.drawRect(left+c*boxsize, top+r*boxsize, boxsize - 1, boxsize - 1)
2020-06-07 03:10:27 +02:00
SomberNight
04edad9984
config: no longer singleton. it is passed to Wallet.__init__
The few other cases that used SimpleConfig.get_instance() now
either get passed a config instance, or they try to get a reference
to something else that has a reference to a config.
(see lnsweep, qt/qrcodewidget, qt/qrtextedit)
2019-09-22 20:46:01 +02:00
SomberNight
b2920db8b8
config: enforce that SimpleConfig is singleton
related: #5629
2019-09-10 18:01:10 +02:00
zebra-lucky
93724ba33a qt gui: fix qrcodewidget pen for retina display 2019-08-10 03:18:15 +03:00
SomberNight
c776af41f6
qt: allow QR codes to store a bit more data
by decreasing error correction (about ~26% larger max payload)
2019-05-26 02:13:02 +02:00
SomberNight
bf1c1c2a11
qt qrcodewidget: on MacOS, was grabbing whole screen
from Electron-Cash/Electron-Cash@61d46989e6
2019-03-04 04:24:45 +01:00
SomberNight
026448837f
no more "import *"
fixes #5101
fixes #5105
2019-02-11 20:21:24 +01:00
ThomasV
f994cd4a5d draw qrcode with fixed framesize 2019-01-23 16:56:29 +01:00
SomberNight
33d14e4238
some import clean-up in qt 2018-09-25 18:15:28 +02:00
Janus
097ac144d9 file reorganization with top-level module 2018-07-13 14:01:37 +02:00
Renamed from gui/qt/qrcodewidget.py (Browse further)