Add not-on-wifi warning
This commit is contained in:
parent
c270ac5a93
commit
0ff8b6e2e2
8 changed files with 35 additions and 0 deletions
|
@ -43,6 +43,13 @@ Page {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Label {
|
||||||
|
text: qsTr("Not on WiFi")
|
||||||
|
color: Theme.highlightColor
|
||||||
|
anchors.centerIn: parent
|
||||||
|
visible: !wifi.connected
|
||||||
|
}
|
||||||
|
|
||||||
property bool initialized: false
|
property bool initialized: false
|
||||||
onVisibleChanged: {
|
onVisibleChanged: {
|
||||||
if (visible)
|
if (visible)
|
||||||
|
|
|
@ -275,6 +275,10 @@
|
||||||
<source>Printer details</source>
|
<source>Printer details</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Not on WiFi</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>IppPrinter</name>
|
<name>IppPrinter</name>
|
||||||
|
|
|
@ -275,6 +275,10 @@
|
||||||
<source>Printer details</source>
|
<source>Printer details</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Not on WiFi</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>IppPrinter</name>
|
<name>IppPrinter</name>
|
||||||
|
|
|
@ -275,6 +275,10 @@
|
||||||
<source>Printer details</source>
|
<source>Printer details</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Not on WiFi</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>IppPrinter</name>
|
<name>IppPrinter</name>
|
||||||
|
|
|
@ -275,6 +275,10 @@
|
||||||
<source>Printer details</source>
|
<source>Printer details</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Not on WiFi</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>IppPrinter</name>
|
<name>IppPrinter</name>
|
||||||
|
|
|
@ -275,6 +275,10 @@
|
||||||
<source>Printer details</source>
|
<source>Printer details</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Not on WiFi</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>IppPrinter</name>
|
<name>IppPrinter</name>
|
||||||
|
|
|
@ -275,6 +275,10 @@
|
||||||
<source>Printer details</source>
|
<source>Printer details</source>
|
||||||
<translation>打印机详情</translation>
|
<translation>打印机详情</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Not on WiFi</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>IppPrinter</name>
|
<name>IppPrinter</name>
|
||||||
|
|
|
@ -275,6 +275,10 @@
|
||||||
<source>Printer details</source>
|
<source>Printer details</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Not on WiFi</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>IppPrinter</name>
|
<name>IppPrinter</name>
|
||||||
|
|
Loading…
Reference in a new issue