ricompilate interfacce con modifiche varie

This commit is contained in:
2020-01-25 18:13:04 +01:00
parent f002301707
commit 1d37cdd89d
9 changed files with 33 additions and 88 deletions

View File

@@ -45,36 +45,27 @@
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QRadioButton" name="rad_numeroterzo"> <widget class="QCheckBox" name="rad_numeroterzo">
<property name="text"> <property name="text">
<string>Numero</string> <string>Numero</string>
</property> </property>
<attribute name="buttonGroup">
<string notr="true">grp_terzo</string>
</attribute>
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QRadioButton" name="rad_dataterzo"> <widget class="QCheckBox" name="rad_dataterzo">
<property name="text"> <property name="text">
<string>Data</string> <string>Data</string>
</property> </property>
<attribute name="buttonGroup">
<string notr="true">grp_terzo</string>
</attribute>
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QRadioButton" name="rad_titoloterzo"> <widget class="QCheckBox" name="rad_titoloterzo">
<property name="text"> <property name="text">
<string>Titolo</string> <string>Titolo</string>
</property> </property>
<property name="checked"> <property name="checked">
<bool>true</bool> <bool>true</bool>
</property> </property>
<attribute name="buttonGroup">
<string notr="true">grp_terzo</string>
</attribute>
</widget> </widget>
</item> </item>
</layout> </layout>
@@ -107,36 +98,27 @@
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QRadioButton" name="rad_numerosecondo"> <widget class="QCheckBox" name="rad_numerosecondo">
<property name="text"> <property name="text">
<string>Numero</string> <string>Numero</string>
</property> </property>
<attribute name="buttonGroup">
<string notr="true">grp_secondo</string>
</attribute>
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QRadioButton" name="rad_datasecondo"> <widget class="QCheckBox" name="rad_datasecondo">
<property name="text"> <property name="text">
<string>Data</string> <string>Data</string>
</property> </property>
<property name="checked"> <property name="checked">
<bool>true</bool> <bool>true</bool>
</property> </property>
<attribute name="buttonGroup">
<string notr="true">grp_secondo</string>
</attribute>
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QRadioButton" name="rad_titolosecondo"> <widget class="QCheckBox" name="rad_titolosecondo">
<property name="text"> <property name="text">
<string>Titolo</string> <string>Titolo</string>
</property> </property>
<attribute name="buttonGroup">
<string notr="true">grp_secondo</string>
</attribute>
</widget> </widget>
</item> </item>
</layout> </layout>
@@ -188,36 +170,27 @@
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QRadioButton" name="rad_numeroprimo"> <widget class="QCheckBox" name="rad_numeroprimo">
<property name="text"> <property name="text">
<string>Numero</string> <string>Numero</string>
</property> </property>
<property name="checked"> <property name="checked">
<bool>true</bool> <bool>true</bool>
</property> </property>
<attribute name="buttonGroup">
<string notr="true">grp_primo</string>
</attribute>
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QRadioButton" name="rad_dataprimo"> <widget class="QCheckBox" name="rad_dataprimo">
<property name="text"> <property name="text">
<string>Data</string> <string>Data</string>
</property> </property>
<attribute name="buttonGroup">
<string notr="true">grp_primo</string>
</attribute>
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QRadioButton" name="rad_titoloprimo"> <widget class="QCheckBox" name="rad_titoloprimo">
<property name="text"> <property name="text">
<string>Titolo</string> <string>Titolo</string>
</property> </property>
<attribute name="buttonGroup">
<string notr="true">grp_primo</string>
</attribute>
</widget> </widget>
</item> </item>
</layout> </layout>
@@ -277,9 +250,4 @@
</widget> </widget>
<resources/> <resources/>
<connections/> <connections/>
<buttongroups>
<buttongroup name="grp_primo"/>
<buttongroup name="grp_secondo"/>
<buttongroup name="grp_terzo"/>
</buttongroups>
</ui> </ui>

View File

@@ -5,12 +5,11 @@ Created on 24 nov 2019
''' '''
import os, glob, subprocess import os, glob, subprocess
if __name__ == '__main__': if __name__ == '__main__':
print(os.getcwd()) print(os.getcwd())
uifiles = glob.glob("*.ui") uifiles = glob.glob("*.ui")
for f in uifiles: for f in uifiles:
command = r"C:\Program Files\Python37\Scripts\pyuic5.exe "+f command = r"pyuic5.exe "+f
print(command) print(command)
rv = subprocess.run(command, capture_output=True) rv = subprocess.run(command, capture_output=True)
fp = open(r".\compiledUI\\"+f.replace("ui","py"), 'w') fp = open(r".\compiledUI\\"+f.replace("ui","py"), 'w')

View File

