Salome HOME
bug de CBChecked a True
[tools/eficas.git] / InterfaceQT4 / monWidgetSimpTuple2.py
index ec5c421d2684fbaf613f9758fce0e56b0a7d012e..1d45ae5cafa471d6aeecf5a329265dd7654e1e29 100644 (file)
@@ -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 :