1
0
mirror of https://github.com/binary-kitchen/doorlockd synced 2024-11-07 17:13:51 +01:00
doorlockd-mirror/doorlockd/client/mainwindow.cpp
2015-10-02 19:39:47 +02:00

21 lines
388 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::setClientmessage(const Clientmessage &msg)
{
ui->qrwidget->setQRData(msg.token());
ui->tokenLabel->setText(QString::fromStdString(msg.token()));
}