@@ -2,10 +2,11 @@
# Form implementation generated from reading ui file 'avanzatetitolo.ui' # Form implementation generated from reading ui file 'avanzatetitolo.ui'
# #
# Created by: PyQt5 UI code generator 5.12.1 # Created by: PyQt5 UI code generator 5.14.1
# #
# WARNING! All changes made in this file will be lost! # WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore, QtGui, QtWidgets from PyQt5 import QtCore, QtGui, QtWidgets
@@ -100,5 +101,3 @@ class Ui_advtitolo(object):
self.lbl_numero.setText(_translate("advtitolo", "Numero")) self.lbl_numero.setText(_translate("advtitolo", "Numero"))
self.btn_avanti.setText(_translate("advtitolo", "Avanti")) self.btn_avanti.setText(_translate("advtitolo", "Avanti"))
self.btn_indietro.setText(_translate("advtitolo", "Indietro")) self.btn_indietro.setText(_translate("advtitolo", "Indietro"))

View File

@@ -2,10 +2,11 @@
# Form implementation generated from reading ui file 'avanzatetitolo2.ui' # Form implementation generated from reading ui file 'avanzatetitolo2.ui'
# #
# Created by: PyQt5 UI code generator 5.12.1 # Created by: PyQt5 UI code generator 5.14.1
# #
# WARNING! All changes made in this file will be lost! # WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore, QtGui, QtWidgets from PyQt5 import QtCore, QtGui, QtWidgets
@@ -112,5 +113,3 @@ class Ui_advtitolo2(object):
self.rad_nt.setText(_translate("advtitolo2", "Numero, Titolo")) self.rad_nt.setText(_translate("advtitolo2", "Numero, Titolo"))
self.btn_annulla.setText(_translate("advtitolo2", "Annulla")) self.btn_annulla.setText(_translate("advtitolo2", "Annulla"))
self.btn_ok.setText(_translate("advtitolo2", "OK")) self.btn_ok.setText(_translate("advtitolo2", "OK"))

View File

