def __init__(self,node,monSimpDef,nom,objSimp,parentQt,commande):
Feuille.__init__(self,node,monSimpDef,nom,objSimp,parentQt,commande)
+ print "MonWidgetSimpBase", nom
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)
SaisieValeur.LEValeurPressed(self)
self.parentQt.donneFocus()
self.setValeurs()
+ self.reaffiche()
#if self.objSimp.parent.nom == "MODEL" :
# if self.objSimp.isvalid():