X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=InterfaceQT4%2FmonWidgetSimpComplexe.py;h=64ccda81f6aa5b65f6936e28f3c48dde10faa9ef;hb=f4cf310a046c9d2de91704c2efbad5d7e66375be;hp=5e219dc58950989e638761820e64a6034324fd80;hpb=5513f1049a1f06f6f57957d5897017884034738b;p=tools%2Feficas.git diff --git a/InterfaceQT4/monWidgetSimpComplexe.py b/InterfaceQT4/monWidgetSimpComplexe.py index 5e219dc5..64ccda81 100644 --- a/InterfaceQT4/monWidgetSimpComplexe.py +++ b/InterfaceQT4/monWidgetSimpComplexe.py @@ -33,8 +33,8 @@ from qtSaisie import SaisieValeur class MonWidgetSimpComplexe (Ui_WidgetSimpComplexe,Feuille): - def __init__(self,node,monSimpDef,nom,objSimp,parentQt): - Feuille.__init__(self,node,monSimpDef,nom,objSimp,parentQt) + def __init__(self,node,monSimpDef,nom,objSimp,parentQt,commande): + Feuille.__init__(self,node,monSimpDef,nom,objSimp,parentQt,commande) self.parentQt.commandesLayout.insertWidget(-1,self) self.setFocusPolicy(Qt.StrongFocus) self.connect(self.LEImag,SIGNAL("returnPressed()"),self.LEImagRPressed) @@ -42,6 +42,11 @@ class MonWidgetSimpComplexe (Ui_WidgetSimpComplexe,Feuille): self.connect(self.RBRI,SIGNAL("clicked()"), self.ValeurPressed ) self.connect(self.RBMP,SIGNAL("clicked()"), self.ValeurPressed ) self.connect(self.LEComp,SIGNAL("returnPressed()"),self.LECompRPressed) + self.maCommande.listeAffichageWidget.append(self.LEComp) + #self.maCommande.listeAffichageWidget.append(self.RBRI) + #self.maCommande.listeAffichageWidget.append(self.RBMP) + #self.maCommande.listeAffichageWidget.append(self.LEReel) + #self.maCommande.listeAffichageWidget.append(self.LEImag) def setValeurs(self): @@ -137,6 +142,7 @@ class MonWidgetSimpComplexe (Ui_WidgetSimpComplexe,Feuille): return valeur= self.getValeurComp() self.politique.RecordValeur(valeur) + self.reaffiche() self.parentQt.donneFocus() def getValeurRI(self):