UI Text check and translation-de

This commit is contained in:
2020-11-12 19:51:01 +01:00
parent 1fd1d37fa7
commit 7ee84bf305
22 changed files with 3251 additions and 3169 deletions

View File

@@ -2,12 +2,15 @@
# Form implementation generated from reading ui file 'aclmanager.ui' # Form implementation generated from reading ui file 'aclmanager.ui'
# #
# Created by: PyQt5 UI code generator 5.10.1 # Created by: PyQt5 UI code generator 5.15.0
# #
# WARNING! All changes made in this file will be lost! # WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again. Do not edit this file unless you know what you are doing.
from PyQt5 import QtCore, QtGui, QtWidgets from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_diag_aclmanager(object): class Ui_diag_aclmanager(object):
def setupUi(self, diag_aclmanager): def setupUi(self, diag_aclmanager):
diag_aclmanager.setObjectName("diag_aclmanager") diag_aclmanager.setObjectName("diag_aclmanager")
@@ -157,4 +160,3 @@ if __name__ == "__main__":
ui.setupUi(diag_aclmanager) ui.setupUi(diag_aclmanager)
diag_aclmanager.show() diag_aclmanager.show()
sys.exit(app.exec_()) sys.exit(app.exec_())

View File

@@ -2,12 +2,15 @@
# Form implementation generated from reading ui file 'avahisearch.ui' # Form implementation generated from reading ui file 'avahisearch.ui'
# #
# Created by: PyQt5 UI code generator 5.10.1 # Created by: PyQt5 UI code generator 5.15.0
# #
# WARNING! All changes made in this file will be lost! # WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again. Do not edit this file unless you know what you are doing.
from PyQt5 import QtCore, QtGui, QtWidgets from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_diag_search(object): class Ui_diag_search(object):
def setupUi(self, diag_search): def setupUi(self, diag_search):
diag_search.setObjectName("diag_search") diag_search.setObjectName("diag_search")
@@ -74,14 +77,14 @@ class Ui_diag_search(object):
self.btn_restart.setToolTip(_translate("diag_search", "Restart search")) self.btn_restart.setToolTip(_translate("diag_search", "Restart search"))
self.tb_revpi.setSortingEnabled(True) self.tb_revpi.setSortingEnabled(True)
item = self.tb_revpi.horizontalHeaderItem(0) item = self.tb_revpi.horizontalHeaderItem(0)
item.setText(_translate("diag_search", "Zero conf Name")) item.setText(_translate("diag_search", "Zero-conf name"))
item = self.tb_revpi.horizontalHeaderItem(1) item = self.tb_revpi.horizontalHeaderItem(1)
item.setText(_translate("diag_search", "IP address")) item.setText(_translate("diag_search", "IP address"))
self.btn_connect.setText(_translate("diag_search", "&Connect to Revolution Pi")) self.btn_connect.setText(_translate("diag_search", "&Connect to Revolution Pi"))
self.btn_save.setText(_translate("diag_search", "&Save connection")) self.btn_save.setText(_translate("diag_search", "&Save connection"))
from . import ressources_rc from . import ressources_rc
if __name__ == "__main__": if __name__ == "__main__":
import sys import sys
app = QtWidgets.QApplication(sys.argv) app = QtWidgets.QApplication(sys.argv)
@@ -90,4 +93,3 @@ if __name__ == "__main__":
ui.setupUi(diag_search) ui.setupUi(diag_search)
diag_search.show() diag_search.show()
sys.exit(app.exec_()) sys.exit(app.exec_())

View File