@@ -2,10 +2,11 @@
# Form implementation generated from reading ui file 'avanzatetitolo3.ui' # Form implementation generated from reading ui file 'avanzatetitolo3.ui'
# #
# Created by: PyQt5 UI code generator 5.12.1 # Created by: PyQt5 UI code generator 5.14.1
# #
# WARNING! All changes made in this file will be lost! # WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore, QtGui, QtWidgets from PyQt5 import QtCore, QtGui, QtWidgets
@@ -34,20 +35,15 @@ class Ui_advtitolo3(object):
self.lbl_terzo.setFont(font) self.lbl_terzo.setFont(font)
self.lbl_terzo.setObjectName("lbl_terzo") self.lbl_terzo.setObjectName("lbl_terzo")
self.verticalLayout_3.addWidget(self.lbl_terzo) self.verticalLayout_3.addWidget(self.lbl_terzo)
self.rad_numeroterzo = QtWidgets.QRadioButton(advtitolo3) self.rad_numeroterzo = QtWidgets.QCheckBox(advtitolo3)
self.rad_numeroterzo.setObjectName("rad_numeroterzo") self.rad_numeroterzo.setObjectName("rad_numeroterzo")
self.grp_terzo = QtWidgets.QButtonGroup(advtitolo3)
self.grp_terzo.setObjectName("grp_terzo")
self.grp_terzo.addButton(self.rad_numeroterzo)
self.verticalLayout_3.addWidget(self.rad_numeroterzo) self.verticalLayout_3.addWidget(self.rad_numeroterzo)
self.rad_dataterzo = QtWidgets.QRadioButton(advtitolo3) self.rad_dataterzo = QtWidgets.QCheckBox(advtitolo3)
self.rad_dataterzo.setObjectName("rad_dataterzo") self.rad_dataterzo.setObjectName("rad_dataterzo")
self.grp_terzo.addButton(self.rad_dataterzo)
self.verticalLayout_3.addWidget(self.rad_dataterzo) self.verticalLayout_3.addWidget(self.rad_dataterzo)
self.rad_titoloterzo = QtWidgets.QRadioButton(advtitolo3) self.rad_titoloterzo = QtWidgets.QCheckBox(advtitolo3)
self.rad_titoloterzo.setChecked(True) self.rad_titoloterzo.setChecked(True)
self.rad_titoloterzo.setObjectName("rad_titoloterzo") self.rad_titoloterzo.setObjectName("rad_titoloterzo")
self.grp_terzo.addButton(self.rad_titoloterzo)
self.verticalLayout_3.addWidget(self.rad_titoloterzo) self.verticalLayout_3.addWidget(self.rad_titoloterzo)
self.gridLayout.addLayout(self.verticalLayout_3, 6, 0, 1, 1) self.gridLayout.addLayout(self.verticalLayout_3, 6, 0, 1, 1)
spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
@@ -60,20 +56,15 @@ class Ui_advtitolo3(object):
self.lbl_secondo.setFont(font) self.lbl_secondo.setFont(font)
self.lbl_secondo.setObjectName("lbl_secondo") self.lbl_secondo.setObjectName("lbl_secondo")
self.verticalLayout.addWidget(self.lbl_secondo) self.verticalLayout.addWidget(self.lbl_secondo)
self.rad_numerosecondo = QtWidgets.QRadioButton(advtitolo3) self.rad_numerosecondo = QtWidgets.QCheckBox(advtitolo3)
self.rad_numerosecondo.setObjectName("rad_numerosecondo") self.rad_numerosecondo.setObjectName("rad_numerosecondo")
self.grp_secondo = QtWidgets.QButtonGroup(advtitolo3)
self.grp_secondo.setObjectName("grp_secondo")
self.grp_secondo.addButton(self.rad_numerosecondo)
self.verticalLayout.addWidget(self.rad_numerosecondo) self.verticalLayout.addWidget(self.rad_numerosecondo)
self.rad_datasecondo = QtWidgets.QRadioButton(advtitolo3) self.rad_datasecondo = QtWidgets.QCheckBox(advtitolo3)
self.rad_datasecondo.setChecked(True) self.rad_datasecondo.setChecked(True)
self.rad_datasecondo.setObjectName("rad_datasecondo") self.rad_datasecondo.setObjectName("rad_datasecondo")
self.grp_secondo.addButton(self.rad_datasecondo)
self.verticalLayout.addWidget(self.rad_datasecondo) self.verticalLayout.addWidget(self.rad_datasecondo)
self.rad_titolosecondo = QtWidgets.QRadioButton(advtitolo3) self.rad_titolosecondo = QtWidgets.QCheckBox(advtitolo3)
self.rad_titolosecondo.setObjectName("rad_titolosecondo") self.rad_titolosecondo.setObjectName("rad_titolosecondo")
self.grp_secondo.addButton(self.rad_titolosecondo)
self.verticalLayout.addWidget(self.rad_titolosecondo) self.verticalLayout.addWidget(self.rad_titolosecondo)
self.gridLayout.addLayout(self.verticalLayout, 5, 0, 1, 1) self.gridLayout.addLayout(self.verticalLayout, 5, 0, 1, 1)
self.lbl_istruzioni = QtWidgets.QLabel(advtitolo3) self.lbl_istruzioni = QtWidgets.QLabel(advtitolo3)
@@ -99,20 +90,15 @@ class Ui_advtitolo3(object):
self.lbl_primo.setFont(font) self.lbl_primo.setFont(font)
self.lbl_primo.setObjectName("lbl_primo") self.lbl_primo.setObjectName("lbl_primo")
self.verticalLayout_2.addWidget(self.lbl_primo) self.verticalLayout_2.addWidget(self.lbl_primo)
self.rad_numeroprimo = QtWidgets.QRadioButton(advtitolo3) self.rad_numeroprimo = QtWidgets.QCheckBox(advtitolo3)
self.rad_numeroprimo.setChecked(True) self.rad_numeroprimo.setChecked(True)
self.rad_numeroprimo.setObjectName("rad_numeroprimo") self.rad_numeroprimo.setObjectName("rad_numeroprimo")
self.grp_primo = QtWidgets.QButtonGroup(advtitolo3)
self.grp_primo.setObjectName("grp_primo")
self.grp_primo.addButton(self.rad_numeroprimo)
self.verticalLayout_2.addWidget(self.rad_numeroprimo) self.verticalLayout_2.addWidget(self.rad_numeroprimo)
self.rad_dataprimo = QtWidgets.QRadioButton(advtitolo3) self.rad_dataprimo = QtWidgets.QCheckBox(advtitolo3)
self.rad_dataprimo.setObjectName("rad_dataprimo") self.rad_dataprimo.setObjectName("rad_dataprimo")
self.grp_primo.addButton(self.rad_dataprimo)
self.verticalLayout_2.addWidget(self.rad_dataprimo) self.verticalLayout_2.addWidget(self.rad_dataprimo)
self.rad_titoloprimo = QtWidgets.QRadioButton(advtitolo3) self.rad_titoloprimo = QtWidgets.QCheckBox(advtitolo3)
self.rad_titoloprimo.setObjectName("rad_titoloprimo") self.rad_titoloprimo.setObjectName("rad_titoloprimo")
self.grp_primo.addButton(self.rad_titoloprimo)
self.verticalLayout_2.addWidget(self.rad_titoloprimo) self.verticalLayout_2.addWidget(self.rad_titoloprimo)
self.gridLayout.addLayout(self.verticalLayout_2, 3, 0, 1, 1) self.gridLayout.addLayout(self.verticalLayout_2, 3, 0, 1, 1)
self.line_2 = QtWidgets.QFrame(advtitolo3) self.line_2 = QtWidgets.QFrame(advtitolo3)
@@ -167,5 +153,3 @@ class Ui_advtitolo3(object):
self.btn_annulla.setText(_translate("advtitolo3", "Annulla")) self.btn_annulla.setText(_translate("advtitolo3", "Annulla"))
self.btn_OK.setText(_translate("advtitolo3", "OK")) self.btn_OK.setText(_translate("advtitolo3", "OK"))
self.label_2.setText(_translate("advtitolo3", "Suffisso Titolo")) self.label_2.setText(_translate("advtitolo3", "Suffisso Titolo"))

