]> SALOME platform Git repositories - tools/eficas.git/commitdiff
Salome HOME
traduction des labels des groupes nouvelEficas origin/nouvelEficas V7_8_0_EfiN
authorpascale.noyret <pascale.noyret@edf.fr>
Wed, 20 Jan 2016 14:46:49 +0000 (15:46 +0100)
committerpascale.noyret <pascale.noyret@edf.fr>
Wed, 20 Jan 2016 14:46:49 +0000 (15:46 +0100)
InterfaceQT4/monWidgetFact.py
InterfaceQT4/monWidgetFactPlie.py

index 77756ad434e9f68268cae90c0479a9917fc40935..4e13859062638bd2b0fe441ebc5129de4250977a 100644 (file)
@@ -32,8 +32,7 @@ class MonWidgetFact(Ui_WidgetFact,Groupe):
   def __init__(self,node,editor,parentQt,definition, obj, niveau,commande):
       #print "init de Fact"
       Groupe.__init__(self,node,editor,parentQt, definition,obj,niveau,commande)
-      labeltext,fonte,couleur = self.node.item.GetLabelText()
-      self.GroupBox.setText(tr(labeltext))
+      self.GroupBox.setText(tr(self.obj.nom))
       self.GroupBox.setTextInteractionFlags(Qt.TextSelectableByMouse)
       self.parentQt.commandesLayout.insertWidget(-1,self)
 
index 5804200af5db025fd8fbf185d730287a1a04c322..e6061c7d9ff82c198c6f4ce2ea31686c01095672 100644 (file)
@@ -32,7 +32,7 @@ class MonWidgetFactPlie(Ui_WidgetFactPlie,Groupe):
   def __init__(self,node,editor,parentQt,definition, obj, niveau,commande):
       #print "init de FactPlie"
       Groupe.__init__(self,node,editor,parentQt, definition,obj,niveau,commande)
-      self.groupBox.setText(self.obj.nom)
+      self.groupBox.setText(tr(self.obj.nom))
       self.parentQt.commandesLayout.insertWidget(-1,self)
 
   def traiteClicSurLabel(self,texte):