@@ -2,12 +2,15 @@
# Form implementation generated from reading ui file 'debugcontrol.ui' # Form implementation generated from reading ui file 'debugcontrol.ui'
# #
# Created by: PyQt5 UI code generator 5.10.1 # Created by: PyQt5 UI code generator 5.15.0
# #
# WARNING! All changes made in this file will be lost! # WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again. Do not edit this file unless you know what you are doing.
from PyQt5 import QtCore, QtGui, QtWidgets from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_wid_debugcontrol(object): class Ui_wid_debugcontrol(object):
def setupUi(self, wid_debugcontrol): def setupUi(self, wid_debugcontrol):
wid_debugcontrol.setObjectName("wid_debugcontrol") wid_debugcontrol.setObjectName("wid_debugcontrol")
@@ -80,4 +83,3 @@ if __name__ == "__main__":
ui.setupUi(wid_debugcontrol) ui.setupUi(wid_debugcontrol)
wid_debugcontrol.show() wid_debugcontrol.show()
sys.exit(app.exec_()) sys.exit(app.exec_())

View File

@@ -2,12 +2,15 @@
# Form implementation generated from reading ui file 'debugios.ui' # Form implementation generated from reading ui file 'debugios.ui'
# #
# Created by: PyQt5 UI code generator 5.10.1 # Created by: PyQt5 UI code generator 5.15.0
# #
# WARNING! All changes made in this file will be lost! # WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again. Do not edit this file unless you know what you are doing.
from PyQt5 import QtCore, QtGui, QtWidgets from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_win_debugios(object): class Ui_win_debugios(object):
def setupUi(self, win_debugios): def setupUi(self, win_debugios):
win_debugios.setObjectName("win_debugios") win_debugios.setObjectName("win_debugios")
@@ -72,4 +75,3 @@ if __name__ == "__main__":
ui.setupUi(win_debugios) ui.setupUi(win_debugios)
win_debugios.show() win_debugios.show()
sys.exit(app.exec_()) sys.exit(app.exec_())

View File

@@ -2,12 +2,15 @@
# Form implementation generated from reading ui file 'files.ui' # Form implementation generated from reading ui file 'files.ui'
# #
# Created by: PyQt5 UI code generator 5.10.1 # Created by: PyQt5 UI code generator 5.15.0
# #
# WARNING! All changes made in this file will be lost! # WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again. Do not edit this file unless you know what you are doing.
from PyQt5 import QtCore, QtGui, QtWidgets from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_win_files(object): class Ui_win_files(object):
def setupUi(self, win_files): def setupUi(self, win_files):
win_files.setObjectName("win_files") win_files.setObjectName("win_files")
@@ -168,9 +171,9 @@ class Ui_win_files(object):
self.btn_refresh_revpi.setToolTip(_translate("win_files", "Reload file list")) self.btn_refresh_revpi.setToolTip(_translate("win_files", "Reload file list"))
self.tree_files_revpi.setSortingEnabled(True) self.tree_files_revpi.setSortingEnabled(True)
self.btn_all.setText(_translate("win_files", "Stop - Upload - Start")) self.btn_all.setText(_translate("win_files", "Stop - Upload - Start"))
from . import ressources_rc from . import ressources_rc
if __name__ == "__main__": if __name__ == "__main__":
import sys import sys
app = QtWidgets.QApplication(sys.argv) app = QtWidgets.QApplication(sys.argv)
@@ -179,4 +182,3 @@ if __name__ == "__main__":
ui.setupUi(win_files) ui.setupUi(win_files)
win_files.show() win_files.show()
sys.exit(app.exec_()) sys.exit(app.exec_())

View File

