mirror of
https://github.com/binary-kitchen/doorlockd
synced 2024-11-08 09:23:54 +01:00
20 lines
309 B
C++
20 lines
309 B
C++
#include "mainwindow.h"
|
|
#include "ui_mainwindow.h"
|
|
|
|
MainWindow::MainWindow(QWidget *parent) :
|
|
QWidget(parent),
|
|
ui(new Ui::MainWindow)
|
|
{
|
|
ui->setupUi(this);
|
|
}
|
|
|
|
MainWindow::~MainWindow()
|
|
{
|
|
delete ui;
|
|
}
|
|
|
|
void MainWindow::setQRCode(const std::string &token)
|
|
{
|
|
ui->qrwidget->setQRData(token);
|
|
}
|