Show the connection string manually
This commit is contained in:
parent
8b864e05ac
commit
b68449495e
|
@ -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>
|
||||||
|
|
|
@ -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() {
|
||||||
|
|
Loading…
Reference in New Issue