From 115c05fd6eafdf9c846c4d1323e9aef4b7675b8d Mon Sep 17 00:00:00 2001 From: Paul RASCLE Date: Tue, 7 Feb 2017 10:08:52 +0100 Subject: [PATCH] layout pour pytel --- src/salome_hydro/pytel/eficas/appli.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) mode change 100644 => 100755 src/salome_hydro/pytel/eficas/appli.py 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): -- 2.39.2