Hush full node GUI wallet
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
#ifndef QRCODELABEL_H
|
|
|
|
#define QRCODELABEL_H
|
|
|
|
|
|
|
|
#include "precompiled.h"
|
|
|
|
|
|
|
|
class QRCodeLabel : public QLabel
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
|
|
|
explicit QRCodeLabel(QWidget *parent = nullptr);
|
|
|
|
virtual QSize sizeHint() const;
|
|
|
|
|
|
|
|
void setQrcodeString(QString address);
|
|
|
|
QPixmap scaledPixmap() const;
|
|
|
|
public slots:
|
|
|
|
void resizeEvent(QResizeEvent *);
|
|
|
|
|
|
|
|
private:
|
|
|
|
QString str;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif // QRCODELABEL_H
|