HomePhabricator

GUI: Refactor actual QR code rendering into new QRImageWidget::setQR

Description

GUI: Refactor actual QR code rendering into new QRImageWidget::setQR

Summary:
Pull request description:

For at least QR-code based pairing of mobile wallets with nodes, it will be desirable to render QR codes even without wallet support.

Therefore, this prepares by moving the QRImageWidget out of a wallet-specific file into its own qrencoder file-pair.

This is part 1 of 2 of backport of Core PR15928
Commit 77851ab6

Test Plan:
ninja && ninja check && sudo ninja install
Run bitcoin-qt and make sure the QR code is still generated properly.

Reviewers: O1 Bitcoin ABC, #bitcoin_abc, deadalnix

Reviewed By: O1 Bitcoin ABC, #bitcoin_abc, deadalnix

Subscribers: deadalnix

Differential Revision: https://reviews.bitcoinabc.org/D7783

Details

Provenance
Luke Dashjr <luke-jr+git@utopios.org>Authored on Feb 16 2019, 23:19
PiRKCommitted on Oct 8 2020, 04:16
PiRKPushed on Oct 8 2020, 04:16
Reviewer
Restricted Owners Package
Differential Revision
D7783: GUI: Refactor actual QR code rendering into new QRImageWidget::setQR
Parents
rABC418fdfff8579: Document assumptions about compiler, add sizeof(size_t) assumptions
Branches
Unknown
Tags
Unknown