Show the connection string manually

This commit is contained in:
adityapk00 2019-02-03 19:58:33 -08:00
parent 8b864e05ac
commit b68449495e
2 changed files with 16 additions and 1 deletions

View File

@ -59,6 +59,20 @@
</property> </property>
</widget> </widget>
</item> </item>
<item row="1" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
<string>Connection String</string>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLineEdit" name="txtConnStr">
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
</item>
</layout> </layout>
</widget> </widget>
</item> </item>
@ -97,7 +111,7 @@
<item row="0" column="0"> <item row="0" column="0">
<widget class="QLabel" name="lblRemoteName"> <widget class="QLabel" name="lblRemoteName">
<property name="text"> <property name="text">
<string>TextLabel</string> <string notr="true">TextLabel</string>
</property> </property>
</widget> </widget>
</item> </item>

View File

@ -146,6 +146,7 @@ void AppDataServer::updateUIWithNewQRCode() {
QString codeStr = uri + "," + secretStr; QString codeStr = uri + "," + secretStr;
ui->qrcode->setQrcodeString(codeStr); ui->qrcode->setQrcodeString(codeStr);
ui->txtConnStr->setText(codeStr);
} }
void AppDataServer::updateConnectedUI() { void AppDataServer::updateConnectedUI() {