@@ -2,16 +2,19 @@
# Form implementation generated from reading ui file 'mqttmanager.ui' # Form implementation generated from reading ui file 'mqttmanager.ui'
# #
# Created by: PyQt5 UI code generator 5.10.1 # Created by: PyQt5 UI code generator 5.15.0
# #
# WARNING! All changes made in this file will be lost! # WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again. Do not edit this file unless you know what you are doing.
from PyQt5 import QtCore, QtGui, QtWidgets from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_diag_mqtt(object): class Ui_diag_mqtt(object):
def setupUi(self, diag_mqtt): def setupUi(self, diag_mqtt):
diag_mqtt.setObjectName("diag_mqtt") diag_mqtt.setObjectName("diag_mqtt")
diag_mqtt.resize(492, 704) diag_mqtt.resize(489, 709)
self.verticalLayout = QtWidgets.QVBoxLayout(diag_mqtt) self.verticalLayout = QtWidgets.QVBoxLayout(diag_mqtt)
self.verticalLayout.setObjectName("verticalLayout") self.verticalLayout.setObjectName("verticalLayout")
self.gb_basetopic = QtWidgets.QGroupBox(diag_mqtt) self.gb_basetopic = QtWidgets.QGroupBox(diag_mqtt)
@@ -123,7 +126,9 @@ class Ui_diag_mqtt(object):
_translate = QtCore.QCoreApplication.translate _translate = QtCore.QCoreApplication.translate
diag_mqtt.setWindowTitle(_translate("diag_mqtt", "MQTT settings")) diag_mqtt.setWindowTitle(_translate("diag_mqtt", "MQTT settings"))
self.gb_basetopic.setTitle(_translate("diag_mqtt", "Base topic")) self.gb_basetopic.setTitle(_translate("diag_mqtt", "Base topic"))
self.lbl_basetopic_description.setText(_translate("diag_mqtt", "<html><head/><body><p>The base topic is the first part of any mqtt topic, the Revolution Pi will publish. You can use any character includig \'/\' to structure the messages on your broker.</p><p>For example: revpi0000/data</p></body></html>")) self.lbl_basetopic_description.setText(_translate("diag_mqtt", "The base topic is the first part of any mqtt topic, the Revolution Pi will publish. You can use any character includig \'/\' to structure the messages on your broker.\n"
"\n"
"For example: revpi0000/data"))
self.lbl_basetopic.setText(_translate("diag_mqtt", "Base topic:")) self.lbl_basetopic.setText(_translate("diag_mqtt", "Base topic:"))
self.gb_send_on_event.setTitle(_translate("diag_mqtt", "Publish settings")) self.gb_send_on_event.setTitle(_translate("diag_mqtt", "Publish settings"))
self.lbl_sendinterval.setText(_translate("diag_mqtt", "Publish all exported values every n seconds:")) self.lbl_sendinterval.setText(_translate("diag_mqtt", "Publish all exported values every n seconds:"))
@@ -135,7 +140,7 @@ class Ui_diag_mqtt(object):
"\n" "\n"
"Publish values with topic: [basetopic]/set/[outputname]")) "Publish values with topic: [basetopic]/set/[outputname]"))
self.cbx_write_outputs.setText(_translate("diag_mqtt", "Allow MQTT to to set outputs on Revolution Pi")) self.cbx_write_outputs.setText(_translate("diag_mqtt", "Allow MQTT to to set outputs on Revolution Pi"))
self.gb_broker.setTitle(_translate("diag_mqtt", "Brocker settings")) self.gb_broker.setTitle(_translate("diag_mqtt", "Broker settings"))
self.lbl_broker_address.setText(_translate("diag_mqtt", "Broker address:")) self.lbl_broker_address.setText(_translate("diag_mqtt", "Broker address:"))
self.lbl_port.setText(_translate("diag_mqtt", "Broker port:")) self.lbl_port.setText(_translate("diag_mqtt", "Broker port:"))
self.lbl_username.setText(_translate("diag_mqtt", "User name:")) self.lbl_username.setText(_translate("diag_mqtt", "User name:"))
@@ -152,4 +157,3 @@ if __name__ == "__main__":
ui.setupUi(diag_mqtt) ui.setupUi(diag_mqtt)
diag_mqtt.show() diag_mqtt.show()
sys.exit(app.exec_()) sys.exit(app.exec_())

File diff suppressed because it is too large Load Diff

View File

