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

This commit is contained in:
Luke Dashjr
2019-02-16 23:19:49 +00:00
parent 37f236acc6
commit 77851ab682
2 changed files with 61 additions and 48 deletions

View File

@@ -29,6 +29,7 @@ class QRImageWidget : public QLabel
public:
explicit QRImageWidget(QWidget *parent = nullptr);
bool setQR(const QString& data, const QString& text = "");
QImage exportImage();
public Q_SLOTS: