self.ed = HydroStudyEditor()
self.codedir = os.path.dirname(__file__)
sys.path[:0] = [self.codedir]
- eficasSalome.MyEficas.__init__(self, sgPyQt.getDesktop(), "coupling1d2d",
- fichier, version = version)
area = QScrollArea(SalomePyQt.SalomePyQt().getDesktop());
+ eficasSalome.MyEficas.__init__(self, area, "coupling1d2d",
+ fichier, version = version)
gridLayout = QGridLayout(area)
gridLayout.addWidget(self)
area.setWidgetResizable(1)
self.ed = HydroStudyEditor()
self.codedir = os.path.dirname(__file__)
sys.path[:0] = [self.codedir]
- eficasSalome.MyEficas.__init__(self, sgPyQt.getDesktop(),
+ area = QScrollArea(SalomePyQt.SalomePyQt().getDesktop());
+ eficasSalome.MyEficas.__init__(self, area,
"mascaret",
fichier, version = version)
- area = QScrollArea(SalomePyQt.SalomePyQt().getDesktop());
gridLayout = QGridLayout(area)
gridLayout.addWidget(self)
area.setWidgetResizable(1)
self.ed = HydroStudyEditor()
self.codedir = os.path.dirname(__file__)
sys.path[:0] = [self.codedir]
- eficasSalome.MyEficas.__init__(self, sgPyQt.getDesktop(), "pytel",
- fichier, version = version)
area = QScrollArea(SalomePyQt.SalomePyQt().getDesktop());
+ eficasSalome.MyEficas.__init__(self, area, "pytel",
+ fichier, version = version)
gridLayout = QGridLayout(area)
gridLayout.addWidget(self)
area.setWidgetResizable(1)
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