Salome HOME
chgt Copyrigth
[tools/eficas.git] / InterfaceQT4 / monWidgetFactPlie.py
index 17d79b58b44f2fd587d1b2a5334dae81e06f0c84..2e39daf89b5349c1b2def99e0452df0cdac33fc8 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2007-2017   EDF R&D
+# Copyright (C) 2007-2021   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
@@ -28,12 +28,13 @@ from Extensions.i18n import tr
 class MonWidgetFactPlie(Ui_WidgetFactPlie,Groupe):
   """
   """
-  def __init__(self,node,editor,parentQt,definition, obj, niveau,commande,insertIn=-1):
+  #def __init__(self,node,editor,parentQt,definition, obj, niveau,commande,insertIn=-1):
+  def __init__(self,node,editor,parentQt,definition, obj, niveau,commande):
       #print "fact plie : ",node.item.nom
       node.fenetreAAfficher=self
       Groupe.__init__(self,node,editor,parentQt, definition,obj,niveau,commande)
       self.groupBox.setText(self.node.item.getLabelText()[0])
-      self.parentQt.commandesLayout.insertWidget(insertIn,self)
+      self.parentQt.commandesLayout.insertWidget(-1,self)
 
   def traiteClicSurLabel(self,texte):
       return