mirror of
https://github.com/binary-kitchen/doorlockd
synced 2024-11-07 17:13:51 +01:00
60ed23486b
Signed-off-by: Ralf Ramsauer <ralf@ramses-pyramidenbau.de>
24 lines
321 B
C++
24 lines
321 B
C++
#ifndef QRWIDGET_H
|
|
#define QRWIDGET_H
|
|
|
|
#include <string>
|
|
|
|
#include <QWidget>
|
|
|
|
class QRWidget : public QWidget
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit QRWidget(QWidget *parent = nullptr);
|
|
void setQRData(const std::string &data);
|
|
|
|
private:
|
|
std::string _data;
|
|
|
|
protected:
|
|
void paintEvent(QPaintEvent *);
|
|
};
|
|
|
|
#endif
|