X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=InterfaceQT4%2Fcompomclist.py;h=55666f9b473a1f9e5f876c437fdc27a440a2ff0a;hb=68af27699b3d841d7d3b21223cbf4e27e4ddd45c;hp=3fe2baf51cdadf9fc54afafaf697a18dcf5aa636;hpb=16d5922e798b1254eb558678612711d72ed38b32;p=tools%2Feficas.git diff --git a/InterfaceQT4/compomclist.py b/InterfaceQT4/compomclist.py index 3fe2baf5..55666f9b 100644 --- a/InterfaceQT4/compomclist.py +++ b/InterfaceQT4/compomclist.py @@ -49,22 +49,24 @@ class Node(browser.JDCNode,typeNode.PopUpMenuNodeMinimal): def createPopUpMenu(self): typeNode.PopUpMenuNodeMinimal.createPopUpMenu(self) - def getPanelGroupe(self,parentQt): + def getPanelGroupe(self,parentQt,commande): maDefinition=self.item.get_definition() monObjet=self.item.object monNom=self.item.nom + maCommande=commande + #print parentQt if hasattr(parentQt,'niveau'): self.niveau=parentQt.niveau+1 else : self.niveau=1 if not (monObjet.isMCList()) : if hasattr(self,'plie') and self.plie==True : from monWidgetFactPlie import MonWidgetFactPlie - widget=MonWidgetFactPlie(self,self.editor,parentQt,maDefinition,monObjet,self.niveau) + widget=MonWidgetFactPlie(self,self.editor,parentQt,maDefinition,monObjet,self.niveau,maCommande) else: from monWidgetFact import MonWidgetFact - widget=MonWidgetFact(self,self.editor,parentQt,maDefinition,monObjet,self.niveau) + widget=MonWidgetFact(self,self.editor,parentQt,maDefinition,monObjet,self.niveau,maCommande) else : from monWidgetBloc import MonWidgetBloc - widget=MonWidgetBloc(self,self.editor,parentQt,maDefinition,monObjet,self.niveau) + widget=MonWidgetBloc(self,self.editor,parentQt,maDefinition,monObjet,self.niveau,maCommande) return widget