1
0
mirror of https://github.com/binary-kitchen/doorlockd synced 2024-11-08 09:23:54 +01:00
doorlockd-mirror/doorlockd/client/mainwindow.cpp

20 lines
309 B
C++
Raw Normal View History

2015-09-30 15:26:28 +02:00
#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);
}