- if isinstance(self,LECustomTuple) and not self.tupleCustomParent.inFocusOutEvent:
- self.tupleCustomParent.inFocusOutEvent=True
- self.tupleCustomParent.valueChange()
- self.tupleCustomParent.inFocusOutEvent=False
- QLineEdit.focusOutEvent(self,event)
+
+ from InterfaceQT4.monWidgetPlusieursBase import MonWidgetPlusieursBase
+ try :
+ #if isinstance (self.parentQt, MonWidgetPlusieursBase) and not self.parentQt.inFocusOutEvent :
+ # self.parentQt.inFocusOutEvent=True
+ # self.parentQt.changeValeur(changeDePlace=True,oblige=False)
+ # self.parentQt.inFocusOutEvent=False
+
+ #if isinstance(self,LECustomTuple) and not self.tupleCustomParent.inFocusOutEvent:
+ # self.tupleCustomParent.inFocusOutEvent=True
+ # self.tupleCustomParent.valueChange()
+ # self.tupleCustomParent.inFocusOutEvent=False
+ QLineEdit.focusOutEvent(self,event)
+ except : pass