From 68af27699b3d841d7d3b21223cbf4e27e4ddd45c Mon Sep 17 00:00:00 2001 From: "pascale.noyret" Date: Fri, 7 Aug 2015 14:06:33 +0200 Subject: [PATCH] linux/windows --- InterfaceQT4/monWidgetPlusieursBase.py | 4 ++-- InterfaceQT4/monWidgetPlusieursIntoOrdonne.py | 2 +- InterfaceQT4/monWidgetSimpFichier.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/InterfaceQT4/monWidgetPlusieursBase.py b/InterfaceQT4/monWidgetPlusieursBase.py index fd35071c..959b58e4 100644 --- a/InterfaceQT4/monWidgetPlusieursBase.py +++ b/InterfaceQT4/monWidgetPlusieursBase.py @@ -18,7 +18,7 @@ # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com # # Modules Python -import string,types,os +import string,types,os,sys # Modules Eficas from PyQt4.QtGui import * @@ -48,7 +48,7 @@ class MonWidgetPlusieursBase (Ui_WidgetPlusieursBase,Feuille,GereListe): GereListe.__init__(self) self.connect(self.BSelectFichier,SIGNAL("clicked()"), self.selectInFile) - if sys.platform[0:5]!="linux": + if sys.platform[0:5]!="linux": repIcon=self.node.editor.appliEficas.repIcon fichier=os.path.join(repIcon, 'arrow_up.png') icon = QIcon(fichier) diff --git a/InterfaceQT4/monWidgetPlusieursIntoOrdonne.py b/InterfaceQT4/monWidgetPlusieursIntoOrdonne.py index b56f4b04..81b13a53 100644 --- a/InterfaceQT4/monWidgetPlusieursIntoOrdonne.py +++ b/InterfaceQT4/monWidgetPlusieursIntoOrdonne.py @@ -18,7 +18,7 @@ # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com # # Modules Python -import string,types,os +import string,types,os,sys # Modules Eficas from PyQt4.QtGui import * diff --git a/InterfaceQT4/monWidgetSimpFichier.py b/InterfaceQT4/monWidgetSimpFichier.py index 25f5c073..429272c6 100644 --- a/InterfaceQT4/monWidgetSimpFichier.py +++ b/InterfaceQT4/monWidgetSimpFichier.py @@ -18,7 +18,7 @@ # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com # # Modules Python -import string,types,os +import string,types,os,sys # Modules Eficas from PyQt4.QtGui import * -- 2.39.2