@@ -2,12 +2,15 @@
# Form implementation generated from reading ui file 'revpicommander.ui' # Form implementation generated from reading ui file 'revpicommander.ui'
# #
# Created by: PyQt5 UI code generator 5.10.1 # Created by: PyQt5 UI code generator 5.15.0
# #
# WARNING! All changes made in this file will be lost! # WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again. Do not edit this file unless you know what you are doing.
from PyQt5 import QtCore, QtGui, QtWidgets from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_win_revpicommander(object): class Ui_win_revpicommander(object):
def setupUi(self, win_revpicommander): def setupUi(self, win_revpicommander):
win_revpicommander.setObjectName("win_revpicommander") win_revpicommander.setObjectName("win_revpicommander")
@@ -152,9 +155,9 @@ class Ui_win_revpicommander(object):
self.act_disconnect.setShortcut(_translate("win_revpicommander", "Ctrl+X")) self.act_disconnect.setShortcut(_translate("win_revpicommander", "Ctrl+X"))
self.act_reset.setText(_translate("win_revpicommander", "Reset driver...")) self.act_reset.setText(_translate("win_revpicommander", "Reset driver..."))
self.act_simulator.setText(_translate("win_revpicommander", "Start local si&mulator...")) self.act_simulator.setText(_translate("win_revpicommander", "Start local si&mulator..."))
from . import ressources_rc from . import ressources_rc
if __name__ == "__main__": if __name__ == "__main__":
import sys import sys
app = QtWidgets.QApplication(sys.argv) app = QtWidgets.QApplication(sys.argv)
@@ -163,4 +166,3 @@ if __name__ == "__main__":
ui.setupUi(win_revpicommander) ui.setupUi(win_revpicommander)
win_revpicommander.show() win_revpicommander.show()
sys.exit(app.exec_()) sys.exit(app.exec_())

View File

@@ -2,12 +2,15 @@
# Form implementation generated from reading ui file 'revpiinfo.ui' # Form implementation generated from reading ui file 'revpiinfo.ui'
# #
# Created by: PyQt5 UI code generator 5.10.1 # Created by: PyQt5 UI code generator 5.15.0
# #
# WARNING! All changes made in this file will be lost! # WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again. Do not edit this file unless you know what you are doing.
from PyQt5 import QtCore, QtGui, QtWidgets from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_diag_revpiinfo(object): class Ui_diag_revpiinfo(object):
def setupUi(self, diag_revpiinfo): def setupUi(self, diag_revpiinfo):
diag_revpiinfo.setObjectName("diag_revpiinfo") diag_revpiinfo.setObjectName("diag_revpiinfo")
@@ -81,8 +84,8 @@ class Ui_diag_revpiinfo(object):
def retranslateUi(self, diag_revpiinfo): def retranslateUi(self, diag_revpiinfo):
_translate = QtCore.QCoreApplication.translate _translate = QtCore.QCoreApplication.translate
diag_revpiinfo.setWindowTitle(_translate("diag_revpiinfo", "Dialog")) diag_revpiinfo.setWindowTitle(_translate("diag_revpiinfo", "Program information"))
self.lbl_head.setText(_translate("diag_revpiinfo", "RevPi Python PLC - Control")) self.lbl_head.setText(_translate("diag_revpiinfo", "RevPi Python PLC - Commander"))
self.lbl_lbl_version_pyload.setText(_translate("diag_revpiinfo", "RevPiPyLoad version on RevPi:")) self.lbl_lbl_version_pyload.setText(_translate("diag_revpiinfo", "RevPiPyLoad version on RevPi:"))
self.lbl_version_pyload.setText(_translate("diag_revpiinfo", "0.0.0")) self.lbl_version_pyload.setText(_translate("diag_revpiinfo", "0.0.0"))
self.lbl_link.setText(_translate("diag_revpiinfo", "<html><head/><body><p><a href=\"https://revpimodio.org/\"><span style=\" text-decoration: underline; color:#0000ff;\">https://revpimodio.org/</span></a></p></body></html>")) self.lbl_link.setText(_translate("diag_revpiinfo", "<html><head/><body><p><a href=\"https://revpimodio.org/\"><span style=\" text-decoration: underline; color:#0000ff;\">https://revpimodio.org/</span></a></p></body></html>"))
@@ -103,4 +106,3 @@ if __name__ == "__main__":
ui.setupUi(diag_revpiinfo) ui.setupUi(diag_revpiinfo)
diag_revpiinfo.show() diag_revpiinfo.show()
sys.exit(app.exec_()) sys.exit(app.exec_())

