mirror of
https://github.com/binary-kitchen/doorlockd
synced 2024-11-09 09:46:18 +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);
|
||
|
}
|