View File

@@ -2,10 +2,11 @@
# Form implementation generated from reading ui file 'mainwindow.ui' # Form implementation generated from reading ui file 'mainwindow.ui'
# #
# Created by: PyQt5 UI code generator 5.12.1 # Created by: PyQt5 UI code generator 5.14.1
# #
# WARNING! All changes made in this file will be lost! # WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore, QtGui, QtWidgets from PyQt5 import QtCore, QtGui, QtWidgets
@@ -187,5 +188,3 @@ class Ui_mainwin(object):
self.actionOpzioni.setText(_translate("mainwin", "Opzioni")) self.actionOpzioni.setText(_translate("mainwin", "Opzioni"))
self.actionLingua.setText(_translate("mainwin", "Lingua Interfaccia")) self.actionLingua.setText(_translate("mainwin", "Lingua Interfaccia"))
self.actionAvanzate.setText(_translate("mainwin", "Avanzate")) self.actionAvanzate.setText(_translate("mainwin", "Avanzate"))

View File

@@ -2,10 +2,11 @@
# Form implementation generated from reading ui file 'opzioniavanzate.ui' # Form implementation generated from reading ui file 'opzioniavanzate.ui'
# #
# Created by: PyQt5 UI code generator 5.12.1 # Created by: PyQt5 UI code generator 5.14.1
# #
# WARNING! All changes made in this file will be lost! # WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore, QtGui, QtWidgets from PyQt5 import QtCore, QtGui, QtWidgets
@@ -256,5 +257,3 @@ class Ui_advoption(object):
self.label.setText(_translate("advoption", "Seleziona le opzioni predefinite")) self.label.setText(_translate("advoption", "Seleziona le opzioni predefinite"))
self.btn_annulla.setText(_translate("advoption", "Annulla")) self.btn_annulla.setText(_translate("advoption", "Annulla"))
self.btn_ok.setText(_translate("advoption", "OK")) self.btn_ok.setText(_translate("advoption", "OK"))

View File

@@ -2,10 +2,11 @@
# Form implementation generated from reading ui file 'selezout.ui' # Form implementation generated from reading ui file 'selezout.ui'
# #
# Created by: PyQt5 UI code generator 5.12.1 # Created by: PyQt5 UI code generator 5.14.1
# #
# WARNING! All changes made in this file will be lost! # WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore, QtGui, QtWidgets from PyQt5 import QtCore, QtGui, QtWidgets
@@ -107,5 +108,3 @@ class Ui_selezout(object):
self.rad_mainbodyEFile.setText(_translate("selezout", "Bodyfile + File singoli")) self.rad_mainbodyEFile.setText(_translate("selezout", "Bodyfile + File singoli"))
self.rad_mainbody.setText(_translate("selezout", "Bodyfile")) self.rad_mainbody.setText(_translate("selezout", "Bodyfile"))
self.rad_file.setText(_translate("selezout", "File singoli")) self.rad_file.setText(_translate("selezout", "File singoli"))

View File

@@ -2,10 +2,11 @@
# Form implementation generated from reading ui file 'titolow.ui' # Form implementation generated from reading ui file 'titolow.ui'
# #
# Created by: PyQt5 UI code generator 5.12.1 # Created by: PyQt5 UI code generator 5.14.1
# #
# WARNING! All changes made in this file will be lost! # WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore, QtGui, QtWidgets from PyQt5 import QtCore, QtGui, QtWidgets
@@ -175,5 +176,3 @@ class Ui_titolo(object):
self.rad_tratt.setText(_translate("titolo", "-")) self.rad_tratt.setText(_translate("titolo", "-"))
self.rad_trattbass.setText(_translate("titolo", "_")) self.rad_trattbass.setText(_translate("titolo", "_"))
self.rad_altro.setText(_translate("titolo", "Altro:")) self.rad_altro.setText(_translate("titolo", "Altro:"))