def Sup1Valeur(self):
index=self.LBValeurs.currentRow()
if index == None : return
- self.LBValeurs.takeItem(index)
+ removed_item = self.LBValeurs.takeItem(index)
+ text = removed_item.text()[1:-1] # Remove the parenthesis
+ self.LEValeur.setText(text)
listeVal=[]
indexInterdit=[]
for i in range(self.nbValeurs):
self.connect(self.BSelectInFile,SIGNAL("clicked()"),self.BSelectInFilePressed)
else :
self.BSelectInFile.setVisible(1)
- else:
- self.BSelectInFile.setVisible(0)
+ elif hasattr(self, "BSelectInFile"):
+ self.BSelectInFile.setVisible(0)
def BSelectInFilePressed(self):
"""
Constructor
"""
- self.VERSION_EFICAS="Eficas QT4 V6.3.0"
+ self.VERSION_EFICAS="Eficas QT4 V6.3.1"
self.ihm="QT"
self.code=code