Add not-on-wifi warning

This commit is contained in:
Anton Thomasson 2020-10-10 17:55:01 +02:00
parent c270ac5a93
commit 0ff8b6e2e2
8 changed files with 35 additions and 0 deletions

View file

@ -43,6 +43,13 @@ Page {
}
}
Label {
text: qsTr("Not on WiFi")
color: Theme.highlightColor
anchors.centerIn: parent
visible: !wifi.connected
}
property bool initialized: false
onVisibleChanged: {
if (visible)

View file

@ -275,6 +275,10 @@
<source>Printer details</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Not on WiFi</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>IppPrinter</name>

View file

@ -275,6 +275,10 @@
<source>Printer details</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Not on WiFi</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>IppPrinter</name>

View file

@ -275,6 +275,10 @@
<source>Printer details</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Not on WiFi</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>IppPrinter</name>

View file

@ -275,6 +275,10 @@
<source>Printer details</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Not on WiFi</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>IppPrinter</name>

View file

@ -275,6 +275,10 @@
<source>Printer details</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Not on WiFi</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>IppPrinter</name>

View file

@ -275,6 +275,10 @@
<source>Printer details</source>
<translation></translation>
</message>
<message>
<source>Not on WiFi</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>IppPrinter</name>

View file

@ -275,6 +275,10 @@
<source>Printer details</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Not on WiFi</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>IppPrinter</name>