from Editeur import session
from qtEficas import Appli
-def lance_eficas(code=None,fichier=None):
+def lance_eficas(code=None,fichier=None,choix="non"):
"""
Lance l'appli EFICAS
"""
code=options.code
app = QApplication(sys.argv)
- Eficas=Appli(code=code)
+ Eficas=Appli(code=code,choix=choix)
Eficas.show()
res=app.exec_()
"""
def __init__(self,listeCata,readercata, QWparent , name = None,fl = 0):
#print "MonChoixCata"
- QtGui.QDialog.__init__(self,QWparent)
+ QtGui.QDialog.__init__(self)
self.setModal(True)
self.setupUi(self)
self.listeCata=listeCata