mannaggia quanti file nuovi da compilare!
comunque compilato tutto a posto, il pasticcio dei commit si e' risolto
This commit is contained in:
@@ -5,14 +5,25 @@ Created on 2 nov 2019
|
||||
'''
|
||||
import sys
|
||||
import PyQt5.QtWidgets
|
||||
|
||||
from mainwindow import Ui_mainwin
|
||||
from selezout import Ui_selezout
|
||||
from titolow import Ui_titolo
|
||||
from avanzatetitolo import Ui_advtitolo
|
||||
|
||||
from libfancylogger import fancyLogger
|
||||
from libconfload import bananaCONF
|
||||
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")
|
||||
|
||||
# inizializzazione interfaccia
|
||||
self.ui = Ui_mainwin()
|
||||
self.ui.setupUi(self)
|
||||
self.titolo = bananaTitolo()
|
||||
@@ -47,11 +58,11 @@ class bananaMain(PyQt5.QtWidgets.QMainWindow):
|
||||
self.ui.wgt_main.setCurrentIndex(self.ui.wgt_main.currentIndex()-1)
|
||||
pass
|
||||
|
||||
def openFileDialog(self, name):
|
||||
def openFileDialog(self, name, path):
|
||||
return PyQt5.QtWidgets.QFileDialog.getExistingDirectory(self,name)
|
||||
|
||||
def selezSorg(self):
|
||||
print(self.openFileDialog("Seleziona Cartella Sorgente"))
|
||||
print(self.openFileDialog("Seleziona Cartella Sorgente", self.conf.getParam(k)))
|
||||
pass
|
||||
|
||||
def selezDest(self):
|
||||
@@ -64,26 +75,31 @@ class bananaMain(PyQt5.QtWidgets.QMainWindow):
|
||||
#############################################################
|
||||
|
||||
class bananaTitolo(PyQt5.QtWidgets.QWidget):
|
||||
def __init__(self):
|
||||
def __init__(self, confloader=None):
|
||||
PyQt5.QtWidgets.QWidget.__init__(self)
|
||||
self.titoloui = Ui_titolo()
|
||||
self.titoloui.setupUi(self)
|
||||
pass
|
||||
|
||||
class bananaTitoloAvanzate(PyQt5.QtWidgets.QWidget):
|
||||
def __init__(self):
|
||||
def __init__(self, confloader=None):
|
||||
PyQt5.QtWidgets.QWidget.__init__(self)
|
||||
self.titoloavanzateui = Ui_advtitolo()
|
||||
self.titoloavanzateui.setupUi(self)
|
||||
pass
|
||||
|
||||
class bananaSelezOut(PyQt5.QtWidgets.QWidget):
|
||||
def __init__(self):
|
||||
def __init__(self, confloader=None):
|
||||
PyQt5.QtWidgets.QWidget.__init__(self)
|
||||
self.selezoutui = Ui_selezout()
|
||||
self.selezoutui.setupUi(self)
|
||||
pass
|
||||
|
||||
class bananaSplitterInterface(PyQt5.QtWidgets.QWidget):
|
||||
def __init__(self, confloader=None):
|
||||
PyQt5.QtWidgets.QWidget.__init__(self)
|
||||
pass
|
||||
|
||||
#############################################################
|
||||
####################### MAIN ################################
|
||||
#############################################################
|
||||
|
||||
Reference in New Issue
Block a user