- self.connect(self.LEImag,SIGNAL("returnPressed()"),self.LEImagRPressed)
- self.connect(self.LEReel,SIGNAL("returnPressed()"),self.LEReelRPressed)
- self.connect(self.RBRI,SIGNAL("clicked()"), self.ValeurPressed )
- self.connect(self.RBMP,SIGNAL("clicked()"), self.ValeurPressed )
- self.connect(self.LEComp,SIGNAL("returnPressed()"),self.LECompRPressed)
+ if monEnvQT5 :
+ self.LEImag.returnPressed.connect(self.LEImagRPressed)
+ self.LEReel.returnPressed.connect()"),self.LEReelRPressed)
+ self.RBRI.clicked.connect(self.ValeurPressed )
+ self.RBMP.clicked.connect(self.ValeurPressed )
+ self.LEComp.returnPressed.connect(self.LECompRPressed)
+ else :
+ self.connect(self.LEImag,SIGNAL("returnPressed()"),self.LEImagRPressed)
+ self.connect(self.LEReel,SIGNAL("returnPressed()"),self.LEReelRPressed)
+ self.connect(self.RBRI,SIGNAL("clicked()"), self.ValeurPressed )
+ self.connect(self.RBMP,SIGNAL("clicked()"), self.ValeurPressed )
+ self.connect(self.LEComp,SIGNAL("returnPressed()"),self.LECompRPressed)