modifiche compilatore interfaccia
This commit is contained in:
@@ -15,7 +15,7 @@ if __name__ == '__main__':
|
||||
fp = open(r".\compiledUI\\"+f.replace("ui","py"), 'w')
|
||||
fp.write(str(rv.stdout, encoding='utf-8').replace('\r', ''))
|
||||
fp.close()
|
||||
command = r'pyrcc5.exe '+'resources.qrc'
|
||||
command = r'pyrcc5.exe '+'resources/resources.qrc'
|
||||
print (command)
|
||||
rv = subprocess.run(command, capture_output=True)
|
||||
fp = open(r".\compiledUI\\resources_rc.py", 'w')
|
||||
|
||||
@@ -244,23 +244,23 @@ class Ui_mainwin(object):
|
||||
self.actionLingua = QtWidgets.QAction(mainwin)
|
||||
self.actionLingua.setEnabled(False)
|
||||
icon6 = QtGui.QIcon()
|
||||
icon6.addPixmap(QtGui.QPixmap(":/icons/icons8-globe-earth-80.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
||||
icon6.addPixmap(QtGui.QPixmap(":/ico/icons/icons8-globe-earth-80.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
||||
self.actionLingua.setIcon(icon6)
|
||||
self.actionLingua.setObjectName("actionLingua")
|
||||
self.actionAvanzate = QtWidgets.QAction(mainwin)
|
||||
icon7 = QtGui.QIcon()
|
||||
icon7.addPixmap(QtGui.QPixmap(":/icons/icons8-smartphone-ram-100.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
||||
icon7.addPixmap(QtGui.QPixmap(":/ico/icons/icons8-smartphone-ram-100.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
||||
self.actionAvanzate.setIcon(icon7)
|
||||
self.actionAvanzate.setObjectName("actionAvanzate")
|
||||
self.actionManuale = QtWidgets.QAction(mainwin)
|
||||
self.actionManuale.setEnabled(False)
|
||||
icon8 = QtGui.QIcon()
|
||||
icon8.addPixmap(QtGui.QPixmap(":/icons/icons8-user-manual-80.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
||||
icon8.addPixmap(QtGui.QPixmap(":/ico/icons/icons8-user-manual-80.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
||||
self.actionManuale.setIcon(icon8)
|
||||
self.actionManuale.setObjectName("actionManuale")
|
||||
self.actionAbout_SPEx = QtWidgets.QAction(mainwin)
|
||||
icon9 = QtGui.QIcon()
|
||||
icon9.addPixmap(QtGui.QPixmap(":/icons/icons8-info-80.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
||||
icon9.addPixmap(QtGui.QPixmap(":/ico/icons/icons8-info-80.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
||||
self.actionAbout_SPEx.setIcon(icon9)
|
||||
self.actionAbout_SPEx.setObjectName("actionAbout_SPEx")
|
||||
self.bar_file.addAction(self.actionCarica_Preset)
|
||||
@@ -286,7 +286,7 @@ class Ui_mainwin(object):
|
||||
"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
|
||||
"p, li { white-space: pre-wrap; }\n"
|
||||
"</style></head><body style=\" font-family:\'MS Shell Dlg 2\'; font-size:6.6pt; font-weight:400; font-style:normal;\">\n"
|
||||
"<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:10pt;\"><br /></p></body></html>"))
|
||||
"<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:7pt;\"><br /></p></body></html>"))
|
||||
self.btn_cartellasorg.setText(_translate("mainwin", "-> "))
|
||||
self.btn_cartelladest.setText(_translate("mainwin", "-> "))
|
||||
self.lbl_cartellasorg.setText(_translate("mainwin", "Cartella sorgente"))
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -150,7 +150,7 @@
|
||||
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
||||
p, li { white-space: pre-wrap; }
|
||||
</style></head><body style=" font-family:'MS Shell Dlg 2'; font-size:6.6pt; font-weight:400; font-style:normal;">
|
||||
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:10pt;"><br /></p></body></html></string>
|
||||
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:7pt;"><br /></p></body></html></string>
|
||||
</property>
|
||||
<property name="textInteractionFlags">
|
||||
<set>Qt::TextSelectableByMouse</set>
|
||||
@@ -488,8 +488,8 @@ p, li { white-space: pre-wrap; }
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset>
|
||||
<normaloff>:/icons/icons8-globe-earth-80.png</normaloff>:/icons/icons8-globe-earth-80.png</iconset>
|
||||
<iconset resource="resources/resources.qrc">
|
||||
<normaloff>:/ico/icons/icons8-globe-earth-80.png</normaloff>:/ico/icons/icons8-globe-earth-80.png</iconset>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Lingua Interfaccia</string>
|
||||
@@ -497,8 +497,8 @@ p, li { white-space: pre-wrap; }
|
||||
</action>
|
||||
<action name="actionAvanzate">
|
||||
<property name="icon">
|
||||
<iconset>
|
||||
<normaloff>:/icons/icons8-smartphone-ram-100.png</normaloff>:/icons/icons8-smartphone-ram-100.png</iconset>
|
||||
<iconset resource="resources/resources.qrc">
|
||||
<normaloff>:/ico/icons/icons8-smartphone-ram-100.png</normaloff>:/ico/icons/icons8-smartphone-ram-100.png</iconset>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Avanzate</string>
|
||||
@@ -509,8 +509,8 @@ p, li { white-space: pre-wrap; }
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset>
|
||||
<normaloff>:/icons/icons8-user-manual-80.png</normaloff>:/icons/icons8-user-manual-80.png</iconset>
|
||||
<iconset resource="resources/resources.qrc">
|
||||
<normaloff>:/ico/icons/icons8-user-manual-80.png</normaloff>:/ico/icons/icons8-user-manual-80.png</iconset>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Manuale</string>
|
||||
@@ -518,8 +518,8 @@ p, li { white-space: pre-wrap; }
|
||||
</action>
|
||||
<action name="actionAbout_SPEx">
|
||||
<property name="icon">
|
||||
<iconset>
|
||||
<normaloff>:/icons/icons8-info-80.png</normaloff>:/icons/icons8-info-80.png</iconset>
|
||||
<iconset resource="resources/resources.qrc">
|
||||
<normaloff>:/ico/icons/icons8-info-80.png</normaloff>:/ico/icons/icons8-info-80.png</iconset>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>About SPEx</string>
|
||||
|
||||
@@ -577,9 +577,9 @@ if __name__ == '__main__':
|
||||
conf.use("defaults.json")
|
||||
conf.use(conf.getParam('paths', 'lastUsed'))
|
||||
|
||||
t = QTranslator()
|
||||
t.load(":/translations/mainwindow.qm")
|
||||
app.installTranslator(t)
|
||||
#t = QTranslator()
|
||||
#t.load(":/translations/mainwindow.qm")
|
||||
#app.installTranslator(t)
|
||||
|
||||
except Exception as e:
|
||||
print(e)
|
||||
|
||||
Reference in New Issue
Block a user