Mainwindow: Show huge token

Signed-off-by: Ralf Ramsauer <ralf@ramses-pyramidenbau.de>
This commit is contained in:
Ralf Ramsauer 2016-07-17 22:57:27 +02:00
parent 62ac4f26e0
commit 8503a2114f
2 changed files with 27 additions and 1 deletions

View File

@ -26,6 +26,7 @@ void MainWindow::setClientmessage(const Clientmessage &msg)
{
ui->qrwidget->setQRData(msg.web_address());
ui->address->setText(QString::fromStdString(msg.web_address()));
ui->token->setText(QString::fromStdString(msg.token()));
QString statusMessage("");
const auto &doormsg = msg.doormessage();

View File

@ -85,6 +85,31 @@
</property>
</widget>
</item>
<item>
<spacer name="verticalSpacer_4">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QLabel" name="token">
<property name="font">
<font>
<pointsize>36</pointsize>
</font>
</property>
<property name="text">
<string/>
</property>
</widget>
</item>
<item>
<spacer name="verticalSpacer_3">
<property name="orientation">
@ -102,7 +127,7 @@
<widget class="QLabel" name="address">
<property name="font">
<font>
<pointsize>18</pointsize>
<pointsize>22</pointsize>
</font>
</property>
<property name="text">