From f76e5a7da3120d32ec3523bd6d579239a3801328 Mon Sep 17 00:00:00 2001 From: "pascale.noyret" Date: Fri, 13 Nov 2015 12:11:13 +0100 Subject: [PATCH] icones suite et .. fin ? --- InterfaceQT4/gereIcones.py | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/InterfaceQT4/gereIcones.py b/InterfaceQT4/gereIcones.py index 66fe006b..2ef27183 100644 --- a/InterfaceQT4/gereIcones.py +++ b/InterfaceQT4/gereIcones.py @@ -38,10 +38,16 @@ class FacultatifOuOptionnel: pass if hasattr(self,"RBRegle"): if listeRegles==() : self.RBRegle.close() - else : self.connect( self.RBRegle,SIGNAL("clicked()"),self.viewRegles) + else : + icon3=QIcon(self.repIcon+"/lettreRblanc30.png") + self.RBRegle.setIcon(icon3) + self.connect( self.RBRegle,SIGNAL("clicked()"),self.viewRegles) cle_doc=None if not hasattr(self,"RBInfo"):return + icon=QIcon(self.repIcon+"/point-interrogation30.png") + self.RBInfo.setIcon(icon) + from monWidgetCommande import MonWidgetCommande if isinstance(self,MonWidgetCommande) and self.editor.code =="MAP": self.cle_doc = self.chercheDocMAP() @@ -135,6 +141,10 @@ class FacultatifOuOptionnel: fichier=os.path.join(repIcon, 'plusnode.png') icon = QIcon(fichier) self.RBDeplie.setIcon(icon) + if hasattr(self,"RBPlie") : + fichier=os.path.join(repIcon, 'minusnode.png') + icon = QIcon(fichier) + self.RBPlie.setIcon(icon) -- 2.39.2