1
0
mirror of https://github.com/binary-kitchen/doorlockd synced 2024-11-08 01:13:54 +01:00
doorlockd-mirror/doorlockd/client/qrwidget.h

24 lines
321 B
C
Raw Normal View History

2015-09-25 13:11:36 +02:00
#ifndef QRWIDGET_H
#define QRWIDGET_H
#include <string>
2015-09-25 13:11:36 +02:00
#include <QWidget>
class QRWidget : public QWidget
{
Q_OBJECT
public:
explicit QRWidget(QWidget *parent = nullptr);
void setQRData(const std::string &data);
2015-09-25 13:11:36 +02:00
private:
std::string _data;
2015-09-25 13:11:36 +02:00
protected:
void paintEvent(QPaintEvent *);
};
#endif