if self.editor.code in self.editor.appliEficas.mesScripts :
self.dict_commandes_mesScripts=self.appliEficas.mesScripts[self.editor.code].dict_commandes
else : return
if self.editor.code in self.editor.appliEficas.mesScripts :
self.dict_commandes_mesScripts=self.appliEficas.mesScripts[self.editor.code].dict_commandes
else : return
listeCommandes=self.dict_commandes_mesScripts[self.tree.currentItem().item.get_nom()]
if type(listeCommandes) != tuple: listeCommandes=(listeCommandes,)
numero=0
listeCommandes=self.dict_commandes_mesScripts[self.tree.currentItem().item.get_nom()]
if type(listeCommandes) != tuple: listeCommandes=(listeCommandes,)
numero=0
listeCommandes=self.dict_commandes_mesScripts[nomCmd]
commande=listeCommandes[numero]
conditionValid=commande[4]
listeCommandes=self.dict_commandes_mesScripts[nomCmd]
commande=listeCommandes[numero]
conditionValid=commande[4]
if (nodeTraite.item.isvalid() == 0 and conditionValid == True):
QMessageBox.warning( None,
tr("item invalide"),
if (nodeTraite.item.isvalid() == 0 and conditionValid == True):
QMessageBox.warning( None,
tr("item invalide"),