X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=InterfaceQT4%2FmonWidgetSimpTuple2.py;h=1d45ae5cafa471d6aeecf5a329265dd7654e1e29;hb=14c730a013c3b5e981815f4ff929f8c9096b1184;hp=ec5c421d2684fbaf613f9758fce0e56b0a7d012e;hpb=45496e147f519f4e64795eff3f414cc65b72c1fd;p=tools%2Feficas.git diff --git a/InterfaceQT4/monWidgetSimpTuple2.py b/InterfaceQT4/monWidgetSimpTuple2.py index ec5c421d..1d45ae5c 100644 --- a/InterfaceQT4/monWidgetSimpTuple2.py +++ b/InterfaceQT4/monWidgetSimpTuple2.py @@ -21,8 +21,8 @@ import string,types,os # Modules Eficas -from PyQt4.QtGui import * -from PyQt4.QtCore import * +#from PyQt4.QtGui import * +#from PyQt4.QtCore import * from Extensions.i18n import tr from feuille import Feuille @@ -39,8 +39,8 @@ class MonWidgetSimpTuple2 (Ui_WidgetTuple2,MonWidgetSimpTuple): if self.objSimp.isImmuable() : self.lineEditVal1.setDisabled(True) self.lineEditVal2.setDisabled(True) - self.lineEditVal1.setStyleSheet(QString.fromUtf8("background:rgb(244,244,244);\n" "border:0px;\n")) - self.lineEditVal2.setStyleSheet(QString.fromUtf8("background:rgb(244,244,244);\n" "border:0px;\n")) + self.lineEditVal1.setStyleSheet("background:rgb(244,244,244);\n" "border:0px;\n") + self.lineEditVal2.setStyleSheet("background:rgb(244,244,244);\n" "border:0px;\n") self.lineEditVal1.setToolTip(tr("Valeur non modifiable")) self.lineEditVal2.setToolTip(tr("Valeur non modifiable")) else :