#
"""
"""
-import string,traceback
+import string,traceback,re
+identifier = re.compile(r"^[^\d\W]\w*\Z", re.UNICODE)
+
from Extensions.i18n import tr
from I_MACRO_ETAPE import MACRO_ETAPE
test = 1
arguments = arguments[1:-1] # on enlève les parenthèses ouvrante et fermante
l_arguments = string.split(arguments,',')
+ for a in l_arguments :
+ if not re.match(identifier,str(a)) : return 0, str(a)+" n est pas un identifiant"
return test,erreur
def verif_corps(self,corps=None,arguments=None):
def update_node_texte(self):
""" Met a jour les noms des SD et valeurs des mots-cles """
+ print "kkkkkkkkkkkk"
+ print self.item.GetText()
value = self.item.GetText()
self.setText(1, value)
def createPopUpMenu(self):
typeNode.PopUpMenuNodePartiel.createPopUpMenu(self)
self.Decommente = QAction(tr("Decommenter"),self.tree)
- if monEnvQT5 : self.tree.connect(self.Decommente,SIGNAL("triggered()"),self.Decommenter)
- else : self.Decommente.triggered(self.Decommenter)
+ if monEnvQT5 : self.Decommente.triggered(self.Decommenter)
+ else : self.tree.connect(self.Decommente,SIGNAL("triggered()"),self.Decommenter)
self.Decommente.setStatusTip(tr("Decommente la commande "))
if hasattr(self.item,'uncomment'):
def select(self):
browser.JDCNode.select(self)
- #self.treeParent.tree.openPersistentEditor(self,1)
- #self.monWidgetNom=self.treeParent.tree.itemWidget(self,1)
- #self.treeParent.tree.connect(self.monWidgetNom,SIGNAL("returnPressed()"), self.nomme)
- #if self.item.GetIconName() == "ast-red-square" : self.monWidgetNom.setDisabled(True)
+ self.treeParent.tree.openPersistentEditor(self,1)
+ self.monWidgetNom=self.treeParent.tree.itemWidget(self,1)
+ self.monWidgetNom.returnPressed.connect(self.nomme)
+ if self.item.GetIconName() == "ast-red-square" : self.monWidgetNom.setDisabled(True)
#else : self.monWidgetNom.setFocus() ;self.monWidgetNom.setDisabled(False)
def nomme(self):
self.editor.affiche_commentaire(tr("Nommage du concept effectue"))
self.onValid()
try :
- self.editor.panel.LENomConcept.setText(nom)
+ self.fenetre.LENom.setText(nom)
except :
pass
if monEnvQT5:
from PyQt5.QtWidgets import QWidget, QMessageBox, QFileDialog, QApplication
from PyQt5.QtGui import QPalette
- from PyQt5.QtCore import QProcess, QFileInfo, QTimer, Qt
+ from PyQt5.QtCore import QProcess, QFileInfo, QTimer, Qt, QDir, QSize
else :
from PyQt4.QtGui import *
from PyQt4.QtCore import *
tr("sauvegarde"), path,
extensions,None,
QFileDialog.DontConfirmOverwrite)
- if fn.isNull(): return (0, None)
if fn == None : return (0, None)
if monEnvQT5 : fn=fn[0]
+ if fn=='': return (0, None)
ext = QFileInfo(fn).suffix()
- if ext.isEmpty(): fn.append(extension)
+ if ext == '': fn+=extension
if QFileInfo(fn).exists():
- abort = QMessageBox.warning(self,
+ if monEnvQT5 :
+ msgBox = QMessageBox(self)
+ msgBox.setWindowTitle(tr("Sauvegarde du Fichier"))
+ msgBox.setText(tr("Le fichier <b>%s</b> existe deja.", unicode(fn)))
+ msgBox.addButton(tr("&Ecraser"),0)
+ msgBox.addButton(tr("&Abandonner"),1)
+ abort=msgBox.exec_()
+ else :
+ abort = QMessageBox.warning(self,
tr("Sauvegarde du Fichier"),
tr("Le fichier <b>%s</b> existe deja.",str(fn)),
tr("&Ecraser"),
bOK, fn=self.determineNomFichier(path,extension)
if bOK == 0 : return (0, None)
if fn == None : return (0, None)
- if fn.isNull(): return (0, None)
+ if fn== '' : return (0, None)
ulfile = os.path.abspath(unicode(fn))
self.appliEficas.CONFIGURATION.savedir=os.path.split(ulfile)[0]
- fn = unicode(QDir.convertSeparators(fn))
+ fn = unicode(QDir.toNativeSeparators(fn))
newName = fn
self.appliEficas.CONFIGURATION.savedir)
# ce retour est impose par le get_file d'I_JDC
- if fn.isNull(): return None," "
+ if fn== '' : return None," "
if not fn : return (0, " ")
if monEnvQT5 : fn=fn[0]
#-----------------------------
def saveSplitterSizes(self):
#----------------------------
- if self.splitter != None :
- self.splitterSizes = self.splitter.sizes()
-
+ if self.splitter != None : self.splitterSizes = self.splitter.sizes()
#-----------------------------
def restoreSplitterSizes(self):
newSizes[len(newSizes)-1] = self.splitterSizes[len(self.splitterSizes)-1]
self.splitter.setSizes(newSizes)
+ #-----------------------------
+ def restoreTailleTree(self):
+ #----------------------------
+ if hasattr(self,'splitterSizes') and self.splitterSizes != [] :
+ nbFenetre=len(self.splitter.sizes())
+ if nbFenetre == len(self.splitterSizes) :
+ self.splitter.setSizes(self.splitterSizes)
+ return
+
+ if self.widgetOptionnel==None:
+ print "kkkkkkkkkkkkkk"
+ #
+ #PN
+
+
#-----------------------------
def getTreeIndex(self,noeud):
#----------------------------
if monEnvQT5 :
from PyQt5.QtWidgets import QMessageBox, QFileDialog
from PyQt5.QtGui import QIcon
- from PyQt5.QtCore import QFileInfo, Qt
+ from PyQt5.QtCore import QFileInfo, Qt, QSize
else:
from PyQt4.QtGui import *
self.appliEficas.CONFIGURATION.savedir,
filters)
- if not(fichier.isNull()):
- if monEnvQT5 : fichier=fichier[0]
+ if monEnvQT5 : fichier=fichier[0]
+ if not(fichier):
ulfile = os.path.abspath(unicode(fichier))
self.appliEficas.CONFIGURATION.savedir=os.path.split(ulfile)[0]
self.lineEditVal.setText(fichier)
from determine import monEnvQT5
if monEnvQT5:
- from PyQt5.QtWidgets import QLineEdit, QLabel, QIcon
- from PyQt5.QtCore import QEvent
+ from PyQt5.QtWidgets import QLineEdit, QLabel
+ from PyQt5.QtCore import QEvent
+ from PyQt5.QtGui import QIcon
else :
from PyQt4.QtGui import *
from PyQt4.QtCore import *
import os,sys,re
from desChoixCode import Ui_ChoixCode
-f monEnvQT5:
+from determine import monEnvQT5
+if monEnvQT5:
from PyQt5.QtWidgets import QDialog, QRadioButton
from PyQt5.QtGui import QPalette
- from PyQt5.QtCore import QProcess, QFileInfo, Qt
+ from PyQt5.QtCore import QProcess, QFileInfo, Qt, QSize
else :
from PyQt4.QtGui import *
from PyQt4.QtCore import *
self.RBClear.clicked.connect(self.clearFiltre)
self.RBCasse.toggled.connect(self.ajouteRadioButtons)
self.LEFiltre.returnPressed.connect(self.ajouteRadioButtons)
+ self.LEFiltre.textChanged.connect(self.ajouteRadioButtons)
else :
self.connect(self.RBalpha,SIGNAL("clicked()"),self.afficheAlpha)
self.connect(self.RBGroupe,SIGNAL("clicked()"),self.afficheGroupe)
from determine import monEnvQT5
if monEnvQT5 :
from PyQt5.QtWidgets import QDialog, QMessageBox
+ from PyQt5.QtCore import QSize
else :
from PyQt4.QtGui import *
from PyQt4.QtCore import *
fn = QFileDialog.getSaveFileName(None,
tr("Sauvegarder le fichier"),
dir)
- if fn.isNull() : return
- if fn == None : return (0, None)
if monEnvQT5 : fn=fn[0]
+ if fn == "" : return
+ if fn == None : return (0, None)
ulfile = os.path.abspath(unicode(fn))
if self.editor != None :
self.ensure=0
Groupe.__init__(self,node,editor,None,etape.definition,etape,1,self)
- if node.item.get_fr() != "" : self.labelDoc.setText(QString(node.item.get_fr()))
+ if node.item.get_fr() != "" : self.labelDoc.setText(node.item.get_fr())
else : self.labelDoc.close()
if (etape.get_type_produit()==None): self.LENom.close()
self.connect(self.bApres,SIGNAL("clicked()"), self.afficheApres)
self.connect(self.LENom,SIGNAL("returnPressed()"),self.nomChange)
- self.racine=self.node.tree.racine
+ self.racine=self.node.tree.racine
if self.node.item.GetIconName() == "ast-red-square" : self.LENom.setDisabled(True)
self.setAcceptDrops(True)
#if hasattr(self.editor,'widgetOptionnel') :
if self.editor.widgetOptionnel!= None :
self.monOptionnel=self.editor.widgetOptionnel
+ self.editor.restoreSplitterSizes()
else :
self.monOptionnel=MonWidgetOptionnel(self)
self.editor.widgetOptionnel=self.monOptionnel
from determine import monEnvQT5
if monEnvQT5:
- from PyQt5.QtWidgets import QWidget
+ from PyQt5.QtWidgets import QWidget
+ from PyQt5.QtCore import Qt
else :
from PyQt4.QtGui import *
- from PyQt4.QtCore import
+ from PyQt4.QtCore import *
from desWidgetCommentaire import Ui_WidgetCommentaire
from gereIcones import FacultatifOuOptionnel
self.repIcon=self.appliEficas.repIcon
self.setIconePoubelle()
self.remplitTexte()
- if self.editor.code in ['MAP','CARMELCND'] : self.bCatalogue.close()
- elif monEnvQT5 : self.bCatalogue.clicked.connect(self.afficheCatalogue)
- else : self.connect(self.bCatalogue,SIGNAL("clicked()"), self.afficheCatalogue)
- if monEnvQT5 : self.commentaireLE.returnPressed(TexteCommentaireEntre)
- else : self.connect(self.commentaireLE,SIGNAL("returnPressed()"),self.TexteCommentaireEntre)
+ self.monOptionnel=None
+
+ if monEnvQT5 :
+ self.commentaireTE.textChanged.connect(self.TexteCommentaireEntre)
+ if self.editor.code in ['MAP','CARMELCND'] : self.bCatalogue.close()
+ else : self.bCatalogue.clicked.connect(self.afficheCatalogue)
+ if self.editor.code in ['Adao','MAP'] :
+ self.bAvant.close()
+ self.bApres.close()
+ else :
+ self.bAvant.clicked.connect(self.afficheAvant)
+ self.bApres.clicked.connect(self.afficheApres)
+ else :
+ if self.editor.code in ['MAP','CARMELCND'] : self.bCatalogue.close()
+ else : self.connect(self.bCatalogue,SIGNAL("clicked()"), self.afficheCatalogue)
+ if self.editor.code in ['Adao','MAP'] :
+ self.bAvant.close()
+ self.bApres.close()
+ else :
+ self.connect(self.bAvant,SIGNAL("clicked()"), self.afficheAvant)
+ self.connect(self.bApres,SIGNAL("clicked()"), self.afficheApres)
+
+ def afficheApres(self):
+ self.node.selectApres()
+
+ def afficheAvant(self):
+ self.node.selectAvant()
+
def afficheCatalogue(self):
- if self.editor.code != "CARMELCND" : self.monOptionnel.hide()
self.node.tree.racine.affichePanneau()
if self.node : self.node.select()
else : self.node.tree.racine.select()
def remplitTexte(self):
texte=self.node.item.get_valeur()
- self.commentaireLE.setText(texte)
+ self.commentaireTE.setText(texte)
if self.editor.code == "CARMELCND" and texte[0:16]=="Cree - fichier :" :
- self.commentaireLE.setDisabled(True)
- self.commentaireLE.setStyleSheet("background:rgb(244,244,244);\n" "border:0px;\n")
- self.commentaireLE.setToolTip(tr("Valeur non modifiable"))
+ self.commentaireTE.setReadOnly(True)
+ self.commentaireTE.setStyleSheet("background:rgb(244,244,244);\n" "border:0px;\n")
+ self.commentaireTE.setToolTip(tr("Valeur non modifiable"))
+ else :
+ self.commentaireTE.setReadOnly(False)
def donnePremier(self):
- self.commentaireLE.setFocus(7)
+ self.commentaireTE.setFocus(7)
def TexteCommentaireEntre(self):
- texte=str(self.commentaireLE.text())
+ texte=str(self.commentaireTE.toPlainText())
+ print texte
self.editor.init_modif()
self.node.item.set_valeur(texte)
- self.node.update_node()
+ self.node.update_node_texte()
from determine import monEnvQT5
if monEnvQT5 :
from PyQt5.QtWidgets import QDialog
+ from PyQt5.QtCore import Qt
else :
from PyQt4.QtGui import *
from PyQt4.QtCore import *
self.connect(self.lineEditNom,SIGNAL("returnPressed()"),self.lineEditNomReturnPressed)
def connecterSignaux(self) :
- self.lineEditVal.returnPressed(self.lineEditValReturnPressed)
- self.lineEditNom.returnPressed(self.lineEditNomReturnPressed)
+ self.lineEditVal.returnPressed.connect(self.lineEditValReturnPressed)
+ self.lineEditNom.returnPressed.connect(self.lineEditNomReturnPressed)
def CreeParametre(self):
nom=str(self.lineEditNom.text())
param=itemAvant.addParameters(True)
param.item.set_nom(nom)
#PN self.val permet d entrer du texte
- param.item.set_valeur(val)
+ param.item.set_valeur(self.val)
param.update_node_texte()
param.update_node_valid()
- self.LBParam.addItem(QString(repr(param.item)))
+ self.LBParam.addItem((repr(param.item)))
+ param.select()
+ self.lineEditVal.setText("")
+ self.lineEditNom.setText("")
+ self.lineEditNom.setFocus(True)
+
def lineEditValReturnPressed(self):
def initToutesVal(self):
self.LBParam.clear()
for param in self.listeTousParam :
- self.LBParam.addItem(QString(repr(param)))
- self.dictListe[QString(repr(param))] = param
+ self.LBParam.addItem((repr(param)))
+ self.dictListe[repr(param)] = param
def valideParam(self):
if self.LBParam.selectedItems()== None : return
--- /dev/null
+# Copyright (C) 2007-2013 EDF R&D
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+#
+# Modules Python
+# Modules Eficas
+
+from desWidgetFormule import Ui_WidgetFormule
+from gereIcones import FacultatifOuOptionnel
+from determine import monEnvQT5
+
+if monEnvQT5:
+ from PyQt5.QtWidgets import QWidget
+ from PyQt5.QtGui import QIcon
+ from PyQt5.QtCore import Qt
+else :
+ from PyQt4.QtGui import *
+ from PyQt4.QtCore import *
+
+
+from Extensions.i18n import tr
+import Accas
+import os
+import string
+
+
+# Import des panels
+
+class MonWidgetFormule(QWidget,Ui_WidgetFormule,FacultatifOuOptionnel):
+ """
+ """
+ def __init__(self,node,editor,etape):
+ #print "MonWidgetFormule ", self
+ QWidget.__init__(self,None)
+ self.node=node
+ self.node.fenetre=self
+ self.editor=editor
+ self.appliEficas=self.editor.appliEficas
+ self.repIcon=self.appliEficas.repIcon
+ self.setupUi(self)
+
+
+ self.setIconePoubelle()
+ self.setIconesGenerales()
+ self.setValide()
+
+
+ if monEnvQT5 :
+ if self.editor.code in ['MAP','CARMELCND'] : self.bCatalogue.close()
+ else : self.bCatalogue.clicked.connect(self.afficheCatalogue)
+ if self.editor.code in ['Adao','MAP'] :
+ self.bAvant.close()
+ self.bApres.close()
+ else :
+ self.bAvant.clicked.connect(self.afficheAvant)
+ self.bApres.clicked.connect(self.afficheApres)
+ self.LENom.returnPressed.connect(self.nomChange)
+ self.LENomFormule.returnPressed.connect(self.NomFormuleSaisi)
+ self.LENomsArgs.returnPressed.connect(self.argsSaisis)
+ self.LECorpsFormule.returnPressed.connect(self.FormuleSaisie)
+ else :
+ if self.editor.code in ['MAP','CARMELCND'] : self.bCatalogue.close()
+ else : self.connect(self.bCatalogue,SIGNAL("clicked()"), self.afficheCatalogue)
+ if self.editor.code in ['Adao','MAP'] :
+ self.bAvant.close()
+ self.bApres.close()
+ else :
+ self.connect(self.bAvant,SIGNAL("clicked()"), self.afficheAvant)
+ self.connect(self.bApres,SIGNAL("clicked()"), self.afficheApres)
+ self.connect(self.LENom,SIGNAL("returnPressed()"),self.nomChange)
+ self.connect(self.LENomFormule,SIGNAL("returnPressed()"),self.NomFormuleSaisi)
+ self.connect(self.LENomsArgs,SIGNAL("returnPressed()"),self.argsSaisis)
+ self.connect(self.LECorpsFormule,SIGNAL("returnPressed()"),self.FormuleSaisie)
+
+
+
+ self.racine=self.node.tree.racine
+ self.monOptionnel=None
+ #self.editor.restoreSplitterSizes()
+ #print "fin init de widget Commande"
+
+
+ def donnePremier(self):
+ self.listeAffichageWidget[0].setFocus(7)
+
+
+
+ def nomChange(self):
+ nom = str(self.LENom.text())
+ self.LENomFormule.setText(nom)
+ self.NomFormuleSaisi()
+
+
+ def afficheCatalogue(self):
+ if self.editor.widgetOptionnel != None : self.monOptionnel.hide()
+ self.racine.affichePanneau()
+ if self.node : self.node.select()
+ else : self.racine.select()
+
+ def afficheApres(self):
+ self.node.selectApres()
+
+ def afficheAvant(self):
+ self.node.selectAvant()
+
+ def setValide(self):
+ if not(hasattr (self,'RBValide')) : return
+ icon = QIcon()
+ if self.node.item.object.isvalid() :
+ icon=QIcon(self.repIcon+"/ast-green-ball.png")
+ else :
+ icon=QIcon(self.repIcon+"/ast-red-ball.png")
+ if self.node.item.GetIconName() == "ast-yellow-square" :
+ icon=QIcon(self.repIcon+"/ast-yel-ball.png")
+ self.RBValide.setIcon(icon)
+
+
+ def NomFormuleSaisi(self):
+ nomFormule = str(self.LENomFormule.text())
+ if nomFormule == '' : return
+ self.LENom.setText(nomFormule)
+ test,erreur = self.node.item.verif_nom(nomFormule)
+ if test :
+ commentaire=nomFormule+tr(" est un nom valide pour une FORMULE")
+ self.editor.affiche_infos(commentaire)
+ else :
+ commentaire=nomFormule+tr(" n'est pas un nom valide pour une FORMULE")
+ self.editor.affiche_infos(commentaire,Qt.red)
+ return
+ if str(self.LENomsArgs.text()) != "" and str(self.LECorpsFormule.text())!= "" : self.BOkPressedFormule()
+ self.LENomsArgs.setFocus(7)
+
+ def argsSaisis(self):
+ arguments = str(self.LENomsArgs.text())
+ if arguments == '' : return
+ test,erreur = self.node.item.verif_arguments(arguments)
+ if test:
+ commentaire=tr("Argument(s) valide(s) pour une FORMULE")
+ self.editor.affiche_infos(commentaire)
+ else:
+ commentaire=tr("Argument(s) invalide(s) pour une FORMULE")
+ self.editor.affiche_infos(commentaire,Qt.red)
+ if str(self.LECorpsFormule.text()) != "" and str(self.LENomFormule.text())!= "" : self.BOkPressedFormule()
+ self.LECorpsFormule.setFocus(7)
+
+ def FormuleSaisie(self):
+ nomFormule = str(self.LENomFormule.text())
+ arguments = str(self.LENomsArgs.text())
+ expression = str(self.LECorpsFormule.text())
+ if expression == '' : return
+ test,erreur = self.node.item.verif_formule_python((nomFormule,"REEL",arguments,expression))
+
+ if test:
+ commentaire=tr("Corps de FORMULE valide")
+ self.editor.affiche_infos(commentaire)
+ else:
+ commentaire=tr("Corps de FORMULE invalide")
+ self.editor.affiche_infos(commentaire,Qt.red)
+ if str(self.LENomsArgs.text()) != "" and str(self.LENomFormule.text())!= "" : self.BOkPressedFormule()
+
+ def BOkPressedFormule(self):
+ #print dir(self)
+ #if self.parent.modified == 'n' : self.parent.init_modif()
+
+ nomFormule = str(self.LENomFormule.text())
+ test,erreur = self.node.item.verif_nom(nomFormule)
+ if not test :
+ self.editor.affiche_infos(erreur,Qt.red)
+ return
+
+ arguments = str(self.LENomsArgs.text())
+ test,erreur = self.node.item.verif_arguments(arguments)
+ if not test :
+ self.editor.affiche_infos(erreur,Qt.red)
+ return
+
+ expression = str(self.LECorpsFormule.text())
+ test,erreur = self.node.item.verif_formule_python((nomFormule,"REEL",arguments,expression))
+ if not test :
+ self.editor.affiche_infos(erreur,Qt.red)
+ return
+
+ test=self.node.item.object.update_formule_python(formule=(nomFormule,"REEL",arguments,expression))
+ test,erreur = self.node.item.save_formule(nomFormule,"REEL",arguments,expression)
+ if test :
+ #self.node.update_texte()
+ #self.node.update_label()
+ #self.node.update_node()
+ self.node.onValid()
+ self.node.update_valid()
+ commentaire = "Formule saisie"
+ self.editor.affiche_infos(commentaire)
+ else:
+ commentaire ="Formule incorrecte : " + erreur
+ self.editor.affiche_infos(commentaire,Qt.red)
+ self.editor.init_modif()
+
def traiteClicSurLabel(self):
pass
+ def donnePremier(self):
+ pass
def setValide(self):
pass
from desWidgetMatrice import Ui_desWidgetMatrice
from determine import monEnvQT5
+if monEnvQT5 :
+ from PyQt5.QtCore import QSize
+else :
+ from PyQt4.QtGui import *
+ from PyQt4.QtCore import *
+
class MonWidgetMatrice (Ui_desWidgetMatrice,Feuille):
# c est juste la taille des differents widgets de base qui change
from determine import monEnvQT5
if monEnvQT5:
from PyQt5.QtWidgets import QCheckBox, QWidget
+ from PyQt5.QtCore import Qt
else :
from PyQt4.QtGui import *
from PyQt4.QtCore import *
self.setIconePoubelle()
self.remplit()
if self.editor.code in ['MAP','CARMELCND'] : self.bCatalogue.close()
- elif monEnvQt5 : self.bCatalogue.clicked.connect(self.afficheCatalogue)
+ elif monEnvQT5 : self.bCatalogue.clicked.connect(self.afficheCatalogue)
else : self.connect(self.bCatalogue,SIGNAL("clicked()"), self.afficheCatalogue)
- if monEnvQt5 :
- self.lineEditVal.returnPressed.connect.(self.LEValeurPressed)
- self.lineEditNom.returnPressed.connect.(self.LENomPressed)
- self.bAvant.clicked.connect.(self.afficheAvant)
- self.bApres.clicked.connect.(self.afficheApres)
- self.bVerifie.clicked.connect.(self.verifiePressed)
+ if monEnvQT5 :
+ self.lineEditVal.returnPressed.connect(self.LEValeurPressed)
+ self.lineEditNom.returnPressed.connect(self.LENomPressed)
+ self.bAvant.clicked.connect(self.afficheAvant)
+ self.bApres.clicked.connect(self.afficheApres)
+ self.bVerifie.clicked.connect(self.verifiePressed)
else :
self.connect(self.lineEditVal,SIGNAL("returnPressed()"),self.LEValeurPressed)
self.connect(self.lineEditNom,SIGNAL("returnPressed()"),self.LENomPressed)
from determine import monEnvQT5
if monEnvQT5:
- from PyQt5.QtGui import Qicon, QApplication
- from PyQt5.QtCore import QTimer, QSize, QT
+ from PyQt5.QtGui import Qicon,
+ from PyQt5.QtWidgets import QApplication
+ from PyQt5.QtCore import QTimer, QSize, Qt
else :
from PyQt4.QtGui import *
from PyQt4.QtCore import *
# Modules Eficas
from determine import monEnvQT5
if monEnvQT5:
- from PyQt5.QtWidgets import QIcon, QSize, QFrame,QApplication
+ from PyQt5.QtWidgets import QFrame,QApplication
+ from PyQt5.QtGui import QIcon, QFrame
+ from PyQt5.QtCore import QSize
else :
from PyQt4.QtGui import *
- from PyQt4.QtCore import
+ from PyQt4.QtCore import *
from Extensions.i18n import tr
courant=getattr(self,nomLE)
courant.num=index
courant.dansUnTuple=True
- if monEnvQt5 : courant.returnPressed.connect(self.valueChange)
+ if monEnvQT5 : courant.returnPressed.connect(self.valueChange)
else : self.connect(courant,SIGNAL("returnPressed()"),self.valueChange)
icon3 = QIcon(fichier3)
self.BSelectFichier.setIcon(icon3)
self.BSelectFichier.setIconSize(QSize(32, 32))
- if monEnvQt5 :
+ if monEnvQT5 :
self.BSelectFichier.clicked.connect(self.selectInFile)
else :
self.connect(self.BSelectFichier,SIGNAL("clicked()"), self.selectInFile)
import string,types,os
# Modules Eficas
-from PyQt4.QtGui import *
-from PyQt4.QtCore import *
+from determine import monEnvQT5
+if monEnvQT5:
+ from PyQt5.QtWidgets import QLineEdit
+ from PyQt5.QtCore import Qt
+else :
+ from PyQt4.QtGui import *
+ from PyQt4.QtCore import *
from Extensions.i18n import tr
from feuille import Feuille
self.maCommande.listeAffichageWidget.append(self.LESDCO)
self.AAficher=self.LESDCO
self.initLBSDCO()
- self.connect(self.LESDCO, SIGNAL("returnPressed()"),self.LESDCOReturnPressed)
- self.connect(self.LBSDCO, SIGNAL("itemDoubleClicked(QListWidgetItem*)" ), self.LBSDCODoubleClicked )
+
+ if monEnvQT5 :
+ self.LESDCO.returnPressed.connect(self.LESDCOReturnPressed)
+ self.LBSDCO.itemDoubleClicked.connect(self.LBSDCODoubleClicked )
+ else :
+ self.connect(self.LESDCO, SIGNAL("returnPressed()"),self.LESDCOReturnPressed)
+ self.connect(self.LBSDCO, SIGNAL("itemDoubleClicked(QListWidgetItem*)" ), self.LBSDCODoubleClicked )
def LESDCOReturnPressed(self) :
self.LBSDCO.clearSelection()
self.LBSDCO.insertItem( 1,aSDCO)
valeur = self.node.item.get_valeur()
if valeur != "" and valeur != None :
- self.LESDCO.setText(QString(valeur.nom))
+ self.LESDCO.setText(str(valeur.nom))
def LBSDCODoubleClicked(self):
self.node.item.delete_valeur_co(valeur=anc_val)
self.node.item.object.etape.get_type_produit(force=1)
self.node.item.object.etape.parent.reset_context()
- self.LESDCO.setText(QString(nomConcept))
+ self.LESDCO.setText(nomConcept)
else :
commentaire = self.node.item.get_cr()
self.reset_old_valeur(anc_val,mess=mess)
import string,types,os
# Modules Eficas
-from PyQt4.QtGui import *
-from PyQt4.QtCore import *
+from determine import monEnvQT5
+if monEnvQT5:
+ from PyQt5.QtCore import Qt
+else :
+ from PyQt4.QtGui import *
+ from PyQt4.QtCore import *
from Extensions.i18n import tr
from feuille import Feuille
#print "MonWidgetSimpBase", nom
self.parentQt.commandesLayout.insertWidget(-1,self,1)
self.setFocusPolicy(Qt.StrongFocus)
- self.connect(self.lineEditVal,SIGNAL("returnPressed()"),self.LEValeurPressed)
+ if monEnvQT5 : self.lineEditVal.returnPressed.connect(self.LEValeurPressed)
+ else : self.connect(self.lineEditVal,SIGNAL("returnPressed()"),self.LEValeurPressed)
self.AAfficher=self.lineEditVal
self.maCommande.listeAffichageWidget.append(self.lineEditVal)
self.politique=PolitiqueUnique(self.node,self.editor)
valeur=self.node.item.get_valeur()
valeurTexte=self.politique.GetValeurTexte(valeur)
- chaine=QString("")
+ chaine=""
if valeurTexte != None :
from decimal import Decimal
if isinstance(valeurTexte,Decimal):
chaine=str(valeurTexte)
elif repr(valeurTexte.__class__).find("PARAMETRE") > 0:
- chaine = QString(repr(valeur))
+ chaine = repr(valeur)
else :
#PN ????
#try :
# chaine=QString("").setNum(valeurTexte)
#except :
- chaine=QString(str(valeurTexte))
+ chaine=str(valeurTexte)
self.lineEditVal.setText(chaine)
import string,types,os
# Modules Eficas
-from PyQt4.QtGui import *
-from PyQt4.QtCore import *
+from determine import monEnvQT5
+if monEnvQT5 :
+ from PyQt5.QtWidgets import QRadioButton
+else :
+ from PyQt4.QtGui import *
+ from PyQt4.QtCore import *
from Extensions.i18n import tr
from feuille import Feuille
def __init__(self,node,monSimpDef,nom,objSimp,parentQt,commande):
Feuille.__init__(self,node,monSimpDef,nom,objSimp,parentQt,commande)
self.politique=PolitiqueUnique(self.node,self.editor)
- self.connect(self.RBTrue,SIGNAL("clicked()"),self.boutonTrueClic)
- self.connect(self.RBFalse,SIGNAL("clicked()"),self.boutonFalseClic)
+ if monEnvQT5 :
+ self.RBTrue.clicked.connect(self.boutonTrueClic)
+ self.RBFalse.clicked.connect(self.boutonFalseClic)
+ else :
+ self.connect(self.RBTrue,SIGNAL("clicked()"),self.boutonTrueClic)
+ self.connect(self.RBFalse,SIGNAL("clicked()"),self.boutonFalseClic)
self.parentQt.commandesLayout.insertWidget(-1,self)
self.maCommande.listeAffichageWidget.append(self.RBTrue)
import string,types,os
# Modules Eficas
-from PyQt4.QtGui import *
-from PyQt4.QtCore import *
+if monEnvQT5:
+ from PyQt5.QtWidgets import QLineEdit, QRadioButton
+ from PyQt5.QtCore import Qt
+else :
+ from PyQt4.QtGui import *
+ from PyQt4.QtCore import *
+
+
from Extensions.i18n import tr
from feuille import Feuille
Feuille.__init__(self,node,monSimpDef,nom,objSimp,parentQt,commande)
self.parentQt.commandesLayout.insertWidget(-1,self)
self.setFocusPolicy(Qt.StrongFocus)
- 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)
self.maCommande.listeAffichageWidget.append(self.LEComp)
#self.maCommande.listeAffichageWidget.append(self.RBRI)
#self.maCommande.listeAffichageWidget.append(self.RBMP)
import string,types,os,sys
# Modules Eficas
-from PyQt4.QtGui import *
-from PyQt4.QtCore import *
+from determine import monEnvQT5
+if monEnvQT5 :
+ from PyQt5.QtGui import QIcon
+ from PyQt5.QtCore import QSize
+else:
+ from PyQt4.QtGui import *
+ from PyQt4.QtCore import *
from Extensions.i18n import tr
from desWidgetSimpFichier import Ui_WidgetSimpFichier
icon = QIcon(fichier)
self.BFichier.setIcon(icon)
self.BFichier.setIconSize(QSize(32, 32))
- # deja fait dans MonWidgetSimpBase
- #self.maCommande.listeAffichageWidget.append(self.lineEditVal)
import string,types,os
# Modules Eficas
-from PyQt4.QtGui import *
-from PyQt4.QtCore import *
+if monEnvQT5:
+ from PyQt5.QtWidgets import QLineEdit
+ from PyQt5.QtCore import Qt
+else :
+ from PyQt4.QtGui import *
+ from PyQt4.QtCore import *
+
from Extensions.i18n import tr
from feuille import Feuille
self.parentQt.commandesLayout.insertWidget(-1,self,1)
self.setFocusPolicy(Qt.StrongFocus)
self.politique=PolitiqueUnique(self.node,self.editor)
- self.connect(self.lineEditVal,SIGNAL("returnPressed()"),self.LEValeurPressed)
+ if monEnvQT5: self.lineEditVal.returnPressed.connect(self.LEValeurPressed)
+ else : self.connect(self.lineEditVal,SIGNAL("returnPressed()"),self.LEValeurPressed)
self.AAfficher=self.lineEditVal
self.maCommande.listeAffichageWidget.append(self.lineEditVal)
# Modules Python
import string,types,os
+if monEnvQT5:
+ from PyQt5.QtCore import Qt
+else :
+ from PyQt4.QtGui import *
+ from PyQt4.QtCore import *
+
# Modules Eficas
-from PyQt4.QtGui import *
-from PyQt4.QtCore import *
from Extensions.i18n import tr
from feuille import Feuille
import string,types,os
# Modules Eficas
-from PyQt4.QtGui import *
-from PyQt4.QtCore import *
+#from PyQt4.QtGui import *
+#from PyQt4.QtCore import *
from Extensions.i18n import tr
from feuille import Feuille
if self.objSimp.isImmuable() :
self.lineEditVal1.setDisabled(True)
self.lineEditVal2.setDisabled(True)
- self.lineEditVal1.setStyleSheet(QString.fromUtf8("background:rgb(244,244,244);\n" "border:0px;\n"))
- self.lineEditVal2.setStyleSheet(QString.fromUtf8("background:rgb(244,244,244);\n" "border:0px;\n"))
+ self.lineEditVal1.setStyleSheet("background:rgb(244,244,244);\n" "border:0px;\n")
+ self.lineEditVal2.setStyleSheet("background:rgb(244,244,244);\n" "border:0px;\n")
self.lineEditVal1.setToolTip(tr("Valeur non modifiable"))
self.lineEditVal2.setToolTip(tr("Valeur non modifiable"))
else :
self.lineEditVal1.setDisabled(True)
self.lineEditVal2.setDisabled(True)
self.lineEditVal3.setDisabled(True)
- self.lineEditVal1.setStyleSheet(QString.fromUtf8("background:rgb(244,244,244);\n" "border:0px;\n"))
- self.lineEditVal2.setStyleSheet(QString.fromUtf8("background:rgb(244,244,244);\n" "border:0px;\n"))
- self.lineEditVal3.setStyleSheet(QString.fromUtf8("background:rgb(244,244,244);\n" "border:0px;\n"))
+ self.lineEditVal1.setStyleSheet("background:rgb(244,244,244);\n" "border:0px;\n")
+ self.lineEditVal2.setStyleSheet("background:rgb(244,244,244);\n" "border:0px;\n")
+ self.lineEditVal3.setStyleSheet("background:rgb(244,244,244);\n" "border:0px;\n")
self.lineEditVal1.setToolTip(tr("Valeur non modifiable"))
self.lineEditVal2.setToolTip(tr("Valeur non modifiable"))
self.lineEditVal3.setToolTip(tr("Valeur non modifiable"))
Ui_Eficas.__init__(self)
version=getEficasVersion()
- self.VERSION_EFICAS="Eficas QT4 "+version
+ self.VERSION_EFICAS="Eficas QT4 Salome "+version
+ if monEnvQT5 : self.VERSION_EFICAS="Eficas QT5 Salome "
self.salome=salome
self.ihm="QT"
self.ssIhm=ssIhm
except : pass
def addToRecentList(self, fn):
- if not monEnvQT5 : addToRecentListQT4(self, fn); return
-
+ if not monEnvQT5 : self.addToRecentListQT4(fn); return
while fn in self.recent: self.recent.remove(fn)
self.recent.insert(0,fn)
if len(self.recent) > 9:
for rp in self.recent:
id = self.recentMenu.addAction(rp)
self.ficRecents[id]=rp
- if monEnvQT5 : self.id.triggered.connect(self.handleOpenRecent)
+ if monEnvQT5 : id.triggered.connect(self.handleOpenRecent)
else : self.connect(id, SIGNAL('triggered()'),self.handleOpenRecent)
self.recentMenu.addSeparator()
self.recentMenu.addAction(tr('&Effacer'), self.handleClearRecent)
widgetChoix = MonChoixCata(self.appliEficas, [cata.user_name for cata in cata_choice_list], title)
ret=widgetChoix.exec_()
- lab=QString(self.VERSION_EFICAS)+" "
+ lab=str(self.VERSION_EFICAS)+" "
lab+=tr(" pour ")
lab+=QString(self.code)
lab+=tr(" avec le catalogue ")
self.CommAvant.setStatusTip(tr("Insere un commentaire avant la commande "))
self.ParamApres = QAction(tr('apres'),self.tree)
- self.ParamApres.triggered.connect(self.addParamatersApres)
+ self.ParamApres.triggered.connect(self.addParametersApres)
self.ParamApres.setStatusTip(tr("Insere un parametre apres la commande "))
self.ParamAvant = QAction(tr('avant'),self.tree)
- self.ParamAvant.triggered.connect(self.addParamatersAvant)
+ self.ParamAvant.triggered.connect(self.addParametersAvant)
self.ParamAvant.setStatusTip(tr("Insere un parametre avant la commande "))
self.Supprime = QAction(tr('Supprimer'),self.tree)
def createPopUpMenu(self):
PopUpMenuNodePartiel.createPopUpMenu(self)
self.Commente = QAction(tr('ce noeud'),self.tree)
- self.tree.connect(self.Commente,SIGNAL("triggered()"),self.Commenter)
+ self.Commente.triggered.connect(self.Commenter)
self.Commente.setStatusTip(tr("commente le noeud "))
self.commentMenu.addAction(self.Commente)
self.menu.removeAction(self.Supprime)
from Extensions.i18n import tr
from determine import monEnvQT5
if monEnvQT5:
- from PyQt5.QtWidgets import QFileDialog
+ from PyQt5.QtWidgets import QFileDialog, QMessageBox
from PyQt5.QtCore import QFileInfo
else :
from PyQt4.QtGui import *
tr('Ouvrir Fichier'),
self.appliEficas.CONFIGURATION.savedir,
extensions)
- if fichier.isNull():
- return result
+ if monEnvQT5 : fichier=fichier[0]
+ if not fichier: return result
fichier = os.path.abspath(unicode(fichier))
ulfile = os.path.abspath(unicode(fichier))
self.appliEficas.CONFIGURATION.savedir=os.path.split(ulfile)[0]
QMessageBox.warning(
None,
tr("Fichier Duplique"),
- tr("Le fichier ne sera pas sauvegarde."),
- tr("&Annuler"))
+ tr("Le fichier ne sera pas sauvegarde."),)
return
ok, newName = editor.saveFile()
if ok :
QMessageBox.warning(
None,
tr("Fichier Duplique"),
- tr("Le fichier ne sera pas sauvegarde."),
- tr("&Annuler"))
+ tr("Le fichier ne sera pas sauvegarde."),)
return
ok, newName = editor.sauveLigneFile()
if ok :
for indexEditor in self.dict_editors.keys():
editor=self.dict_editors[indexEditor]
if self.samepath(fichier, editor.getFileName()):
- abort = QMessageBox.warning(self.appliEficas,
- tr("Fichier"),
- tr("Le fichier <b>%s</b> est deja ouvert.",str(fichier)),
- tr("&Duplication"),
- tr("&Abort"))
+ if monEnvQT5 :
+ msgBox = QMessageBox()
+ msgBox.setWindowTitle(tr("Fichier"))
+ msgBox.setText(tr("Le fichier <b>%s</b> est deja ouvert", str(fichier)))
+ msgBox.addButton(tr("&Duplication"),0)
+ msgBox.addButton(tr("&Abandonner"),1)
+ abort=msgBox.exec_()
+ else :
+ abort = QMessageBox.warning(self.appliEficas,
+ tr("Fichier"),
+ tr("Le fichier <b>%s</b> est deja ouvert.",str(fichier)),
+ tr("&Duplication"),
+ tr("&Abort"))
if abort: break
double=editor
else :
"""
res=1
if (editor.modified) and (editor in self.doubles.keys()) :
- res = QMessageBox.warning(
+ if monEnvQT5 :
+ msgBox = QMessageBox(None)
+ msgBox.setWindowTitle(tr("Fichier Duplique"))
+ msgBox.setText(tr("Le fichier ne sera pas sauvegarde."))
+ msgBox.addButton(texte,0)
+ msgBox.addButton(tr("&Annuler"),1)
+ res=msgBox.exec_()
+ else:
+ res = QMessageBox.warning(
None,
tr("Fichier Duplique"),
tr("Le fichier ne sera pas sauvegarde."),
return 2
if editor.modified:
fn = editor.getFileName()
- if fn is None:
- fn = self.appliEficas.trUtf8('Noname')
- res = QMessageBox.warning(self.appliEficas,
+ if fn is None: fn = tr('Noname')
+ if monEnvQT5 :
+ msgBox = QMessageBox(None)
+ msgBox.setWindowTitle(tr("Fichier Duplique"))
+ msgBox.setText(tr("Le fichier ne sera pas sauvegarde."))
+ msgBox.addButton(texte,0)
+ msgBox.addButton(tr("&Annuler"),1)
+ res=msgBox.exec_()
+ else :
+ res = QMessageBox.warning(self.appliEficas,
tr("Fichier Modifie"),
tr("Le fichier %s n a pas ete sauvegarde.",str(fn)),
tr("&Sauvegarder"),
eficas_compile_ui ( desVisu.ui )
eficas_compile_ui ( desWidgetCreeParam.ui )
eficas_compile_ui ( desWidgetCommande.ui )
+eficas_compile_ui ( desWidgetFormule.ui )
eficas_compile_ui ( desWidgetOptionnel.ui )
eficas_compile_ui ( Tuple2.ui )
eficas_compile_ui ( Tuple3.ui )
<string notr="true">background-color : rgb(248,247,246)</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_4">
+ <property name="spacing">
+ <number>0</number>
+ </property>
+ <property name="leftMargin">
+ <number>2</number>
+ </property>
+ <property name="topMargin">
+ <number>2</number>
+ </property>
+ <property name="rightMargin">
+ <number>2</number>
+ </property>
+ <property name="bottomMargin">
+ <number>2</number>
+ </property>
<item>
<widget class="QFrame" name="frameAffichage">
<property name="sizePolicy">
- <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
+ <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
<enum>QFrame::Raised</enum>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_3">
+ <property name="spacing">
+ <number>0</number>
+ </property>
+ <property name="topMargin">
+ <number>0</number>
+ </property>
+ <property name="bottomMargin">
+ <number>0</number>
+ </property>
<item>
<layout class="QVBoxLayout" name="verticalLayout_2">
<property name="spacing">
<item>
<layout class="QVBoxLayout" name="verticalLayout_3">
<property name="spacing">
- <number>0</number>
+ <number>5</number>
</property>
<item>
<widget class="QLabel" name="textLabel6">
<property name="sizePolicy">
- <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
+ <sizepolicy hsizetype="Preferred" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
<property name="minimumSize">
<size>
<width>141</width>
- <height>35</height>
+ <height>25</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
- <height>35</height>
+ <height>25</height>
</size>
</property>
<property name="toolTip">
</property>
</widget>
</item>
+ <item>
+ <spacer name="verticalSpacer_2">
+ <property name="orientation">
+ <enum>Qt::Vertical</enum>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Fixed</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>20</width>
+ <height>2</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
<item>
<widget class="QLineEdit" name="LEFiltre">
<property name="sizePolicy">
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_2">
+ <property name="sizeConstraint">
+ <enum>QLayout::SetMinimumSize</enum>
+ </property>
<item>
<widget class="QRadioButton" name="RBCasse">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
<property name="text">
<string>Sensible à la casse</string>
</property>
</property>
</widget>
</item>
+ <item>
+ <spacer name="horizontalSpacer_3">
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>40</width>
+ <height>20</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
<item>
<widget class="QPushButton" name="RBClear">
<property name="sizePolicy">
</property>
<property name="minimumSize">
<size>
- <width>200</width>
- <height>40</height>
+ <width>100</width>
+ <height>30</height>
</size>
</property>
<property name="maximumSize">
<size>
- <width>200</width>
+ <width>70</width>
<height>40</height>
</size>
</property>
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout_5">
+ <property name="sizeConstraint">
+ <enum>QLayout::SetFixedSize</enum>
+ </property>
<item>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<rect>
<x>0</x>
<y>0</y>
- <width>1226</width>
- <height>498</height>
+ <width>1240</width>
+ <height>518</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
+ <property name="spacing">
+ <number>0</number>
+ </property>
+ <property name="leftMargin">
+ <number>0</number>
+ </property>
+ <property name="topMargin">
+ <number>2</number>
+ </property>
+ <property name="rightMargin">
+ <number>0</number>
+ </property>
+ <property name="bottomMargin">
+ <number>0</number>
+ </property>
<item>
<layout class="QVBoxLayout" name="commandesLayout">
<property name="spacing">
<rect>
<x>0</x>
<y>0</y>
- <width>1031</width>
- <height>250</height>
+ <width>1290</width>
+ <height>540</height>
</rect>
</property>
<property name="sizePolicy">
<string notr="true">background-color : rgb(224,223,222);
font : 'times' 9px</string>
</property>
- <layout class="QVBoxLayout" name="verticalLayout_3">
+ <layout class="QVBoxLayout" name="verticalLayout_4">
+ <property name="spacing">
+ <number>0</number>
+ </property>
+ <property name="leftMargin">
+ <number>0</number>
+ </property>
+ <property name="topMargin">
+ <number>0</number>
+ </property>
+ <property name="rightMargin">
+ <number>0</number>
+ </property>
+ <property name="bottomMargin">
+ <number>0</number>
+ </property>
<item>
- <layout class="QHBoxLayout" name="horizontalLayout_4">
- <item>
- <widget class="QFrame" name="frame_2">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="frameShape">
- <enum>QFrame::Box</enum>
- </property>
- <property name="frameShadow">
- <enum>QFrame::Raised</enum>
- </property>
- <layout class="QHBoxLayout" name="horizontalLayout">
- <property name="spacing">
- <number>0</number>
- </property>
- <item>
- <spacer name="horizontalSpacer_5">
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="sizeType">
- <enum>QSizePolicy::Fixed</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>13</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </item>
- <item>
- <widget class="MonBoutonValide" name="RBValide">
- <property name="minimumSize">
- <size>
- <width>17</width>
- <height>31</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>21</width>
- <height>31</height>
- </size>
- </property>
- <property name="focusPolicy">
- <enum>Qt::ClickFocus</enum>
- </property>
- <property name="toolTip">
- <string>Affiche le rapport de validité de la commande</string>
- </property>
- <property name="styleSheet">
- <string notr="true">border : 0px</string>
- </property>
- <property name="text">
- <string>...</string>
- </property>
- <property name="icon">
- <iconset>
- <normaloff>../Editeur/icons/ast-green-ball.png</normaloff>../Editeur/icons/ast-green-ball.png</iconset>
- </property>
- <property name="iconSize">
- <size>
- <width>21</width>
- <height>31</height>
- </size>
- </property>
- </widget>
- </item>
- <item>
- <spacer name="horizontalSpacer_3">
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="sizeType">
- <enum>QSizePolicy::Fixed</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>13</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </item>
- <item>
- <widget class="MonLabelClic" name="labelNomCommande">
- <property name="sizePolicy">
- <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="minimumSize">
- <size>
- <width>150</width>
- <height>31</height>
- </size>
- </property>
- <property name="frameShape">
- <enum>QFrame::NoFrame</enum>
- </property>
- <property name="frameShadow">
- <enum>QFrame::Raised</enum>
- </property>
- <property name="text">
- <string><html><head/><body><p><span style=" color:#0000ff;">commande </span></p></body></html></string>
- </property>
- </widget>
- </item>
- <item>
- <spacer name="toto">
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="sizeType">
- <enum>QSizePolicy::Maximum</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>2</width>
- <height>40</height>
- </size>
- </property>
- </spacer>
- </item>
+ <widget class="QFrame" name="frameAffichage">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="minimumSize">
+ <size>
+ <width>0</width>
+ <height>130</height>
+ </size>
+ </property>
+ <property name="maximumSize">
+ <size>
+ <width>16777215</width>
+ <height>130</height>
+ </size>
+ </property>
+ <property name="styleSheet">
+ <string notr="true">background-color:rgb(224,223,222)</string>
+ </property>
+ <property name="frameShape">
+ <enum>QFrame::NoFrame</enum>
+ </property>
+ <property name="frameShadow">
+ <enum>QFrame::Raised</enum>
+ </property>
+ <layout class="QHBoxLayout" name="horizontalLayout_5">
+ <property name="spacing">
+ <number>0</number>
+ </property>
+ <property name="topMargin">
+ <number>0</number>
+ </property>
+ <property name="bottomMargin">
+ <number>0</number>
+ </property>
+ <item>
+ <layout class="QHBoxLayout" name="horizontalLayout_4">
<item>
- <widget class="QLineEdit" name="LENom">
- <property name="sizePolicy">
- <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="toolTip">
- <string>Nom de l'objet. Seuls, les objets valides peuvent être nommés</string>
- </property>
- <property name="styleSheet">
- <string notr="true"> QLineEdit {
+ <layout class="QVBoxLayout" name="verticalLayout_3">
+ <item>
+ <widget class="QFrame" name="frame_2">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="frameShape">
+ <enum>QFrame::Box</enum>
+ </property>
+ <property name="frameShadow">
+ <enum>QFrame::Raised</enum>
+ </property>
+ <layout class="QHBoxLayout" name="horizontalLayout">
+ <property name="spacing">
+ <number>0</number>
+ </property>
+ <item>
+ <spacer name="horizontalSpacer_5">
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Fixed</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>13</width>
+ <height>20</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ <item>
+ <widget class="MonBoutonValide" name="RBValide">
+ <property name="minimumSize">
+ <size>
+ <width>17</width>
+ <height>31</height>
+ </size>
+ </property>
+ <property name="maximumSize">
+ <size>
+ <width>21</width>
+ <height>31</height>
+ </size>
+ </property>
+ <property name="focusPolicy">
+ <enum>Qt::ClickFocus</enum>
+ </property>
+ <property name="toolTip">
+ <string>Affiche le rapport de validité de la commande</string>
+ </property>
+ <property name="styleSheet">
+ <string notr="true">border : 0px</string>
+ </property>
+ <property name="text">
+ <string>...</string>
+ </property>
+ <property name="icon">
+ <iconset>
+ <normaloff>../Editeur/icons/ast-green-ball.png</normaloff>../Editeur/icons/ast-green-ball.png</iconset>
+ </property>
+ <property name="iconSize">
+ <size>
+ <width>21</width>
+ <height>31</height>
+ </size>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <spacer name="horizontalSpacer_3">
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Fixed</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>13</width>
+ <height>20</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ <item>
+ <widget class="MonLabelClic" name="labelNomCommande">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="minimumSize">
+ <size>
+ <width>150</width>
+ <height>31</height>
+ </size>
+ </property>
+ <property name="frameShape">
+ <enum>QFrame::NoFrame</enum>
+ </property>
+ <property name="frameShadow">
+ <enum>QFrame::Raised</enum>
+ </property>
+ <property name="text">
+ <string><html><head/><body><p><span style=" color:#0000ff;">commande </span></p></body></html></string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <spacer name="toto">
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Maximum</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>2</width>
+ <height>40</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ <item>
+ <widget class="QLineEdit" name="LENom">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="toolTip">
+ <string>Nom de l'objet. Seuls, les objets valides peuvent être nommés</string>
+ </property>
+ <property name="styleSheet">
+ <string notr="true"> QLineEdit {
border: 2px solid gray;
border-radius: 10px;
padding: 0 8px;
}
/*read-only {
background: lightblue;*/</string>
- </property>
- <property name="readOnly">
- <bool>false</bool>
- </property>
- </widget>
- </item>
- <item>
- <spacer name="horizontalSpacer_2">
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="sizeType">
- <enum>QSizePolicy::Ignored</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>2</width>
- <height>40</height>
- </size>
- </property>
- </spacer>
- </item>
- <item>
- <layout class="QHBoxLayout" name="horizontalLayout_2">
- <property name="spacing">
- <number>4</number>
- </property>
- <property name="sizeConstraint">
- <enum>QLayout::SetFixedSize</enum>
- </property>
- <item>
- <widget class="QToolButton" name="RBRun">
- <property name="minimumSize">
- <size>
- <width>21</width>
- <height>31</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>21</width>
- <height>31</height>
- </size>
- </property>
- <property name="focusPolicy">
- <enum>Qt::ClickFocus</enum>
- </property>
- <property name="toolTip">
- <string>Lance un script associé à la commande</string>
- </property>
- <property name="styleSheet">
- <string notr="true">border : 0px</string>
- </property>
- <property name="text">
- <string>...</string>
- </property>
- <property name="icon">
- <iconset>
- <normaloff>../Editeur/icons/roue.png</normaloff>../Editeur/icons/roue.png</iconset>
- </property>
- <property name="iconSize">
- <size>
- <width>21</width>
- <height>31</height>
- </size>
- </property>
+ </property>
+ <property name="readOnly">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <spacer name="horizontalSpacer_7">
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>108</width>
+ <height>20</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ <item>
+ <spacer name="horizontalSpacer_2">
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Ignored</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>2</width>
+ <height>40</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ <item>
+ <layout class="QHBoxLayout" name="horizontalLayout_2">
+ <property name="spacing">
+ <number>4</number>
+ </property>
+ <property name="sizeConstraint">
+ <enum>QLayout::SetFixedSize</enum>
+ </property>
+ <item>
+ <widget class="QToolButton" name="RBRun">
+ <property name="minimumSize">
+ <size>
+ <width>21</width>
+ <height>31</height>
+ </size>
+ </property>
+ <property name="maximumSize">
+ <size>
+ <width>21</width>
+ <height>31</height>
+ </size>
+ </property>
+ <property name="focusPolicy">
+ <enum>Qt::ClickFocus</enum>
+ </property>
+ <property name="toolTip">
+ <string>Lance un script associé à la commande</string>
+ </property>
+ <property name="styleSheet">
+ <string notr="true">border : 0px</string>
+ </property>
+ <property name="text">
+ <string>...</string>
+ </property>
+ <property name="icon">
+ <iconset>
+ <normaloff>../Editeur/icons/roue.png</normaloff>../Editeur/icons/roue.png</iconset>
+ </property>
+ <property name="iconSize">
+ <size>
+ <width>21</width>
+ <height>31</height>
+ </size>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QToolButton" name="RBInfo">
+ <property name="minimumSize">
+ <size>
+ <width>21</width>
+ <height>31</height>
+ </size>
+ </property>
+ <property name="maximumSize">
+ <size>
+ <width>21</width>
+ <height>31</height>
+ </size>
+ </property>
+ <property name="focusPolicy">
+ <enum>Qt::ClickFocus</enum>
+ </property>
+ <property name="toolTip">
+ <string>ouvre un navigateur sur l'aide contextuelle</string>
+ </property>
+ <property name="styleSheet">
+ <string notr="true">border : 0px</string>
+ </property>
+ <property name="text">
+ <string>...</string>
+ </property>
+ <property name="icon">
+ <iconset>
+ <normaloff>../Editeur/icons/point-interrogation30.png</normaloff>../Editeur/icons/point-interrogation30.png</iconset>
+ </property>
+ <property name="iconSize">
+ <size>
+ <width>21</width>
+ <height>31</height>
+ </size>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QToolButton" name="RBRegle">
+ <property name="minimumSize">
+ <size>
+ <width>21</width>
+ <height>31</height>
+ </size>
+ </property>
+ <property name="maximumSize">
+ <size>
+ <width>21</width>
+ <height>31</height>
+ </size>
+ </property>
+ <property name="focusPolicy">
+ <enum>Qt::ClickFocus</enum>
+ </property>
+ <property name="toolTip">
+ <string>affiche les régles de validité</string>
+ </property>
+ <property name="styleSheet">
+ <string notr="true">border : 0px</string>
+ </property>
+ <property name="text">
+ <string>...</string>
+ </property>
+ <property name="icon">
+ <iconset>
+ <normaloff>../Editeur/icons/lettreRblanc30.png</normaloff>../Editeur/icons/lettreRblanc30.png</iconset>
+ </property>
+ <property name="iconSize">
+ <size>
+ <width>21</width>
+ <height>31</height>
+ </size>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ <item>
+ <spacer name="horizontalSpacer_4">
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Fixed</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>13</width>
+ <height>20</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ <item>
+ <widget class="QToolButton" name="RBPoubelle">
+ <property name="minimumSize">
+ <size>
+ <width>21</width>
+ <height>31</height>
+ </size>
+ </property>
+ <property name="maximumSize">
+ <size>
+ <width>21</width>
+ <height>31</height>
+ </size>
+ </property>
+ <property name="focusPolicy">
+ <enum>Qt::ClickFocus</enum>
+ </property>
+ <property name="toolTip">
+ <string>Détruit la commande</string>
+ </property>
+ <property name="styleSheet">
+ <string notr="true">border : 0px</string>
+ </property>
+ <property name="text">
+ <string>...</string>
+ </property>
+ <property name="icon">
+ <iconset>
+ <normaloff>../Editeur/icons/deleteRond.png</normaloff>../Editeur/icons/deleteRond.png</iconset>
+ </property>
+ <property name="iconSize">
+ <size>
+ <width>21</width>
+ <height>31</height>
+ </size>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ <zorder>RBValide</zorder>
+ <zorder>labelNomCommande</zorder>
+ <zorder>LENom</zorder>
+ <zorder>horizontalSpacer_3</zorder>
+ <zorder>horizontalSpacer_4</zorder>
+ <zorder>RBPoubelle</zorder>
+ <zorder>horizontalSpacer_5</zorder>
+ <zorder>horizontalSpacer_7</zorder>
</widget>
</item>
<item>
- <widget class="QToolButton" name="RBInfo">
- <property name="minimumSize">
- <size>
- <width>21</width>
- <height>31</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>21</width>
- <height>31</height>
- </size>
- </property>
- <property name="focusPolicy">
- <enum>Qt::ClickFocus</enum>
- </property>
- <property name="toolTip">
- <string>ouvre un navigateur sur l'aide contextuelle</string>
- </property>
- <property name="styleSheet">
- <string notr="true">border : 0px</string>
- </property>
+ <widget class="QLabel" name="labelDoc">
<property name="text">
- <string>...</string>
- </property>
- <property name="icon">
- <iconset>
- <normaloff>../Editeur/icons/point-interrogation30.png</normaloff>../Editeur/icons/point-interrogation30.png</iconset>
- </property>
- <property name="iconSize">
- <size>
- <width>21</width>
- <height>31</height>
- </size>
+ <string>TextLabel</string>
</property>
</widget>
</item>
+ </layout>
+ </item>
+ <item>
+ <layout class="QVBoxLayout" name="verticalLayout_2">
+ <property name="spacing">
+ <number>8</number>
+ </property>
+ <property name="topMargin">
+ <number>15</number>
+ </property>
<item>
- <widget class="QToolButton" name="RBRegle">
- <property name="minimumSize">
- <size>
- <width>21</width>
- <height>31</height>
- </size>
+ <widget class="QPushButton" name="bCatalogue">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
</property>
- <property name="maximumSize">
+ <property name="minimumSize">
<size>
- <width>21</width>
+ <width>160</width>
<height>31</height>
</size>
</property>
<enum>Qt::ClickFocus</enum>
</property>
<property name="toolTip">
- <string>affiche les régles de validité</string>
+ <string>Affiche les commandes possibles</string>
</property>
<property name="styleSheet">
- <string notr="true">border : 0px</string>
+ <string notr="true">background-color:rgb(104,110,149);
+color :white;
+border-radius : 12px
+</string>
</property>
<property name="text">
- <string>...</string>
+ <string>&Commandes</string>
</property>
- <property name="icon">
- <iconset>
- <normaloff>../Editeur/icons/lettreRblanc30.png</normaloff>../Editeur/icons/lettreRblanc30.png</iconset>
+ <property name="shortcut">
+ <string>Shift+A, Alt+A, Alt+A, Alt+A</string>
</property>
- <property name="iconSize">
- <size>
- <width>21</width>
- <height>31</height>
- </size>
+ <property name="autoDefault">
+ <bool>true</bool>
+ </property>
+ <property name="default">
+ <bool>true</bool>
</property>
</widget>
</item>
- </layout>
- </item>
- <item>
- <spacer name="horizontalSpacer_4">
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="sizeType">
- <enum>QSizePolicy::Fixed</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>13</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </item>
- <item>
- <widget class="QToolButton" name="RBPoubelle">
- <property name="minimumSize">
- <size>
- <width>21</width>
- <height>31</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>21</width>
- <height>31</height>
- </size>
- </property>
- <property name="focusPolicy">
- <enum>Qt::ClickFocus</enum>
- </property>
- <property name="toolTip">
- <string>Détruit la commande</string>
- </property>
- <property name="styleSheet">
- <string notr="true">border : 0px</string>
- </property>
- <property name="text">
- <string>...</string>
- </property>
- <property name="icon">
- <iconset>
- <normaloff>../Editeur/icons/deleteRond.png</normaloff>../Editeur/icons/deleteRond.png</iconset>
- </property>
- <property name="iconSize">
- <size>
- <width>21</width>
- <height>31</height>
- </size>
- </property>
- </widget>
- </item>
- </layout>
- <zorder>RBValide</zorder>
- <zorder>labelNomCommande</zorder>
- <zorder>LENom</zorder>
- <zorder>horizontalSpacer_3</zorder>
- <zorder>horizontalSpacer_4</zorder>
- <zorder>RBPoubelle</zorder>
- <zorder>horizontalSpacer_5</zorder>
- </widget>
- </item>
- <item>
- <layout class="QVBoxLayout" name="verticalLayout_2">
- <item>
- <widget class="QPushButton" name="bCatalogue">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="minimumSize">
- <size>
- <width>160</width>
- <height>31</height>
- </size>
- </property>
- <property name="focusPolicy">
- <enum>Qt::ClickFocus</enum>
- </property>
- <property name="toolTip">
- <string>Affiche les commandes possibles</string>
- </property>
- <property name="styleSheet">
- <string notr="true">background-color:rgb(104,110,149);
-color :white;
-border-radius : 12px
-</string>
- </property>
- <property name="text">
- <string>&Commandes</string>
- </property>
- <property name="shortcut">
- <string>Shift+A, Alt+A, Alt+A, Alt+A</string>
- </property>
- <property name="autoDefault">
- <bool>true</bool>
- </property>
- <property name="default">
- <bool>true</bool>
- </property>
- </widget>
- </item>
- <item>
- <layout class="QHBoxLayout" name="horizontalLayout_3">
- <item>
- <widget class="QPushButton" name="bAvant">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="minimumSize">
- <size>
- <width>60</width>
- <height>24</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>60</width>
- <height>24</height>
- </size>
- </property>
- <property name="focusPolicy">
- <enum>Qt::ClickFocus</enum>
- </property>
- <property name="toolTip">
- <string>Affiche le formulaire de la commande précédente</string>
- </property>
- <property name="styleSheet">
- <string notr="true">background-color:rgb(104,110,149);
+ <item>
+ <layout class="QHBoxLayout" name="horizontalLayout_3">
+ <item>
+ <widget class="QPushButton" name="bAvant">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="minimumSize">
+ <size>
+ <width>60</width>
+ <height>24</height>
+ </size>
+ </property>
+ <property name="maximumSize">
+ <size>
+ <width>60</width>
+ <height>24</height>
+ </size>
+ </property>
+ <property name="focusPolicy">
+ <enum>Qt::ClickFocus</enum>
+ </property>
+ <property name="toolTip">
+ <string>Affiche le formulaire de la commande précédente</string>
+ </property>
+ <property name="styleSheet">
+ <string notr="true">background-color:rgb(104,110,149);
color :white;
border-radius : 12px
</string>
- </property>
- <property name="text">
- <string><<</string>
- </property>
- <property name="shortcut">
- <string>Shift+A, Alt+A, Alt+A, Alt+A</string>
- </property>
- <property name="autoDefault">
- <bool>true</bool>
- </property>
- <property name="default">
- <bool>true</bool>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QPushButton" name="bApres">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="minimumSize">
- <size>
- <width>60</width>
- <height>24</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>60</width>
- <height>24</height>
- </size>
- </property>
- <property name="focusPolicy">
- <enum>Qt::ClickFocus</enum>
- </property>
- <property name="toolTip">
- <string>Affiche le formulaire de la commande suivante</string>
- </property>
- <property name="styleSheet">
- <string notr="true">background-color:rgb(104,110,149);
+ </property>
+ <property name="text">
+ <string><<</string>
+ </property>
+ <property name="shortcut">
+ <string>Shift+A, Alt+A, Alt+A, Alt+A</string>
+ </property>
+ <property name="autoDefault">
+ <bool>true</bool>
+ </property>
+ <property name="default">
+ <bool>true</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QPushButton" name="bApres">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="minimumSize">
+ <size>
+ <width>60</width>
+ <height>24</height>
+ </size>
+ </property>
+ <property name="maximumSize">
+ <size>
+ <width>60</width>
+ <height>24</height>
+ </size>
+ </property>
+ <property name="focusPolicy">
+ <enum>Qt::ClickFocus</enum>
+ </property>
+ <property name="toolTip">
+ <string>Affiche le formulaire de la commande suivante</string>
+ </property>
+ <property name="styleSheet">
+ <string notr="true">background-color:rgb(104,110,149);
color :white;
border-radius : 12px
</string>
- </property>
- <property name="text">
- <string>>></string>
- </property>
- <property name="shortcut">
- <string>Shift+A, Alt+A, Alt+A, Alt+A</string>
- </property>
- <property name="autoDefault">
- <bool>true</bool>
- </property>
- <property name="default">
- <bool>true</bool>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- </layout>
- </item>
- </layout>
- </item>
- <item>
- <widget class="QLabel" name="labelDoc">
- <property name="text">
- <string>TextLabel</string>
- </property>
+ </property>
+ <property name="text">
+ <string>>></string>
+ </property>
+ <property name="shortcut">
+ <string>Shift+A, Alt+A, Alt+A, Alt+A</string>
+ </property>
+ <property name="autoDefault">
+ <bool>true</bool>
+ </property>
+ <property name="default">
+ <bool>true</bool>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ </layout>
+ </item>
+ </layout>
+ </item>
+ </layout>
</widget>
</item>
<item>
<rect>
<x>0</x>
<y>0</y>
- <width>1013</width>
- <height>129</height>
+ <width>1290</width>
+ <height>410</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
</property>
</layout>
</item>
- <item>
- <spacer name="verticalSpacer">
- <property name="orientation">
- <enum>Qt::Vertical</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>20</width>
- <height>5</height>
- </size>
- </property>
- </spacer>
- </item>
</layout>
</widget>
</widget>
</item>
</layout>
+ <zorder>scrollAreaCommandes</zorder>
+ <zorder>frameAffichage</zorder>
+ <zorder></zorder>
+ <zorder>frame_2</zorder>
+ <zorder>frame_2</zorder>
+ <zorder></zorder>
</widget>
<layoutdefault spacing="6" margin="11"/>
<pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
<header>monLabelClic.h</header>
</customwidget>
</customwidgets>
+ <tabstops>
+ <tabstop>scrollAreaCommandes</tabstop>
+ <tabstop>LENom</tabstop>
+ </tabstops>
<resources/>
<connections/>
</ui>
<rect>
<x>0</x>
<y>0</y>
- <width>1031</width>
- <height>177</height>
+ <width>847</width>
+ <height>453</height>
</rect>
</property>
<property name="sizePolicy">
<string notr="true">background-color : rgb(224,223,222);
font : 'times' 9px</string>
</property>
- <layout class="QVBoxLayout" name="verticalLayout_3">
+ <layout class="QVBoxLayout" name="verticalLayout_2">
<property name="spacing">
<number>0</number>
</property>
- <property name="margin">
+ <property name="leftMargin">
+ <number>0</number>
+ </property>
+ <property name="topMargin">
+ <number>0</number>
+ </property>
+ <property name="rightMargin">
+ <number>0</number>
+ </property>
+ <property name="bottomMargin">
<number>0</number>
</property>
<item>
- <layout class="QHBoxLayout" name="horizontalLayout_2">
- <item>
- <widget class="QFrame" name="frame_2">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="frameShape">
- <enum>QFrame::Box</enum>
- </property>
- <property name="frameShadow">
- <enum>QFrame::Raised</enum>
- </property>
- <layout class="QHBoxLayout" name="horizontalLayout">
- <item>
- <spacer name="horizontalSpacer_5">
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="sizeType">
- <enum>QSizePolicy::Fixed</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>13</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </item>
- <item>
- <widget class="MonBoutonValide" name="RBValide">
- <property name="minimumSize">
- <size>
- <width>17</width>
- <height>31</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>21</width>
- <height>31</height>
- </size>
- </property>
- <property name="toolTip">
- <string/>
- </property>
- <property name="styleSheet">
- <string notr="true">border : 0px</string>
- </property>
- <property name="text">
- <string>...</string>
- </property>
- <property name="icon">
- <iconset>
- <normaloff>../Editeur/icons/ast-green-ball.png</normaloff>../Editeur/icons/ast-green-ball.png</iconset>
- </property>
- <property name="iconSize">
- <size>
- <width>21</width>
- <height>31</height>
- </size>
- </property>
- </widget>
- </item>
- <item>
- <spacer name="horizontalSpacer_3">
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="sizeType">
- <enum>QSizePolicy::Fixed</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>13</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </item>
- <item>
- <widget class="QLabel" name="labelNomCommande">
- <property name="sizePolicy">
- <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="minimumSize">
- <size>
- <width>150</width>
- <height>31</height>
- </size>
- </property>
- <property name="frameShape">
- <enum>QFrame::NoFrame</enum>
- </property>
- <property name="frameShadow">
- <enum>QFrame::Raised</enum>
- </property>
- <property name="text">
- <string><html><head/><body><p><span style=" color:#0000ff;">Commentaire</span></p></body></html></string>
- </property>
- </widget>
- </item>
+ <widget class="QFrame" name="frameAffichage">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="minimumSize">
+ <size>
+ <width>0</width>
+ <height>130</height>
+ </size>
+ </property>
+ <property name="maximumSize">
+ <size>
+ <width>16777215</width>
+ <height>130</height>
+ </size>
+ </property>
+ <property name="styleSheet">
+ <string notr="true">background-color:rgb(224,223,222)</string>
+ </property>
+ <property name="frameShape">
+ <enum>QFrame::NoFrame</enum>
+ </property>
+ <property name="frameShadow">
+ <enum>QFrame::Raised</enum>
+ </property>
+ <layout class="QHBoxLayout" name="horizontalLayout_7">
+ <property name="spacing">
+ <number>0</number>
+ </property>
+ <property name="leftMargin">
+ <number>0</number>
+ </property>
+ <property name="topMargin">
+ <number>0</number>
+ </property>
+ <property name="bottomMargin">
+ <number>0</number>
+ </property>
+ <item>
+ <layout class="QHBoxLayout" name="horizontalLayout_9">
+ <property name="spacing">
+ <number>6</number>
+ </property>
<item>
- <spacer name="horizontalSpacer_2">
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="sizeType">
- <enum>QSizePolicy::Maximum</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>78</width>
- <height>40</height>
- </size>
- </property>
- </spacer>
+ <layout class="QVBoxLayout" name="verticalLayout_3">
+ <item>
+ <widget class="QFrame" name="frame_4">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="frameShape">
+ <enum>QFrame::Box</enum>
+ </property>
+ <property name="frameShadow">
+ <enum>QFrame::Raised</enum>
+ </property>
+ <layout class="QHBoxLayout" name="horizontalLayout_10">
+ <property name="spacing">
+ <number>0</number>
+ </property>
+ <item>
+ <spacer name="horizontalSpacer_7">
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Fixed</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>13</width>
+ <height>20</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ <item>
+ <widget class="MonBoutonValide" name="RBValide">
+ <property name="minimumSize">
+ <size>
+ <width>17</width>
+ <height>31</height>
+ </size>
+ </property>
+ <property name="maximumSize">
+ <size>
+ <width>21</width>
+ <height>31</height>
+ </size>
+ </property>
+ <property name="focusPolicy">
+ <enum>Qt::ClickFocus</enum>
+ </property>
+ <property name="toolTip">
+ <string>Affiche le rapport de validité de la commande</string>
+ </property>
+ <property name="styleSheet">
+ <string notr="true">border : 0px</string>
+ </property>
+ <property name="text">
+ <string>...</string>
+ </property>
+ <property name="icon">
+ <iconset>
+ <normaloff>../Editeur/icons/ast-green-ball.png</normaloff>../Editeur/icons/ast-green-ball.png</iconset>
+ </property>
+ <property name="iconSize">
+ <size>
+ <width>21</width>
+ <height>31</height>
+ </size>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <spacer name="horizontalSpacer_10">
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Fixed</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>13</width>
+ <height>20</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ <item>
+ <widget class="QLabel" name="labelNCommentaire">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="minimumSize">
+ <size>
+ <width>150</width>
+ <height>31</height>
+ </size>
+ </property>
+ <property name="frameShape">
+ <enum>QFrame::NoFrame</enum>
+ </property>
+ <property name="frameShadow">
+ <enum>QFrame::Raised</enum>
+ </property>
+ <property name="text">
+ <string><html><head/><body><p>Commentaire</p></body></html></string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <spacer name="toto_2">
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Maximum</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>2</width>
+ <height>40</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ <item>
+ <spacer name="horizontalSpacer_11">
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Ignored</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>2</width>
+ <height>40</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ <item>
+ <spacer name="horizontalSpacer_12">
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Fixed</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>13</width>
+ <height>20</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ <item>
+ <widget class="QToolButton" name="RBPoubelle">
+ <property name="minimumSize">
+ <size>
+ <width>21</width>
+ <height>31</height>
+ </size>
+ </property>
+ <property name="maximumSize">
+ <size>
+ <width>21</width>
+ <height>31</height>
+ </size>
+ </property>
+ <property name="focusPolicy">
+ <enum>Qt::ClickFocus</enum>
+ </property>
+ <property name="toolTip">
+ <string>Détruit la commande</string>
+ </property>
+ <property name="styleSheet">
+ <string notr="true">border : 0px</string>
+ </property>
+ <property name="text">
+ <string>...</string>
+ </property>
+ <property name="icon">
+ <iconset>
+ <normaloff>../Editeur/icons/deleteRond.png</normaloff>../Editeur/icons/deleteRond.png</iconset>
+ </property>
+ <property name="iconSize">
+ <size>
+ <width>21</width>
+ <height>31</height>
+ </size>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </widget>
+ </item>
+ </layout>
</item>
<item>
- <widget class="QToolButton" name="RBPoubelle">
- <property name="minimumSize">
- <size>
- <width>21</width>
- <height>31</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>21</width>
- <height>31</height>
- </size>
- </property>
- <property name="toolTip">
- <string>Détruit le commentaire</string>
- </property>
- <property name="styleSheet">
- <string notr="true">border : 0px</string>
- </property>
- <property name="text">
- <string>...</string>
+ <layout class="QVBoxLayout" name="verticalLayout_6">
+ <property name="spacing">
+ <number>8</number>
</property>
- <property name="icon">
- <iconset>
- <normaloff>../Editeur/icons/deleteRond.png</normaloff>../Editeur/icons/deleteRond.png</iconset>
+ <property name="topMargin">
+ <number>15</number>
</property>
- <property name="iconSize">
- <size>
- <width>21</width>
- <height>31</height>
- </size>
- </property>
- </widget>
- </item>
- </layout>
- <zorder>RBValide</zorder>
- <zorder>labelNomCommande</zorder>
- <zorder>horizontalSpacer_3</zorder>
- <zorder>RBPoubelle</zorder>
- <zorder>horizontalSpacer_5</zorder>
- </widget>
- </item>
- <item>
- <layout class="QVBoxLayout" name="verticalLayout_2">
- <item>
- <widget class="QPushButton" name="bCatalogue">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="minimumSize">
- <size>
- <width>160</width>
- <height>31</height>
- </size>
- </property>
- <property name="toolTip">
- <string>Affiche les commandes possibles</string>
- </property>
- <property name="styleSheet">
- <string notr="true">background-color:rgb(104,110,149);
+ <item>
+ <widget class="QPushButton" name="bCatalogue">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="minimumSize">
+ <size>
+ <width>160</width>
+ <height>31</height>
+ </size>
+ </property>
+ <property name="focusPolicy">
+ <enum>Qt::ClickFocus</enum>
+ </property>
+ <property name="toolTip">
+ <string>Affiche les commandes possibles</string>
+ </property>
+ <property name="styleSheet">
+ <string notr="true">background-color:rgb(104,110,149);
color :white;
border-radius : 12px
</string>
- </property>
- <property name="text">
- <string>&Commandes</string>
- </property>
- <property name="shortcut">
- <string>Shift+A, Alt+A, Alt+A, Alt+A</string>
- </property>
- <property name="autoDefault">
- <bool>true</bool>
- </property>
- <property name="default">
- <bool>true</bool>
- </property>
- </widget>
- </item>
- <item>
- <layout class="QHBoxLayout" name="horizontalLayout_3">
- <item>
- <widget class="QPushButton" name="bAvant">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="minimumSize">
- <size>
- <width>60</width>
- <height>24</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>60</width>
- <height>24</height>
- </size>
- </property>
- <property name="focusPolicy">
- <enum>Qt::ClickFocus</enum>
- </property>
- <property name="toolTip">
- <string>Affiche le formulaire de la commande précédente</string>
- </property>
- <property name="styleSheet">
- <string notr="true">background-color:rgb(104,110,149);
+ </property>
+ <property name="text">
+ <string>&Commandes</string>
+ </property>
+ <property name="shortcut">
+ <string>Shift+A, Alt+A, Alt+A, Alt+A</string>
+ </property>
+ <property name="autoDefault">
+ <bool>true</bool>
+ </property>
+ <property name="default">
+ <bool>true</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <layout class="QHBoxLayout" name="horizontalLayout_11">
+ <item>
+ <widget class="QPushButton" name="bAvant">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="minimumSize">
+ <size>
+ <width>60</width>
+ <height>24</height>
+ </size>
+ </property>
+ <property name="maximumSize">
+ <size>
+ <width>60</width>
+ <height>24</height>
+ </size>
+ </property>
+ <property name="focusPolicy">
+ <enum>Qt::ClickFocus</enum>
+ </property>
+ <property name="toolTip">
+ <string>Affiche le formulaire de la commande précédente</string>
+ </property>
+ <property name="styleSheet">
+ <string notr="true">background-color:rgb(104,110,149);
color :white;
border-radius : 12px
</string>
- </property>
- <property name="text">
- <string><<</string>
- </property>
- <property name="shortcut">
- <string>Shift+A, Alt+A, Alt+A, Alt+A</string>
- </property>
- <property name="autoDefault">
- <bool>true</bool>
- </property>
- <property name="default">
- <bool>true</bool>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QPushButton" name="bApres">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="minimumSize">
- <size>
- <width>60</width>
- <height>24</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>60</width>
- <height>24</height>
- </size>
- </property>
- <property name="focusPolicy">
- <enum>Qt::ClickFocus</enum>
- </property>
- <property name="toolTip">
- <string>Affiche le formulaire de la commande suivante</string>
- </property>
- <property name="styleSheet">
- <string notr="true">background-color:rgb(104,110,149);
+ </property>
+ <property name="text">
+ <string><<</string>
+ </property>
+ <property name="shortcut">
+ <string>Shift+A, Alt+A, Alt+A, Alt+A</string>
+ </property>
+ <property name="autoDefault">
+ <bool>true</bool>
+ </property>
+ <property name="default">
+ <bool>true</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QPushButton" name="bApres">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="minimumSize">
+ <size>
+ <width>60</width>
+ <height>24</height>
+ </size>
+ </property>
+ <property name="maximumSize">
+ <size>
+ <width>60</width>
+ <height>24</height>
+ </size>
+ </property>
+ <property name="focusPolicy">
+ <enum>Qt::ClickFocus</enum>
+ </property>
+ <property name="toolTip">
+ <string>Affiche le formulaire de la commande suivante</string>
+ </property>
+ <property name="styleSheet">
+ <string notr="true">background-color:rgb(104,110,149);
color :white;
border-radius : 12px
</string>
- </property>
- <property name="text">
- <string>>></string>
- </property>
- <property name="shortcut">
- <string>Shift+A, Alt+A, Alt+A, Alt+A</string>
- </property>
- <property name="autoDefault">
- <bool>true</bool>
- </property>
- <property name="default">
- <bool>true</bool>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- </layout>
- </item>
- </layout>
+ </property>
+ <property name="text">
+ <string>>></string>
+ </property>
+ <property name="shortcut">
+ <string>Shift+A, Alt+A, Alt+A, Alt+A</string>
+ </property>
+ <property name="autoDefault">
+ <bool>true</bool>
+ </property>
+ <property name="default">
+ <bool>true</bool>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ </layout>
+ </item>
+ </layout>
+ </item>
+ </layout>
+ </widget>
</item>
<item>
<widget class="QScrollArea" name="scrollAreaCommandes">
</size>
</property>
<property name="styleSheet">
- <string notr="true">
-
-
-</string>
+ <string notr="true"/>
</property>
<property name="frameShape">
<enum>QFrame::NoFrame</enum>
<rect>
<x>0</x>
<y>0</y>
- <width>1031</width>
- <height>110</height>
+ <width>847</width>
+ <height>323</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
+ <property name="spacing">
+ <number>0</number>
+ </property>
<property name="leftMargin">
+ <number>4</number>
+ </property>
+ <property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
+ <number>4</number>
+ </property>
+ <property name="bottomMargin">
<number>0</number>
</property>
<item>
- <widget class="QLineEdit" name="commentaireLE">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="minimumSize">
- <size>
- <width>0</width>
- <height>43</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>16777215</width>
- <height>43</height>
- </size>
- </property>
+ <widget class="QTextEdit" name="commentaireTE">
<property name="styleSheet">
<string notr="true">background : rgb(247,247,247)</string>
</property>
- <property name="frame">
- <bool>false</bool>
- </property>
</widget>
</item>
<item>
</customwidget>
</customwidgets>
<tabstops>
- <tabstop>RBPoubelle</tabstop>
- <tabstop>bCatalogue</tabstop>
- <tabstop>RBValide</tabstop>
<tabstop>scrollAreaCommandes</tabstop>
</tabstops>
<resources/>
<x>30</x>
<y>40</y>
<width>531</width>
- <height>70</height>
+ <height>76</height>
</rect>
</property>
<layout class="QGridLayout" name="gridLayout">
+ <property name="verticalSpacing">
+ <number>12</number>
+ </property>
<item row="1" column="1">
<widget class="QLineEdit" name="lineEditVal">
<property name="minimumSize">
</item>
</layout>
</widget>
+ <tabstops>
+ <tabstop>lineEditNom</tabstop>
+ <tabstop>lineEditVal</tabstop>
+ <tabstop>scrollArea</tabstop>
+ <tabstop>LBParam</tabstop>
+ </tabstops>
<resources/>
<connections/>
</ui>
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0">
+ <class>WidgetFormule</class>
+ <widget class="QWidget" name="WidgetFormule">
+ <property name="geometry">
+ <rect>
+ <x>0</x>
+ <y>0</y>
+ <width>1156</width>
+ <height>689</height>
+ </rect>
+ </property>
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="minimumSize">
+ <size>
+ <width>0</width>
+ <height>0</height>
+ </size>
+ </property>
+ <property name="windowTitle">
+ <string>DCommandeUnique</string>
+ </property>
+ <property name="toolTip">
+ <string/>
+ </property>
+ <property name="styleSheet">
+ <string notr="true">background-color : rgb(224,223,222);
+font : 'times' 9px</string>
+ </property>
+ <layout class="QVBoxLayout" name="verticalLayout_3">
+ <item>
+ <layout class="QHBoxLayout" name="horizontalLayout_4">
+ <item>
+ <widget class="QFrame" name="frame_2">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="frameShape">
+ <enum>QFrame::Box</enum>
+ </property>
+ <property name="frameShadow">
+ <enum>QFrame::Raised</enum>
+ </property>
+ <layout class="QHBoxLayout" name="horizontalLayout">
+ <property name="spacing">
+ <number>0</number>
+ </property>
+ <item>
+ <spacer name="horizontalSpacer_5">
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Fixed</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>13</width>
+ <height>20</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ <item>
+ <widget class="MonBoutonValide" name="RBValide">
+ <property name="minimumSize">
+ <size>
+ <width>17</width>
+ <height>31</height>
+ </size>
+ </property>
+ <property name="maximumSize">
+ <size>
+ <width>21</width>
+ <height>31</height>
+ </size>
+ </property>
+ <property name="focusPolicy">
+ <enum>Qt::ClickFocus</enum>
+ </property>
+ <property name="toolTip">
+ <string>Affiche le rapport de validité de la commande</string>
+ </property>
+ <property name="styleSheet">
+ <string notr="true">border : 0px</string>
+ </property>
+ <property name="text">
+ <string>...</string>
+ </property>
+ <property name="icon">
+ <iconset>
+ <normaloff>../Editeur/icons/ast-green-ball.png</normaloff>../Editeur/icons/ast-green-ball.png</iconset>
+ </property>
+ <property name="iconSize">
+ <size>
+ <width>21</width>
+ <height>31</height>
+ </size>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <spacer name="horizontalSpacer_3">
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Fixed</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>13</width>
+ <height>20</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ <item>
+ <widget class="MonLabelClic" name="labelNomCommande">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="minimumSize">
+ <size>
+ <width>150</width>
+ <height>31</height>
+ </size>
+ </property>
+ <property name="frameShape">
+ <enum>QFrame::NoFrame</enum>
+ </property>
+ <property name="frameShadow">
+ <enum>QFrame::Raised</enum>
+ </property>
+ <property name="text">
+ <string><html><head/><body><p><span style=" color:#0000ff;">Formule</span></p></body></html></string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <spacer name="toto">
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Maximum</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>2</width>
+ <height>40</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ <item>
+ <widget class="QLineEdit" name="LENom">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="toolTip">
+ <string>Nom de l'objet. Seuls, les objets valides peuvent être nommés</string>
+ </property>
+ <property name="styleSheet">
+ <string notr="true"> QLineEdit {
+ border: 2px solid gray;
+ border-radius: 10px;
+ padding: 0 8px;
+ background: darkgray;
+ /* selection-background-color: darkgray;*/
+ }
+QLineEdit:disabled
+{
+ background: lightgray;
+}
+/*read-only {
+ background: lightblue;*/</string>
+ </property>
+ <property name="readOnly">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <spacer name="horizontalSpacer_2">
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Ignored</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>2</width>
+ <height>40</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ <item>
+ <layout class="QHBoxLayout" name="horizontalLayout_2">
+ <property name="spacing">
+ <number>4</number>
+ </property>
+ <property name="sizeConstraint">
+ <enum>QLayout::SetFixedSize</enum>
+ </property>
+ </layout>
+ </item>
+ <item>
+ <spacer name="horizontalSpacer_4">
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Fixed</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>13</width>
+ <height>20</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ <item>
+ <widget class="QToolButton" name="RBPoubelle">
+ <property name="minimumSize">
+ <size>
+ <width>21</width>
+ <height>31</height>
+ </size>
+ </property>
+ <property name="maximumSize">
+ <size>
+ <width>21</width>
+ <height>31</height>
+ </size>
+ </property>
+ <property name="focusPolicy">
+ <enum>Qt::ClickFocus</enum>
+ </property>
+ <property name="toolTip">
+ <string>Détruit la commande</string>
+ </property>
+ <property name="styleSheet">
+ <string notr="true">border : 0px</string>
+ </property>
+ <property name="text">
+ <string>...</string>
+ </property>
+ <property name="icon">
+ <iconset>
+ <normaloff>../Editeur/icons/deleteRond.png</normaloff>../Editeur/icons/deleteRond.png</iconset>
+ </property>
+ <property name="iconSize">
+ <size>
+ <width>21</width>
+ <height>31</height>
+ </size>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ <zorder>RBValide</zorder>
+ <zorder>labelNomCommande</zorder>
+ <zorder>LENom</zorder>
+ <zorder>horizontalSpacer_3</zorder>
+ <zorder>horizontalSpacer_4</zorder>
+ <zorder>RBPoubelle</zorder>
+ <zorder>horizontalSpacer_5</zorder>
+ </widget>
+ </item>
+ <item>
+ <layout class="QVBoxLayout" name="verticalLayout_2">
+ <item>
+ <widget class="QPushButton" name="bCatalogue">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="minimumSize">
+ <size>
+ <width>160</width>
+ <height>31</height>
+ </size>
+ </property>
+ <property name="focusPolicy">
+ <enum>Qt::ClickFocus</enum>
+ </property>
+ <property name="toolTip">
+ <string>Affiche les commandes possibles</string>
+ </property>
+ <property name="styleSheet">
+ <string notr="true">background-color:rgb(104,110,149);
+color :white;
+border-radius : 12px
+</string>
+ </property>
+ <property name="text">
+ <string>&Commandes</string>
+ </property>
+ <property name="shortcut">
+ <string>Shift+A, Alt+A, Alt+A, Alt+A</string>
+ </property>
+ <property name="autoDefault">
+ <bool>true</bool>
+ </property>
+ <property name="default">
+ <bool>true</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <layout class="QHBoxLayout" name="horizontalLayout_3">
+ <item>
+ <widget class="QPushButton" name="bAvant">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="minimumSize">
+ <size>
+ <width>60</width>
+ <height>24</height>
+ </size>
+ </property>
+ <property name="maximumSize">
+ <size>
+ <width>60</width>
+ <height>24</height>
+ </size>
+ </property>
+ <property name="focusPolicy">
+ <enum>Qt::ClickFocus</enum>
+ </property>
+ <property name="toolTip">
+ <string>Affiche le formulaire de la commande précédente</string>
+ </property>
+ <property name="styleSheet">
+ <string notr="true">background-color:rgb(104,110,149);
+color :white;
+border-radius : 12px
+</string>
+ </property>
+ <property name="text">
+ <string><<</string>
+ </property>
+ <property name="shortcut">
+ <string>Shift+A, Alt+A, Alt+A, Alt+A</string>
+ </property>
+ <property name="autoDefault">
+ <bool>true</bool>
+ </property>
+ <property name="default">
+ <bool>true</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QPushButton" name="bApres">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="minimumSize">
+ <size>
+ <width>60</width>
+ <height>24</height>
+ </size>
+ </property>
+ <property name="maximumSize">
+ <size>
+ <width>60</width>
+ <height>24</height>
+ </size>
+ </property>
+ <property name="focusPolicy">
+ <enum>Qt::ClickFocus</enum>
+ </property>
+ <property name="toolTip">
+ <string>Affiche le formulaire de la commande suivante</string>
+ </property>
+ <property name="styleSheet">
+ <string notr="true">background-color:rgb(104,110,149);
+color :white;
+border-radius : 12px
+</string>
+ </property>
+ <property name="text">
+ <string>>></string>
+ </property>
+ <property name="shortcut">
+ <string>Shift+A, Alt+A, Alt+A, Alt+A</string>
+ </property>
+ <property name="autoDefault">
+ <bool>true</bool>
+ </property>
+ <property name="default">
+ <bool>true</bool>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ </layout>
+ </item>
+ </layout>
+ </item>
+ <item>
+ <widget class="QScrollArea" name="scrollAreaCommandes">
+ <property name="minimumSize">
+ <size>
+ <width>0</width>
+ <height>81</height>
+ </size>
+ </property>
+ <property name="styleSheet">
+ <string notr="true">background : rgb(247,247,247)
+
+
+</string>
+ </property>
+ <property name="frameShape">
+ <enum>QFrame::NoFrame</enum>
+ </property>
+ <property name="verticalScrollBarPolicy">
+ <enum>Qt::ScrollBarAsNeeded</enum>
+ </property>
+ <property name="horizontalScrollBarPolicy">
+ <enum>Qt::ScrollBarAsNeeded</enum>
+ </property>
+ <property name="widgetResizable">
+ <bool>true</bool>
+ </property>
+ <widget class="QWidget" name="scrollAreaWidgetContents">
+ <property name="geometry">
+ <rect>
+ <x>0</x>
+ <y>0</y>
+ <width>1138</width>
+ <height>598</height>
+ </rect>
+ </property>
+ <layout class="QVBoxLayout" name="verticalLayout_5">
+ <item>
+ <layout class="QGridLayout" name="gridLayout">
+ <item row="0" column="0">
+ <widget class="QLabel" name="textLabel1_4">
+ <property name="minimumSize">
+ <size>
+ <width>0</width>
+ <height>0</height>
+ </size>
+ </property>
+ <property name="text">
+ <string><h3><p align="center"><u><b>Nom de la formule</b></u></p></h3></string>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="0" column="1" rowspan="2">
+ <layout class="QVBoxLayout" name="verticalLayout">
+ <item>
+ <widget class="QLabel" name="textLabel1_2">
+ <property name="text">
+ <string><h3><p align="center"><u><b>Arguments</b></u></p></h3></string>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QLabel" name="textLabel2">
+ <property name="text">
+ <string>variables séparées par des ","
+ par ex. : x,y,z</string>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ <item row="0" column="4">
+ <widget class="QLabel" name="textLabel1_5">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="minimumSize">
+ <size>
+ <width>0</width>
+ <height>0</height>
+ </size>
+ </property>
+ <property name="text">
+ <string><h3><p align="center"><u><b>Expression</b></u></p></h3></string>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="3">
+ <spacer name="horizontalSpacer_6">
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Fixed</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>17</width>
+ <height>17</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ <item row="2" column="0">
+ <widget class="QLineEdit" name="LENomFormule">
+ <property name="minimumSize">
+ <size>
+ <width>0</width>
+ <height>40</height>
+ </size>
+ </property>
+ </widget>
+ </item>
+ <item row="2" column="1">
+ <layout class="QHBoxLayout" name="horizontalLayout_5">
+ <item>
+ <widget class="QLabel" name="textLabel1_6">
+ <property name="text">
+ <string><h1><b>(</b></h1></string>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QLineEdit" name="LENomsArgs">
+ <property name="minimumSize">
+ <size>
+ <width>230</width>
+ <height>40</height>
+ </size>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QLabel" name="textLabel1_6_2">
+ <property name="text">
+ <string><h1><b>)</b></h1></string>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ <item row="2" column="2">
+ <layout class="QVBoxLayout" name="verticalLayout_4">
+ <item>
+ <spacer name="verticalSpacer_2">
+ <property name="orientation">
+ <enum>Qt::Vertical</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>20</width>
+ <height>5</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ <item>
+ <widget class="QLabel" name="textLabel2_2">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="minimumSize">
+ <size>
+ <width>0</width>
+ <height>35</height>
+ </size>
+ </property>
+ <property name="maximumSize">
+ <size>
+ <width>16777215</width>
+ <height>35</height>
+ </size>
+ </property>
+ <property name="text">
+ <string><font size="+4" face="Helvetica"><b>=</b></font></string>
+ </property>
+ <property name="wordWrap">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <spacer name="verticalSpacer_3">
+ <property name="orientation">
+ <enum>Qt::Vertical</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>20</width>
+ <height>10</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ </layout>
+ </item>
+ <item row="2" column="4">
+ <widget class="QLineEdit" name="LECorpsFormule">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="minimumSize">
+ <size>
+ <width>0</width>
+ <height>40</height>
+ </size>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ <item>
+ <spacer name="verticalSpacer">
+ <property name="orientation">
+ <enum>Qt::Vertical</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>20</width>
+ <height>446</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ </layout>
+ </widget>
+ </widget>
+ </item>
+ </layout>
+ </widget>
+ <layoutdefault spacing="6" margin="11"/>
+ <pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
+ <customwidgets>
+ <customwidget>
+ <class>MonBoutonValide</class>
+ <extends>QToolButton</extends>
+ <header>monBoutonValide.h</header>
+ </customwidget>
+ <customwidget>
+ <class>MonLabelClic</class>
+ <extends>QLabel</extends>
+ <header>monLabelClic.h</header>
+ </customwidget>
+ </customwidgets>
+ <tabstops>
+ <tabstop>scrollAreaCommandes</tabstop>
+ <tabstop>LENomsArgs</tabstop>
+ <tabstop>LECorpsFormule</tabstop>
+ <tabstop>LENom</tabstop>
+ <tabstop>LENomFormule</tabstop>
+ </tabstops>
+ <resources/>
+ <connections/>
+</ui>
<rect>
<x>0</x>
<y>0</y>
- <width>1058</width>
- <height>440</height>
+ <width>786</width>
+ <height>515</height>
</rect>
</property>
<property name="sizePolicy">
<string notr="true">background-color : rgb(224,223,222);
font : 'times' 9px</string>
</property>
- <layout class="QVBoxLayout" name="verticalLayout_3">
+ <layout class="QVBoxLayout" name="verticalLayout_2">
<item>
- <layout class="QHBoxLayout" name="horizontalLayout_2">
- <item>
- <widget class="QFrame" name="frame_2">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="frameShape">
- <enum>QFrame::Box</enum>
- </property>
- <property name="frameShadow">
- <enum>QFrame::Raised</enum>
- </property>
- <layout class="QHBoxLayout" name="horizontalLayout">
- <item>
- <spacer name="horizontalSpacer_5">
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="sizeType">
- <enum>QSizePolicy::Fixed</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>13</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </item>
- <item>
- <widget class="MonBoutonValide" name="RBValide">
- <property name="minimumSize">
- <size>
- <width>17</width>
- <height>31</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>21</width>
- <height>31</height>
- </size>
- </property>
- <property name="toolTip">
- <string/>
- </property>
- <property name="styleSheet">
- <string notr="true">border : 0px</string>
- </property>
- <property name="text">
- <string>...</string>
- </property>
- <property name="icon">
- <iconset>
- <normaloff>../Editeur/icons/ast-green-ball.png</normaloff>../Editeur/icons/ast-green-ball.png</iconset>
- </property>
- <property name="iconSize">
- <size>
- <width>21</width>
- <height>31</height>
- </size>
- </property>
- </widget>
- </item>
- <item>
- <spacer name="horizontalSpacer_3">
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="sizeType">
- <enum>QSizePolicy::Fixed</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>13</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </item>
- <item>
- <widget class="QLabel" name="labelNomCommande">
- <property name="sizePolicy">
- <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="minimumSize">
- <size>
- <width>150</width>
- <height>31</height>
- </size>
- </property>
- <property name="frameShape">
- <enum>QFrame::NoFrame</enum>
- </property>
- <property name="frameShadow">
- <enum>QFrame::Raised</enum>
- </property>
- <property name="text">
- <string><html><head/><body><p><span style=" color:#000000;">Paramètre</span></p></body></html></string>
- </property>
- </widget>
- </item>
+ <widget class="QFrame" name="frameAffichage">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="minimumSize">
+ <size>
+ <width>0</width>
+ <height>130</height>
+ </size>
+ </property>
+ <property name="maximumSize">
+ <size>
+ <width>16777215</width>
+ <height>130</height>
+ </size>
+ </property>
+ <property name="styleSheet">
+ <string notr="true">background-color:rgb(224,223,222)</string>
+ </property>
+ <property name="frameShape">
+ <enum>QFrame::NoFrame</enum>
+ </property>
+ <property name="frameShadow">
+ <enum>QFrame::Raised</enum>
+ </property>
+ <layout class="QHBoxLayout" name="horizontalLayout_5">
+ <property name="spacing">
+ <number>0</number>
+ </property>
+ <property name="topMargin">
+ <number>0</number>
+ </property>
+ <property name="bottomMargin">
+ <number>0</number>
+ </property>
+ <item>
+ <layout class="QHBoxLayout" name="horizontalLayout_4">
<item>
- <spacer name="horizontalSpacer_2">
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="sizeType">
- <enum>QSizePolicy::Maximum</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>78</width>
- <height>40</height>
- </size>
- </property>
- </spacer>
+ <layout class="QVBoxLayout" name="verticalLayout_3">
+ <item>
+ <widget class="QFrame" name="frame_3">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="frameShape">
+ <enum>QFrame::Box</enum>
+ </property>
+ <property name="frameShadow">
+ <enum>QFrame::Raised</enum>
+ </property>
+ <layout class="QHBoxLayout" name="horizontalLayout_6">
+ <property name="spacing">
+ <number>0</number>
+ </property>
+ <item>
+ <spacer name="horizontalSpacer_6">
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Fixed</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>13</width>
+ <height>20</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ <item>
+ <widget class="MonBoutonValide" name="RBValide">
+ <property name="minimumSize">
+ <size>
+ <width>17</width>
+ <height>31</height>
+ </size>
+ </property>
+ <property name="maximumSize">
+ <size>
+ <width>21</width>
+ <height>31</height>
+ </size>
+ </property>
+ <property name="focusPolicy">
+ <enum>Qt::ClickFocus</enum>
+ </property>
+ <property name="toolTip">
+ <string>Affiche le rapport de validité de la commande</string>
+ </property>
+ <property name="styleSheet">
+ <string notr="true">border : 0px</string>
+ </property>
+ <property name="text">
+ <string>...</string>
+ </property>
+ <property name="icon">
+ <iconset>
+ <normaloff>../Editeur/icons/ast-green-ball.png</normaloff>../Editeur/icons/ast-green-ball.png</iconset>
+ </property>
+ <property name="iconSize">
+ <size>
+ <width>21</width>
+ <height>31</height>
+ </size>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <spacer name="horizontalSpacer_4">
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Fixed</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>13</width>
+ <height>20</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ <item>
+ <widget class="QLabel" name="labelParam">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="minimumSize">
+ <size>
+ <width>150</width>
+ <height>31</height>
+ </size>
+ </property>
+ <property name="frameShape">
+ <enum>QFrame::NoFrame</enum>
+ </property>
+ <property name="frameShadow">
+ <enum>QFrame::Raised</enum>
+ </property>
+ <property name="text">
+ <string><html><head/><body><p><span style=" color:#000000;">Paramètre</span></p></body></html></string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <spacer name="toto">
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Maximum</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>2</width>
+ <height>40</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ <item>
+ <spacer name="horizontalSpacer_8">
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Ignored</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>2</width>
+ <height>40</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ <item>
+ <spacer name="horizontalSpacer_9">
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Fixed</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>13</width>
+ <height>20</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ <item>
+ <widget class="QToolButton" name="RBPoubelle">
+ <property name="minimumSize">
+ <size>
+ <width>21</width>
+ <height>31</height>
+ </size>
+ </property>
+ <property name="maximumSize">
+ <size>
+ <width>21</width>
+ <height>31</height>
+ </size>
+ </property>
+ <property name="focusPolicy">
+ <enum>Qt::ClickFocus</enum>
+ </property>
+ <property name="toolTip">
+ <string>Détruit la commande</string>
+ </property>
+ <property name="styleSheet">
+ <string notr="true">border : 0px</string>
+ </property>
+ <property name="text">
+ <string>...</string>
+ </property>
+ <property name="icon">
+ <iconset>
+ <normaloff>../Editeur/icons/deleteRond.png</normaloff>../Editeur/icons/deleteRond.png</iconset>
+ </property>
+ <property name="iconSize">
+ <size>
+ <width>21</width>
+ <height>31</height>
+ </size>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ <zorder>RBValide</zorder>
+ <zorder>RBPoubelle</zorder>
+ <zorder>horizontalSpacer_4</zorder>
+ <zorder>labelParam</zorder>
+ </widget>
+ </item>
+ <item>
+ <spacer name="verticalSpacer_3">
+ <property name="orientation">
+ <enum>Qt::Vertical</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>20</width>
+ <height>40</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ </layout>
</item>
<item>
- <widget class="QToolButton" name="RBPoubelle">
- <property name="minimumSize">
- <size>
- <width>21</width>
- <height>31</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>21</width>
- <height>31</height>
- </size>
- </property>
- <property name="toolTip">
- <string>Détruit le commentaire</string>
+ <layout class="QVBoxLayout" name="verticalLayout_4">
+ <property name="spacing">
+ <number>8</number>
</property>
- <property name="styleSheet">
- <string notr="true">border : 0px</string>
+ <property name="topMargin">
+ <number>15</number>
</property>
- <property name="text">
- <string>...</string>
- </property>
- <property name="icon">
- <iconset>
- <normaloff>../Editeur/icons/deleteRond.png</normaloff>../Editeur/icons/deleteRond.png</iconset>
- </property>
- <property name="iconSize">
- <size>
- <width>21</width>
- <height>31</height>
- </size>
- </property>
- </widget>
- </item>
- </layout>
- <zorder>RBValide</zorder>
- <zorder>labelNomCommande</zorder>
- <zorder>horizontalSpacer_3</zorder>
- <zorder>RBPoubelle</zorder>
- <zorder>horizontalSpacer_5</zorder>
- </widget>
- </item>
- <item>
- <layout class="QVBoxLayout" name="verticalLayout_2">
- <item>
- <widget class="QPushButton" name="bCatalogue">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="minimumSize">
- <size>
- <width>160</width>
- <height>31</height>
- </size>
- </property>
- <property name="toolTip">
- <string>Affiche les commandes possibles</string>
- </property>
- <property name="styleSheet">
- <string notr="true">background-color:rgb(104,110,149);
+ <item>
+ <widget class="QPushButton" name="bCatalogue">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="minimumSize">
+ <size>
+ <width>160</width>
+ <height>31</height>
+ </size>
+ </property>
+ <property name="focusPolicy">
+ <enum>Qt::ClickFocus</enum>
+ </property>
+ <property name="toolTip">
+ <string>Affiche les commandes possibles</string>
+ </property>
+ <property name="styleSheet">
+ <string notr="true">background-color:rgb(104,110,149);
color :white;
border-radius : 12px
</string>
- </property>
- <property name="text">
- <string>&Commandes</string>
- </property>
- <property name="shortcut">
- <string>Shift+A, Alt+A, Alt+A, Alt+A</string>
- </property>
- <property name="autoDefault">
- <bool>true</bool>
- </property>
- <property name="default">
- <bool>true</bool>
- </property>
- </widget>
- </item>
- <item>
- <layout class="QHBoxLayout" name="horizontalLayout_3">
- <item>
- <widget class="QPushButton" name="bAvant">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="minimumSize">
- <size>
- <width>60</width>
- <height>24</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>60</width>
- <height>24</height>
- </size>
- </property>
- <property name="focusPolicy">
- <enum>Qt::ClickFocus</enum>
- </property>
- <property name="toolTip">
- <string>Affiche le formulaire de la commande précédente</string>
- </property>
- <property name="styleSheet">
- <string notr="true">background-color:rgb(104,110,149);
+ </property>
+ <property name="text">
+ <string>&Commandes</string>
+ </property>
+ <property name="shortcut">
+ <string>Shift+A, Alt+A, Alt+A, Alt+A</string>
+ </property>
+ <property name="autoDefault">
+ <bool>true</bool>
+ </property>
+ <property name="default">
+ <bool>true</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <layout class="QHBoxLayout" name="horizontalLayout_8">
+ <item>
+ <widget class="QPushButton" name="bAvant">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="minimumSize">
+ <size>
+ <width>60</width>
+ <height>24</height>
+ </size>
+ </property>
+ <property name="maximumSize">
+ <size>
+ <width>60</width>
+ <height>24</height>
+ </size>
+ </property>
+ <property name="focusPolicy">
+ <enum>Qt::ClickFocus</enum>
+ </property>
+ <property name="toolTip">
+ <string>Affiche le formulaire de la commande précédente</string>
+ </property>
+ <property name="styleSheet">
+ <string notr="true">background-color:rgb(104,110,149);
color :white;
border-radius : 12px
</string>
- </property>
- <property name="text">
- <string><<</string>
- </property>
- <property name="shortcut">
- <string>Shift+A, Alt+A, Alt+A, Alt+A</string>
- </property>
- <property name="autoDefault">
- <bool>true</bool>
- </property>
- <property name="default">
- <bool>true</bool>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QPushButton" name="bApres">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="minimumSize">
- <size>
- <width>60</width>
- <height>24</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>60</width>
- <height>24</height>
- </size>
- </property>
- <property name="focusPolicy">
- <enum>Qt::ClickFocus</enum>
- </property>
- <property name="toolTip">
- <string>Affiche le formulaire de la commande suivante</string>
- </property>
- <property name="styleSheet">
- <string notr="true">background-color:rgb(104,110,149);
+ </property>
+ <property name="text">
+ <string><<</string>
+ </property>
+ <property name="shortcut">
+ <string>Shift+A, Alt+A, Alt+A, Alt+A</string>
+ </property>
+ <property name="autoDefault">
+ <bool>true</bool>
+ </property>
+ <property name="default">
+ <bool>true</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QPushButton" name="bApres">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="minimumSize">
+ <size>
+ <width>60</width>
+ <height>24</height>
+ </size>
+ </property>
+ <property name="maximumSize">
+ <size>
+ <width>60</width>
+ <height>24</height>
+ </size>
+ </property>
+ <property name="focusPolicy">
+ <enum>Qt::ClickFocus</enum>
+ </property>
+ <property name="toolTip">
+ <string>Affiche le formulaire de la commande suivante</string>
+ </property>
+ <property name="styleSheet">
+ <string notr="true">background-color:rgb(104,110,149);
color :white;
border-radius : 12px
</string>
- </property>
- <property name="text">
- <string>>></string>
- </property>
- <property name="shortcut">
- <string>Shift+A, Alt+A, Alt+A, Alt+A</string>
- </property>
- <property name="autoDefault">
- <bool>true</bool>
- </property>
- <property name="default">
- <bool>true</bool>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- </layout>
- </item>
- </layout>
+ </property>
+ <property name="text">
+ <string>>></string>
+ </property>
+ <property name="shortcut">
+ <string>Shift+A, Alt+A, Alt+A, Alt+A</string>
+ </property>
+ <property name="autoDefault">
+ <bool>true</bool>
+ </property>
+ <property name="default">
+ <bool>true</bool>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ </layout>
+ </item>
+ </layout>
+ </item>
+ </layout>
+ </widget>
</item>
<item>
<widget class="QScrollArea" name="scrollAreaCommandes">
<rect>
<x>0</x>
<y>0</y>
- <width>1040</width>
- <height>349</height>
+ <width>768</width>
+ <height>361</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
</customwidget>
</customwidgets>
<tabstops>
- <tabstop>RBPoubelle</tabstop>
- <tabstop>bCatalogue</tabstop>
- <tabstop>RBValide</tabstop>
<tabstop>scrollAreaCommandes</tabstop>
</tabstops>
<resources/>
desSelectVal.py desViewTexte.py desViewRegles.py desVisu.py desWidgetCreeParam.py desWidgetCommande.py \
desWidgetOptionnel.py desWidgetOptionnelMC.py Tuple2.py Tuple3.py \
desWidgetBloc.py desWidgetCB.py desWidgetCommentaire.py desWidgetDate.py \
- desWidgetFact.py desWidgetFactPlie.py desWidgetHeure.py desWidgetInformation.py \
- desWidgetInactif.py \
+ desWidgetFact.py desWidgetFactPlie.py desWidgetFormule.py desWidgetHeure.py \
+ desWidgetInformation.py desWidgetInactif.py \
desWidgetMatrice.py desWidgetParam.py desWidgetPlusieursBase.py desWidgetPlusieursInto.py \
desWidgetPlusieursIntoOrdonne.py desWidgetPlusieursTuple.py desWidgetRadioButton.py \
desWidget4a6RadioButton.py desWidgetSimpBase.py desWidgetSDCOInto.py desWidgetSimpBool.py \