View File

@@ -2,12 +2,15 @@
# Form implementation generated from reading ui file 'revpilogfile.ui' # Form implementation generated from reading ui file 'revpilogfile.ui'
# #
# Created by: PyQt5 UI code generator 5.10.1 # Created by: PyQt5 UI code generator 5.15.0
# #
# WARNING! All changes made in this file will be lost! # WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again. Do not edit this file unless you know what you are doing.
from PyQt5 import QtCore, QtGui, QtWidgets from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_win_revpilogfile(object): class Ui_win_revpilogfile(object):
def setupUi(self, win_revpilogfile): def setupUi(self, win_revpilogfile):
win_revpilogfile.setObjectName("win_revpilogfile") win_revpilogfile.setObjectName("win_revpilogfile")
@@ -93,4 +96,3 @@ if __name__ == "__main__":
ui.setupUi(win_revpilogfile) ui.setupUi(win_revpilogfile)
win_revpilogfile.show() win_revpilogfile.show()
sys.exit(app.exec_()) sys.exit(app.exec_())

View File

@@ -2,16 +2,19 @@
# Form implementation generated from reading ui file 'revpioption.ui' # Form implementation generated from reading ui file 'revpioption.ui'
# #
# Created by: PyQt5 UI code generator 5.10.1 # Created by: PyQt5 UI code generator 5.15.0
# #
# WARNING! All changes made in this file will be lost! # WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again. Do not edit this file unless you know what you are doing.
from PyQt5 import QtCore, QtGui, QtWidgets from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_diag_options(object): class Ui_diag_options(object):
def setupUi(self, diag_options): def setupUi(self, diag_options):
diag_options.setObjectName("diag_options") diag_options.setObjectName("diag_options")
diag_options.resize(416, 522) diag_options.resize(458, 557)
self.verticalLayout = QtWidgets.QVBoxLayout(diag_options) self.verticalLayout = QtWidgets.QVBoxLayout(diag_options)
self.verticalLayout.setObjectName("verticalLayout") self.verticalLayout.setObjectName("verticalLayout")
self.gb_plc = QtWidgets.QGroupBox(diag_options) self.gb_plc = QtWidgets.QGroupBox(diag_options)
@@ -147,7 +150,7 @@ class Ui_diag_options(object):
self.lbl_lbl_mqtt_status.setText(_translate("diag_options", "MQTT publish service is:")) self.lbl_lbl_mqtt_status.setText(_translate("diag_options", "MQTT publish service is:"))
self.btn_mqtt.setText(_translate("diag_options", "Settings")) self.btn_mqtt.setText(_translate("diag_options", "Settings"))
self.btn_aclxmlrpc.setText(_translate("diag_options", "Edit ACL")) self.btn_aclxmlrpc.setText(_translate("diag_options", "Edit ACL"))
self.cbx_xmlrpc.setText(_translate("diag_options", "Activate XML-RPC for RevPiPyControl")) self.cbx_xmlrpc.setText(_translate("diag_options", "Activate XML-RPC for RevPiCommander"))
if __name__ == "__main__": if __name__ == "__main__":
@@ -158,4 +161,3 @@ if __name__ == "__main__":
ui.setupUi(diag_options) ui.setupUi(diag_options)
diag_options.show() diag_options.show()
sys.exit(app.exec_()) sys.exit(app.exec_())

View File

