]> SALOME platform Git repositories - modules/hydrosolver.git/commitdiff
Salome HOME
layout pour pytel
authorPaul RASCLE <paul.rascle@edf.fr>
Tue, 7 Feb 2017 09:08:52 +0000 (10:08 +0100)
committerPaul RASCLE <paul.rascle@edf.fr>
Tue, 7 Feb 2017 09:08:52 +0000 (10:08 +0100)
src/salome_hydro/pytel/eficas/appli.py [changed mode: 0644->0755]

old mode 100644 (file)
new mode 100755 (executable)
index 1f86a10..b1189a5
@@ -18,7 +18,7 @@
 import os
 import sys
 
-from PyQt5.QtWidgets import QMessageBox 
+from PyQt5.QtWidgets import QMessageBox , QScrollArea, QGridLayout
 
 
 import salome
@@ -49,6 +49,12 @@ class EficasForPytelAppli(eficasSalome.MyEficas):
         sys.path[:0] = [self.codedir]
         eficasSalome.MyEficas.__init__(self, sgPyQt.getDesktop(), "pytel",
                                        fichier, version = version)
+        area = QScrollArea(SalomePyQt.SalomePyQt().getDesktop());
+        gridLayout = QGridLayout(area)
+        gridLayout.addWidget(self)
+        area.setWidgetResizable(1)
+        self.fileNew()
+
         sgPyQt.createView("Eficas Pytel", self)
 
     def addJdcInSalome(self, jdcPath):