from Editeur import session
from qtEficas import Appli
-def lance_eficas(code=None,fichier=None):
+def lance_eficas(code=None,fichier=None,ssCode=None):
"""
Lance l'appli EFICAS
"""
code=options.code
app = QApplication(sys.argv)
- Eficas=Appli(code=code)
+ Eficas=Appli(code=code,ssCode=ssCode)
Eficas.show()
res=app.exec_()
"""
Class implementing the main user interface.
"""
- def __init__(self,code="ASTER",salome=0,parent=None):
+ def __init__(self,code="ASTER",salome=0,parent=None,ssCode=None):
"""
Constructor
"""
self.VERSION_EFICAS="Eficas QT4 V2.0"
self.ihm="QT"
self.code=code
+ self.ssCode=ssCode
self.salome=salome
self.format_fichier="python" #par defaut
self.top = self #(pour CONFIGURATION)