@@ -2,12 +2,15 @@
# Form implementation generated from reading ui file 'revpiplclist.ui' # Form implementation generated from reading ui file 'revpiplclist.ui'
# #
# Created by: PyQt5 UI code generator 5.10.1 # Created by: PyQt5 UI code generator 5.15.0
# #
# WARNING! All changes made in this file will be lost! # WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again. Do not edit this file unless you know what you are doing.
from PyQt5 import QtCore, QtGui, QtWidgets from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_diag_connections(object): class Ui_diag_connections(object):
def setupUi(self, diag_connections): def setupUi(self, diag_connections):
diag_connections.setObjectName("diag_connections") diag_connections.setObjectName("diag_connections")
@@ -112,9 +115,9 @@ class Ui_diag_connections(object):
self.lbl_folder.setText(_translate("diag_connections", "Sub folder:")) self.lbl_folder.setText(_translate("diag_connections", "Sub folder:"))
self.lbl_address.setText(_translate("diag_connections", "Address (DNS/IP):")) self.lbl_address.setText(_translate("diag_connections", "Address (DNS/IP):"))
self.lbl_port.setText(_translate("diag_connections", "Port (Default {0}):")) self.lbl_port.setText(_translate("diag_connections", "Port (Default {0}):"))
from . import ressources_rc from . import ressources_rc
if __name__ == "__main__": if __name__ == "__main__":
import sys import sys
app = QtWidgets.QApplication(sys.argv) app = QtWidgets.QApplication(sys.argv)
@@ -123,4 +126,3 @@ if __name__ == "__main__":
ui.setupUi(diag_connections) ui.setupUi(diag_connections)
diag_connections.show() diag_connections.show()
sys.exit(app.exec_()) sys.exit(app.exec_())

View File

@@ -2,12 +2,15 @@
# Form implementation generated from reading ui file 'revpiprogram.ui' # Form implementation generated from reading ui file 'revpiprogram.ui'
# #
# Created by: PyQt5 UI code generator 5.10.1 # Created by: PyQt5 UI code generator 5.15.0
# #
# WARNING! All changes made in this file will be lost! # WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again. Do not edit this file unless you know what you are doing.
from PyQt5 import QtCore, QtGui, QtWidgets from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_diag_program(object): class Ui_diag_program(object):
def setupUi(self, diag_program): def setupUi(self, diag_program):
diag_program.setObjectName("diag_program") diag_program.setObjectName("diag_program")
@@ -154,4 +157,3 @@ if __name__ == "__main__":
ui.setupUi(diag_program) ui.setupUi(diag_program)
diag_program.show() diag_program.show()
sys.exit(app.exec_()) sys.exit(app.exec_())

View File

@@ -85,7 +85,7 @@
</attribute> </attribute>
<column> <column>
<property name="text"> <property name="text">
<string>Zero conf Name</string> <string>Zero-conf name</string>
</property> </property>
</column> </column>
<column> <column>

View File

@@ -6,8 +6,8 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>492</width> <width>489</width>
<height>704</height> <height>709</height>
</rect> </rect>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
@@ -29,7 +29,9 @@
</size> </size>
</property> </property>
<property name="text"> <property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;The base topic is the first part of any mqtt topic, the Revolution Pi will publish. You can use any character includig '/' to structure the messages on your broker.&lt;/p&gt;&lt;p&gt;For example: revpi0000/data&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string> <string>The base topic is the first part of any mqtt topic, the Revolution Pi will publish. You can use any character includig '/' to structure the messages on your broker.
For example: revpi0000/data</string>
</property> </property>
<property name="wordWrap"> <property name="wordWrap">
<bool>true</bool> <bool>true</bool>
@@ -133,7 +135,7 @@ Publish values with topic: [basetopic]/set/[outputname]</string>
<item> <item>
<widget class="QGroupBox" name="gb_broker"> <widget class="QGroupBox" name="gb_broker">
<property name="title"> <property name="title">
<string>Brocker settings</string> <string>Broker settings</string>
</property> </property>
<layout class="QFormLayout" name="formLayout"> <layout class="QFormLayout" name="formLayout">
<item row="0" column="0"> <item row="0" column="0">

