lettura e settaggio dei parametri in modo ricorsivo funzionante
This commit is contained in:
@@ -19,10 +19,13 @@ from libsplit import bananaSPLITTER
|
||||
class bananaMain(PyQt5.QtWidgets.QMainWindow):
|
||||
def __init__(self):
|
||||
PyQt5.QtWidgets.QMainWindow.__init__(self)
|
||||
self.logger = fancyLogger(fileLog=False)
|
||||
self.conf = bananaCONF(workdir=r"./libbananasplit", logger=self.logger)
|
||||
self.conf.open()
|
||||
self.conf.use("testEN.json")
|
||||
try:
|
||||
self.logger = fancyLogger(filepath=r"./libbananasplit/loggerconf.json",fileLog=False)
|
||||
self.conf = bananaCONF(workdir=r"./libbananasplit", logger=self.logger)
|
||||
self.conf.open()
|
||||
self.conf.use("testEN.json")
|
||||
except:
|
||||
sys.exit()
|
||||
|
||||
# inizializzazione interfaccia
|
||||
self.ui = Ui_mainwin()
|
||||
@@ -76,7 +79,8 @@ class bananaMain(PyQt5.QtWidgets.QMainWindow):
|
||||
|
||||
def openSavePreset(self):
|
||||
self.logger.debug("Apri Salva Preset")
|
||||
self.logger.debug(str(self.conf.setParam("pippo",'paths', 'INworkPath')))
|
||||
self.conf.setParam(val="pippo",keys=('paths','INworkPath',))
|
||||
self.logger.debug(str(self.conf.getParam('paths')))
|
||||
pass
|
||||
|
||||
def openAdvOpt(self):
|
||||
|
||||
Reference in New Issue
Block a user