From: Paul RASCLE Date: Tue, 7 Feb 2017 09:08:52 +0000 (+0100) Subject: layout pour pytel X-Git-Tag: Salome_8_3_Hydro_2_0rc1~26 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=115c05fd6eafdf9c846c4d1323e9aef4b7675b8d;p=modules%2Fhydrosolver.git layout pour pytel --- diff --git a/src/salome_hydro/pytel/eficas/appli.py b/src/salome_hydro/pytel/eficas/appli.py old mode 100644 new mode 100755 index 1f86a10..b1189a5 --- a/src/salome_hydro/pytel/eficas/appli.py +++ b/src/salome_hydro/pytel/eficas/appli.py @@ -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):