View File

@@ -11,7 +11,7 @@
</rect> </rect>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
<string>Dialog</string> <string>Program information</string>
</property> </property>
<layout class="QGridLayout" name="gridLayout"> <layout class="QGridLayout" name="gridLayout">
<item row="0" column="0" colspan="3"> <item row="0" column="0" colspan="3">
@@ -24,7 +24,7 @@
</font> </font>
</property> </property>
<property name="text"> <property name="text">
<string>RevPi Python PLC - Control</string> <string>RevPi Python PLC - Commander</string>
</property> </property>
<property name="alignment"> <property name="alignment">
<set>Qt::AlignCenter</set> <set>Qt::AlignCenter</set>

View File

@@ -6,8 +6,8 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>416</width> <width>458</width>
<height>522</height> <height>557</height>
</rect> </rect>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
@@ -226,7 +226,7 @@
<item row="4" column="0"> <item row="4" column="0">
<widget class="QCheckBox" name="cbx_xmlrpc"> <widget class="QCheckBox" name="cbx_xmlrpc">
<property name="text"> <property name="text">
<string>Activate XML-RPC for RevPiPyControl</string> <string>Activate XML-RPC for RevPiCommander</string>
</property> </property>
</widget> </widget>
</item> </item>

File diff suppressed because it is too large Load Diff

View File

@@ -78,7 +78,7 @@ class MqttManager(QtWidgets.QDialog, Ui_diag_mqtt):
if self._changesdone(): if self._changesdone():
ask = QtWidgets.QMessageBox.question( ask = QtWidgets.QMessageBox.question(
self, self.tr("Question"), self.tr( self, self.tr("Question"), self.tr(
"Do you really want to quit? \nUnsaved changes will be lost!" "Do you really want to quit? \nUnsaved changes will be lost."
) )
) == QtWidgets.QMessageBox.Yes ) == QtWidgets.QMessageBox.Yes
if ask: if ask:

View File

@@ -369,8 +369,10 @@ class RevPiCommander(QtWidgets.QMainWindow, Ui_win_revpicommander):
self, self.tr("Error"), self.tr( self, self.tr("Error"), self.tr(
"Can not connect to RevPi XML-RPC Service! \n\n" "Can not connect to RevPi XML-RPC Service! \n\n"
"This could have the following reasons: The RevPi is not " "This could have the following reasons: The RevPi is not "
"online, the XML-RPC service is not running or the ACL " "online, the XML-RPC service is not running / bind to "
"permission is not set for your IP!!!" "localhost or the ACL permission is not set for your "
"IP!!!\n\nRun 'sudo revpipyload_secure_installation' on "
"Revolution Pi to setup this function!"
) )
) )
@@ -475,6 +477,9 @@ class RevPiCommander(QtWidgets.QMainWindow, Ui_win_revpicommander):
if __name__ == "__main__": if __name__ == "__main__":
import sys import sys
#QtWidgets.QApplication.setAttribute(QtCore.Qt.AA_EnableHighDpiScaling, True)
#QtWidgets.QApplication.setAttribute(QtCore.Qt.AA_UseHighDpiPixmaps, True)
app = QtWidgets.QApplication(sys.argv) app = QtWidgets.QApplication(sys.argv)
try: try:

View File

@@ -108,10 +108,10 @@ class RevPiFiles(QtWidgets.QMainWindow, Ui_win_files):
# Tell user, we did not find the auto start program in files # Tell user, we did not find the auto start program in files
if uploaded: if uploaded:
QtWidgets.QMessageBox.information( QtWidgets.QMessageBox.information(
self, self.tr("Information..."), self.tr( self, self.tr("Information"), self.tr(
"A PLC program has been uploaded. Please check the " "A PLC program has been uploaded. Please check the "
"PLC options to see if the correct program is " "PLC program settings to see if the correct program "
"specified as the start program." "is specified as the start program."
) )
) )