def getPanel( self ):
"""
"""
- from monCommentairePanel import MonCommentairePanel
- return MonCommentairePanel(self,parent=self.editor)
+ from monWidgetCommentaire import MonWidgetCommentaire
+ return MonWidgetCommentaire(self,self.editor,self.item.object)
def createPopUpMenu(self):
typeNode.PopUpMenuNodePartiel.createPopUpMenu(self)
self.Decommente = QAction(tr("Decommenter"),self.tree)
- self.tree.connect(self.Decommente,SIGNAL("activated()"),self.Decommenter)
+ self.tree.connect(self.Decommente,SIGNAL("triggered()"),self.Decommenter)
self.Decommente.setStatusTip(tr("Decommente la commande "))
if hasattr(self.item,'uncomment'):