+ self.f=nodeAVoir.fenetre
+ if self.f==None :
+ newNode=nodeAVoir.treeParent.chercheNoeudCorrespondant(nodeAVoir.item.object)
+ self.f = newNode.fenetre
+ print "dans reaffiche",self.f, nodeAVoir.item.nom
+ if self.f != None and self.f.isVisible() : return
+ if self.f != None : QTimer.singleShot(1, self.rendVisible)
+ self.inhibeExpand=False
+
+
+ def recentre(self):
+ QApplication.processEvents()
+ s=self.editor.fenetreCentraleAffichee.scrollAreaCommandes
+ s.horizontalScrollBar().setSliderPosition(self.avantH)
+ s.verticalScrollBar().setSliderPosition(self.avantV)
+
+ def rendVisibleNoeud(self,node):
+ self.f=node.fenetre
+ print "dans rendVisibleNoeud",self.f, node.item.nom
+ QTimer.singleShot(1, self.rendVisible)
+
+ def rendVisible(self):
+ QApplication.processEvents()
+ self.f.setFocus(7)
+ self.editor.fenetreCentraleAffichee.scrollAreaCommandes.ensureWidgetVisible(self.f)