From b19f987b9afa8d9d1b1f9f21673febc10008de14 Mon Sep 17 00:00:00 2001 From: Pascale Noyret Date: Mon, 12 Nov 2012 09:34:35 +0000 Subject: [PATCH] Recherche d un champ --- InterfaceQT4/browser.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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() -- 2.39.2