+ def getPanelGroupe(self,parentQt,commande):
+ maDefinition=self.item.get_definition()
+ monObjet=self.item.object
+ monNom=self.item.nom
+ maCommande=commande
+ #print "ds getPanelGroupe" , self.item.nom
+ 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,maCommande)
+ else:
+ from .monWidgetFact import MonWidgetFact
+ 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,maCommande)
+ return widget