mirror of
https://github.com/wownero/wowlet.git
synced 2026-11-19 06:34:12 +01:00
Resizeable QrCode
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
#include <QDialog>
|
||||
|
||||
#include "qrcode/QrCode.h"
|
||||
#include "widgets/QrCodeWidget.h"
|
||||
|
||||
namespace Ui {
|
||||
class QrCodeDialog;
|
||||
@@ -17,9 +18,8 @@ class QrCodeDialog : public QDialog
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit QrCodeDialog(QWidget *parent, const QrCode &qrCode, const QString &title = "Qr Code");
|
||||
explicit QrCodeDialog(QWidget *parent, QrCode *qrCode, const QString &title = "Qr Code");
|
||||
~QrCodeDialog() override;
|
||||
void setQrCode(const QrCode &qrCode);
|
||||
|
||||
private:
|
||||
void copyImage();
|
||||
@@ -29,5 +29,4 @@ private:
|
||||
QPixmap m_pixmap;
|
||||
};
|
||||
|
||||
|
||||
#endif //FEATHER_QRCODEDIALOG_H
|
||||
|
||||
Reference in New Issue
Block a user