self.dict_commandes_mesScripts=self.appliEficas.mesScripts[self.editor.code].dict_commandes
if self.obj.nom in self.dict_commandes_mesScripts.keys() :
self.ajoutScript()
+ icon=QIcon(self.repIcon+"/roue.png")
+ self.RBRun.setIcon(icon)
return
if hasattr(self,"RBRun"): self.RBRun.close()
if hasattr(self,"CBScripts"): self.CBScripts.close()
from monWidgetPlusieursIntoOrdonne import MonWidgetPlusieursIntoOrdonne
from politiquesValidation import PolitiquePlusieurs
+from determine import monEnvQT5
+if monEnvQT5:
+ from PyQt5.QtWidgets import QScrollBar
+else :
+ from PyQt4.QtGui import *
+ from PyQt4.QtCore import *
+
class MonWidgetPlusieursASSDIntoOrdonne (MonWidgetPlusieursIntoOrdonne):
valeur=courant.text()
lval=valeur.split(',')
if len (lval) > 1 :
- QMessageBox.warning(self,tr('saisie invalide'),tr('Entrer 1 valeur par ligne'))
courant.setText(lval[0])
- break
+ self.ajoutNValeur(lval[1:])
for i in range (1, self.indexDernierLabel+1):
nomLineEdit="lineEditVal"+str(i)
self.reaffiche()
+ def entreListe(self,listeDeValeur,index):
+ self.entreListe(lval, i)
# Avertissement quand on quitte le widget
"""
QMainWindow.__init__(self,parent)
Ui_Eficas.__init__(self)
- self.setupUi(self)
version=getEficasVersion()
from Extensions import localisation
app=QApplication
- localisation.localise(app,langue)
+ localisation.localise(None,langue)
+ self.setupUi(self)
+
if self.code in ['MAP',] : self.resize(1440,self.height())
else : self.resize(1800,self.height())
else : self.connect(self.actionN1,SIGNAL("triggered()"),self.newN1)
def ajoutExecution(self):
- self.menuExecution = self.menubar.addMenu(tr("Execution"))
+ self.menuExecution = self.menubar.addMenu(tr("Run"))
self.actionExecution = QAction(self)
if sys.platform[0:5]=="linux":
icon6 = QIcon(self.repIcon+"/roue.png")
self.menuExecution.addAction(self.actionExecution)
if not(self.actionExecution in self.toolBar.actions()):
self.toolBar.addAction(self.actionExecution)
- self.actionExecution.setText(tr("Execution"))
+ self.actionExecution.setText(tr("Run"))
if monEnvQT5 : self.actionExecution.triggered.connect(self.run)
else : self.connect(self.actionExecution,SIGNAL("triggered()"),self.run)