corretto problema versione file e ricompilate interfacce
This commit is contained in:
@@ -205,7 +205,7 @@ class Ui_mainwin(object):
|
||||
font = QtGui.QFont()
|
||||
font.setPointSize(11)
|
||||
self.btn_avanti.setFont(font)
|
||||
self.btn_avanti.setLayoutDirection(QtCore.Qt.RightToLeft)
|
||||
self.btn_avanti.setLayoutDirection(QtCore.Qt.LeftToRight)
|
||||
icon3 = QtGui.QIcon()
|
||||
icon3.addPixmap(QtGui.QPixmap(":/icons/icons8-arrow-80.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
||||
self.btn_avanti.setIcon(icon3)
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -88,7 +88,7 @@ class Ui_titolo(object):
|
||||
font = QtGui.QFont()
|
||||
font.setPointSize(11)
|
||||
self.btn_avanti.setFont(font)
|
||||
self.btn_avanti.setLayoutDirection(QtCore.Qt.RightToLeft)
|
||||
self.btn_avanti.setLayoutDirection(QtCore.Qt.LeftToRight)
|
||||
icon2 = QtGui.QIcon()
|
||||
icon2.addPixmap(QtGui.QPixmap(":/icons/icons8-arrow-80.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
||||
self.btn_avanti.setIcon(icon2)
|
||||
|
||||
@@ -392,7 +392,7 @@ p, li { white-space: pre-wrap; }
|
||||
</font>
|
||||
</property>
|
||||
<property name="layoutDirection">
|
||||
<enum>Qt::RightToLeft</enum>
|
||||
<enum>Qt::LeftToRight</enum>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Avanti</string>
|
||||
|
||||
@@ -181,7 +181,7 @@
|
||||
</font>
|
||||
</property>
|
||||
<property name="layoutDirection">
|
||||
<enum>Qt::RightToLeft</enum>
|
||||
<enum>Qt::LeftToRight</enum>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Avanti</string>
|
||||
|
||||
@@ -50,7 +50,6 @@ class bananaMain(PyQt5.QtWidgets.QMainWindow):
|
||||
# connetti bottoni avanti
|
||||
self.ui.btn_avanti.clicked.connect(self.nextTab)
|
||||
self.titolo.titoloui.btn_avanti.clicked.connect(self.nextTab)
|
||||
#self.selezout.selezoutui.btn_avanti.clicked.connect(self.nextTab)
|
||||
|
||||
#connetti bottoni indietro
|
||||
self.titolo.titoloui.btn_indietro.clicked.connect(self.prevTab)
|
||||
@@ -66,6 +65,10 @@ class bananaMain(PyQt5.QtWidgets.QMainWindow):
|
||||
self.ui.actionCarica_Preset.triggered.connect(self.openLoadPreset)
|
||||
self.ui.actionSalva_Preset.triggered.connect(self.openSavePreset)
|
||||
|
||||
#connetti i radbutton versione
|
||||
self.ui.rad_fileNew.clicked.connect(self.selezVers)
|
||||
self.ui.rad_fileOld.clicked.connect(self.selezVers)
|
||||
|
||||
#connetti segnali delle sottointerfacce
|
||||
self.advopt.update.connect(self.fillAllInterfaces)
|
||||
self.logger.sendLog.connect(self.appendLog)
|
||||
@@ -107,7 +110,6 @@ class bananaMain(PyQt5.QtWidgets.QMainWindow):
|
||||
def nextTab(self):
|
||||
self.ui.wgt_main.setCurrentIndex(self.ui.wgt_main.currentIndex()+1)
|
||||
self.logger.debug("Prossima Tab")
|
||||
print(self.geometry().width(), self.geometry().height())
|
||||
pass
|
||||
|
||||
def prevTab(self):
|
||||
@@ -178,12 +180,15 @@ class bananaMain(PyQt5.QtWidgets.QMainWindow):
|
||||
self.logger.info("Selezionata Cartella Destinazione: {}".format(rv+"/"))
|
||||
pass
|
||||
|
||||
def selezVers(self):
|
||||
self.conf.setParam(('docStruct','fileVersNew'), self.ui.rad_fileNew.isChecked())
|
||||
self.logger.debug(f"Selezionata Versione File")
|
||||
|
||||
def openFileDialog(self, name, path):
|
||||
self.log.debug("Apro in directory: {}".format(path))
|
||||
return
|
||||
|
||||
def applicaTutto(self):
|
||||
self.conf.setParam(('docStruct','fileVersNew'), self.ui.rad_fileNew.isChecked())
|
||||
self.titolo.applica()
|
||||
self.selezout.applica()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user