Salome HOME
projects
/
tools
/
eficas.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
optim eciture
[tools/eficas.git]
/
InterfaceQT4
/
monWidgetInfo.py
diff --git
a/InterfaceQT4/monWidgetInfo.py
b/InterfaceQT4/monWidgetInfo.py
index 402171d53174d6d07d043012f52dc26007d55e06..1b57783c142d85550282c2f402918b555f552f42 100644
(file)
--- a/
InterfaceQT4/monWidgetInfo.py
+++ b/
InterfaceQT4/monWidgetInfo.py
@@
-18,11
+18,15
@@
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
# Modules Python
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
# Modules Python
-import string,types,os
+from __future__ import absolute_import
+try :
+ from builtins import str
+except : pass
+
+import types,os
# Modules Eficas
# Modules Eficas
-from PyQt4.QtGui import *
-from PyQt4.QtCore import *
+from PyQt5.QtWidgets import QWidget
from Extensions.i18n import tr
from desWidgetInformation import Ui_WidgetInformative
from Extensions.i18n import tr
from desWidgetInformation import Ui_WidgetInformative
@@
-38,3
+42,4
@@
class MonWidgetInfo (Ui_WidgetInformative,QWidget):
self.lineEditVal.setText(str(valeur))
parentQt.commandesLayout.insertWidget(-1,self)
self.lineEditVal.setText(str(valeur))
parentQt.commandesLayout.insertWidget(-1,self)
+ commande.listeAffichageWidget.append(self.lineEditVal)