X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=InterfaceQT4%2FmonWidgetSimpBase.py;h=a03db34afa14c7fdd7fb1f8bbf33894d05ae4671;hb=e570dff249a11579eb7d33de376ed71be16d7261;hp=f61c9f4f651d4967dfa5e12683a277057fcd7532;hpb=8da5de6cb594bf9b703b723ace2514f644d866b8;p=tools%2Feficas.git diff --git a/InterfaceQT4/monWidgetSimpBase.py b/InterfaceQT4/monWidgetSimpBase.py index f61c9f4f..a03db34a 100644 --- a/InterfaceQT4/monWidgetSimpBase.py +++ b/InterfaceQT4/monWidgetSimpBase.py @@ -38,14 +38,16 @@ class MonWidgetSimpBase (Ui_WidgetSimpBase,Feuille): self.parentQt.commandesLayout.insertWidget(-1,self) self.setFocusPolicy(Qt.StrongFocus) self.connect(self.lineEditVal,SIGNAL("returnPressed()"),self.LEValeurPressed) + self.AAfficher=self.lineEditVal self.maCommande.listeAffichageWidget.append(self.lineEditVal) - def showEvent(self, event): - if self.prendLeFocus==1 : - self.activateWindow() - self.lineEditVal.setFocus() - self.prendLeFocus=0 - QWidget.showEvent(self,event) + + #def showEvent(self, event): + # if self.prendLeFocus==1 : + # self.activateWindow() + # self.lineEditVal.setFocus() + # self.prendLeFocus=0 + # QWidget.showEvent(self,event) def setValeurs(self): self.politique=PolitiqueUnique(self.node,self.editor)