# -*- coding: utf-8 -*-
-# Copyright (C) 2007-2013 EDF R&D
+# Copyright (C) 2007-2017 EDF R&D
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
# Modules Python
-import string,types,os
+from __future__ import absolute_import
+import 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
-from monWidgetSimpTuple import MonWidgetSimpTuple
+from .feuille import Feuille
+from .monWidgetSimpTuple import MonWidgetSimpTuple
from desWidgetTuple2 import Ui_WidgetTuple2
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 :