Salome HOME
from Pascale: debug embedded Eficas windows
[modules/hydrosolver.git] / src / salome_hydro / telemac2d / eficas / appli.py
index 156ab6239b5bfc1cc9beef0c52aea82a864487d0..834af0065b4d93ecd9785fa2be6c7f3ae68b738c 100644 (file)
@@ -51,15 +51,22 @@ class EficasForTelemac2DAppli(eficasSalome.MyEficas):
         self.ed = HydroStudyEditor()
         self.codedir = os.path.dirname(__file__)
         sys.path[:0] = [self.codedir]
-        eficasSalome.MyEficas.__init__(self, sgPyQt.getDesktop(),
+        #eficasSalome.MyEficas.__init__(self, sgPyQt.getDesktop(),
+        #                               code = code, fichier = fichier,
+        #                               version = version, lang = lang)
+        #area = QScrollArea(SalomePyQt.SalomePyQt().getDesktop());
+        area = QScrollArea(SalomePyQt.SalomePyQt().getDesktop());
+        eficasSalome.MyEficas.__init__(self, area,
                                        code = code, fichier = fichier,
                                        version = version, lang = lang)
-        area = QScrollArea(SalomePyQt.SalomePyQt().getDesktop());
         gridLayout = QGridLayout(area)
         gridLayout.addWidget(self)
         area.setWidgetResizable(1)
         sgPyQt.createView("Eficas Telemac2D", self)
 
+
+
+
     def addJdcInSalome(self, jdcPath):
         """
         Add the newly created file in Salome study