From: Pascale Noyret Date: Mon, 12 Nov 2012 09:34:35 +0000 (+0000) Subject: Recherche d un champ X-Git-Tag: LOGILAB~21 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b19f987b9afa8d9d1b1f9f21673febc10008de14;p=tools%2Feficas.git Recherche d un champ --- diff --git a/InterfaceQT4/browser.py b/InterfaceQT4/browser.py index f6877572..58304b37 100644 --- a/InterfaceQT4/browser.py +++ b/InterfaceQT4/browser.py @@ -390,6 +390,7 @@ class JDCNode(QTreeWidgetItem): labeltext,fonte,couleur = self.item.GetLabelText() self.setText(0, labeltext) + def update_node_label_in_blue(self): if hasattr(self.appliEficas,'noeudColore'): self.appliEficas.noeudColore.setTextColor( 0,Qt.black) @@ -411,11 +412,23 @@ class JDCNode(QTreeWidgetItem): noeud.setText(0, labeltext) self.appliEficas.listeNoeudsColores.append(noeud) + def update_node_texte_in_black(self): + """ Met a jour les noms des SD et valeurs des mots-cles """ + self.setTextColor( 1,Qt.black ) + value = self.item.GetText() + self.setText(1, value) + def update_node_texte(self): """ Met a jour les noms des SD et valeurs des mots-cles """ value = self.item.GetText() self.setText(1, value) + def update_node_texte_in_blue(self): + #def update_node_texte_in_blue(self,noeudAvant): + self.setTextColor( 1,Qt.blue ) + value = self.item.GetText() + self.setText(1, value) + def update_nodes(self): #print 'NODE update_nodes', self.item.GetLabelText() self.build_children()