l_noms.sort()
return l_noms
+ def get_genealogie_precise(self):
+ return [self.nom]
+
def get_genealogie(self):
"""
Retourne la liste des noms des ascendants de l'objet self
self._etape_context=None
self.recorded_units={}
self.old_recorded_units={}
+
def get_index(self,objet):
"""
Retourne 0 dans le cas contraire
"""
#PN correction de bugs
- if etape not in self.etapes:
- return 0
+ if etape not in self.etapes: return 0
self.init_modif()
index_etape=self.etapes.index(etape)
+
self.etapes.remove(etape)
if etape.niveau is not self:
if l : l_mc.extend(l)
return l_mc
+ def get_genealogie_precise(self):
+ return []
+
def get_genealogie(self):
"""
Retourne la liste des noms des ascendants de l'objet self
#ATTENTION SURCHARGE : cette methode doit etre gardee en synchronisation avec celle de Noyau
def supprime(self):
- #print "supprime",self
Noyau.N_JDC.JDC.supprime(self)
for etape in self.etapes:
etape.supprime()
def get_docu(self):
return
+
#ATTENTION SURCHARGE: cette methode doit etre synchronisée avec celle du Noyau
def enregistre(self,commande):
"""
import CONNECTOR
import I_MCCOMPO
import Noyau
+import string
class MCFACT(I_MCCOMPO.MCCOMPO):
def isrepetable(self):
except:
return tr("Erreur - mot cle facteur de nom : %s", self.nom)
+ def get_genealogie_precise(self):
+ nom=self.getlabeltext()
+ if nom[-1]==':' : nom=nom[0:-1]
+ if self.parent:
+ l=self.parent.get_genealogie_precise()
+ l.append(string.strip(nom))
+ return l
+ else:
+ return [string.strip(nom)]
+
+
def init_modif(self):
"""
Met l'état de l'objet à modified et propage au parent
if self.parent:
self.parent.fin_modif()
+ def get_genealogie_precise(self):
+ if self.parent:
+ return self.parent.get_genealogie_precise()
+ else:
+ return []
+
def get_genealogie(self):
"""
Retourne la liste des noms des ascendants.
except:
return val
else :
+ if val ==() or val == [] : return val
s='( '
for item in val :
try :
"""
return [],[]
+ def get_genealogie_precise(self):
+ if self.parent:
+ l=self.parent.get_genealogie_precise()
+ l.append(string.strip(self.nom))
+ return l
+ else:
+ return [string.strip(self.nom)]
+
def get_genealogie(self):
"""
Retourne la liste des noms des ascendants (noms de MCSIMP,MCFACT,MCBLOC
self.oldSizeWidgetOptionnel = 320
self.liste_simp_reel=[]
self.ihm="QT"
+ self.dicoNouveauxMC={}
nameConf='configuration_'+self.code
configuration=__import__(nameConf)
path1 = os.path.abspath(os.path.join(os.path.abspath(__file__), '../','../','ProcessOutputs_Eficas','TreatOutputs'))
sys.path.append(path1)
- from Run import run
- res,txt_exception=run(dico)
- if res : QMessageBox.information( self, tr("fin de script run"), txt_exception)
- else : QMessageBox.critical( self, tr("Erreur fatale script run"), txt_exception)
+ print 'in runPSEN_N1', dico
+ #from Run import run
+ #res,txt_exception=run(dico)
+ #if res : QMessageBox.information( self, tr("fin de script run"), txt_exception)
+ #else : QMessageBox.critical( self, tr("Erreur fatale script run"), txt_exception)
#-------------------# Pour execution avec output et error dans le bash
def run(self):
#------------#
fonction="run"+self.code
- print fonction
+ #print fonction
if fonction in JDCEditor.__dict__.keys(): apply(JDCEditor.__dict__[fonction],(self,))
#------------#
)
return
- print generator.plugins.has_key(self.format)
+ #print generator.plugins.has_key(self.format)
if generator.plugins.has_key(self.format):
# Le generateur existe on l'utilise
self.generator=generator.plugins[self.format]()
self.affiche_infos(tr("Format %s non reconnu" , self.format),Qt.red)
QMessageBox.critical( self, "Format non reconnu" ,tr("EFICAS ne sait pas convertir le JDC selon le format "+ self.format))
return ""
- print "HELLO"
+ #print "HELLO"
etape.build_includeInclude(texte)
self.tree.racine.build_children()
+ #-------------------------------------#
+ def deleteEtape(self,etape):
+ #-------------------------------------#
+ self.jdc.suppentite(etape)
+
#-------------------------------------#
def deleteMC(self,etape,MCFils,listeAvant=()):
#-------------------------------------#
ouChercher.state='changed'
ouChercher.isvalid()
-
-
#-------------------------------------#
def ajoutMC(self,etape,MCFils,valeurs,listeAvant=()):
#-------------------------------------#
MCADetruire=ouChercher.entites[nomDuMC]
ouChercher.ordre_mc.remove(nomDuMC)
del ouChercher.entites[nomDuMC]
+ del self.dicoNouveauxMC[nomDuMC]
#-------------------------------------------------------------#
def ajoutDefinitionMC(self,etape,listeAvant,nomDuMC,typ,**args):
#-------------------------------------------------------------#
definitionEtape=getattr(self.jdc.cata[0],etape)
- print self.jdc
ouChercher=definitionEtape
for k in listeAvant :
ouChercher=ouChercher.entites[k]
Nouveau.ordre_mc=[]
ouChercher.entites[nomDuMC]=Nouveau
ouChercher.ordre_mc.append(nomDuMC)
+ self.dicoNouveauxMC[nomDuMC]=('ajoutDefinitionMC',etape,listeAvant,nomDuMC,typ,args)
+ #print self.dicoNouveauxMC
#----------------------------------------------------#
def changeIntoMCandSet(self,etape,MCFils,into,valeurs):
commentaire=tr("Entrez ")+str(mc.min)+tr(" valeurs ")+'\n'
else :
if mc.max != "**" :
- commentaire=tr("Entrez entre ")+str(mc.min)+tr(" et ")+str(mc.max)+tr(" valeurs ")+'\n'
+ commentaire=tr("entre ")+str(mc.min)+tr(" et ")+str(mc.max)+tr(" valeurs ")+'\n'
else :
commentaire=""
else :
self.groupCodes.addButton(bouton)
except :
pass
- self.parentAppli.ListeCode=self.parentAppli.ListeCode+listeCodesIntegrateur
+ self.parentAppli.listeCode=self.parentAppli.listeCode+listeCodesIntegrateur
def choisitCode(self):
bouton=self.groupCodes.checkedButton()
self.ajouteRadioButtons()
def mouseDoubleClickEvent(self,event):
+ if self.editor.Classement_Commandes_Ds_Arbre!= None : self.chercheOu()
nodeCourrant=self.node.tree.currentItem()
if nodeCourrant==None: nodeCourrant=self.node.tree.racine
if self.name != None :
self.node.tree.setCurrentItem(nouveau)
event.accept()
+ def chercheOu(self):
+ if self.node.tree.racine.childrenComplete==[] : return None
+ listeNoeud=[]
+ for node in self.node.tree.racine.childrenComplete :
+ listeNoeud.append(node.item.object.nom)
+ indexAvant=-1
+ indexStop=self.editor.Classement_Commandes_Ds_Arbre.index(self.name)
+ for commande in self.editor.Classement_Commandes_Ds_Arbre[:indexStop]:
+ if commande in listeNoeud: indexAvant=indexAvant+1
+ if indexAvant==-1 : self.node.tree.setCurrentItem(None)
+ else :
+ nodeASelectionner=self.node.tree.racine.childrenComplete[indexAvant]
+ self.node.tree.setCurrentItem(nodeASelectionner)
+
def creeListeCommande(self,filtre):
listeGroupes,dictGroupes=self.jdc.get_groups()
self.lineEditVal.setText(str(valeur))
parentQt.commandesLayout.insertWidget(-1,self)
+ commande.listeAffichageWidget.append(self.lineEditVal)
return groupe
def vireLesAutres(self,MC):
- print "je passe dans vireLesAutres"
+ #print "je passe dans vireLesAutres"
genea =MC.obj.get_genealogie()
- print genea
+ #print genea
for k in self.dicoMCWidgetOptionnel.keys():
if k not in genea :
self.dicoMCWidgetOptionnel[k].close()
self.gereIconePlier()
self.editor.listeDesListesOuvertes.add(self.node.item)
self.inhibe=False
- self.finCommentaireListe()
+ #self.finCommentaireListe()
if self.listeAAfficher== None or self.listeAAfficher==[] :
spacerItem = QSpacerItem(30, 20, QSizePolicy.Fixed, QSizePolicy.Minimum)
spacerItem2 = QSpacerItem(40, 70, QSizePolicy.Fixed, QSizePolicy.Minimum)
self.CBLayout.addItem(spacerItem2)
+ if len(self.listeAAfficher) < 8 :
+ self.frameRecherche.close()
# try except si la liste des possibles est vide
# prevoir qqchose
try :
self.listeAAfficher=self.node.item.get_sd_avant_du_bon_type()
if self.listeAAfficher== None or self.listeAAfficher==[] : self.listeAAfficher=[]
- if len(self.listeAAfficher)*20 > 400 : self.setMinimumHeight(400)
- else : self.setMinimumHeight(len(self.listeAAfficher)*30)
+ #if len(self.listeAAfficher)*20 > 400 : self.setMinimumHeight(400)
+ #else : self.setMinimumHeight(len(self.listeAAfficher)*30)
self.PourEtreCoche=[]
if self.objSimp.wait_assd() :
setattr(self,nomCB,nouveauCB)
- def finCommentaire(self):
- return self.finCommentaireListe()
def ajout1Valeur(self,valeur=None):
if valeur == None : return
else : self.node.item.set_valeur(self.listeValeursCourantes)
# Exception pour PSEN
- if self.editor.code == 'PSEN_N1' and self.nom==('Onglets') and self.listeValeursCourantes== []: self.node.item.set_valeur([])
+ if min==0 and self.listeValeursCourantes== []: self.node.item.set_valeur([])
self.setValide()
self.reaffiche()
self.setValeurs()
self.reaffiche()
+
+ def setValeurs(self):
+ valeur=self.node.item.get_valeur()
+ if valeur != None : self.lineEditVal.setText(str(valeur))
courant.setFocus(True)
return
s=str(courant.text())
- if self.objSimp.definition.validators.typeDesTuples[i] == "R" :
+ if hasattr(self.objSimp.definition.validators, 'typeDesTuples'):
+ if self.objSimp.definition.validators.typeDesTuples[i] == "R" :
if (s.find('.')== -1 and s.find('e')== -1 and s.find('E')==-1) :
s=s+'.0'
courant.setText(s)
- if self.objSimp.definition.validators.typeDesTuples[i] == "TXM" :
+ if self.objSimp.definition.validators.typeDesTuples[i] == "TXM" :
if s[0]!='"' and s[0] != "'":
if s[-1]=="'": s="'"+s
else : s='"'+s
import os, sys
from determine import monEnvQT5
if monEnvQT5 :
- from PyQt5.QtWidgets import QApplication, QMainWindow, QBoxLayout, QMenu, QAction
+ from PyQt5.QtWidgets import QApplication, QMainWindow, QBoxLayout, QMenu, QAction, QMessageBox
from PyQt5.QtGui import QIcon
from PyQt5.QtCore import Qt
else:
from Editeur import session
+
class Appli(Ui_Eficas,QMainWindow):
"""
Class implementing the main user interface.
self.ficRecents={}
self.mesScripts={}
self.listeAEnlever=[]
- self.ListeCode=['Aster','Carmel3D','Cuve2dg','Openturns_Study','Openturns_Wrapper','MAP','ZCracks', 'CarmelCND','MT','PSEN','PSEN_N1']
- self.ListePathCode=['Aster','Carmel3D','CarmelCND','MT','PSEN_Eficas','PSEN_N1']
+ self.ListePathCode=['Adao','Carmel3D','Telemac','CF','MAP','ZCracks', 'SEP','SPECA','PSEN_Eficas','PSEN_N1']
+ self.listeCode=['Adao','Carmel3D','Telemac','CF','MAP','ZCracks', 'SEP','SPECA','PSEN_Eficas','PSEN_N1']
self.repIcon=os.path.join( os.path.dirname(os.path.abspath(__file__)),'..','Editeur','icons')
+
if self.salome:
import Accas
import eficasSalome
Accas.SalomeEntry = eficasSalome.SalomeEntry
- #self.salome=1
self.multi=multi
self.demande=multi # specifique PSEN
if self.multi == False :
self.blEntete.insertWidget(0,self.toolBar)
self.blEntete.insertWidget(0,self.menubar)
- if self.CONFIGURATION.closeEntete==True : self.closeEntete()
+ if hasattr (self, 'CONFIGURATION') and self.CONFIGURATION.closeEntete==True : self.closeEntete()
eficas_root_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
try :
self.ouvreFichiers()
except EficasException, exc:
- exit()
+ if self.salome == 0 : exit()
def closeEntete(self):
ssCode=None
code="PSEN_N1"
self.cleanPath()
- dirCode=os.path.abspath(os.path.join(os.path.abspath(__file__),'../..',code))
+ dirCode=os.path.abspath(os.path.join(os.path.abspath(__file__),'../..',"ProcessOutputs_Eficas"))
sys.path.insert(0,dirCode)
self.code=code
self.definitCode(code,ssCode)
self.fileNew()
def ajoutN1(self):
- self.menuN1 = self.menubar.addMenu(tr("Etude N-1"))
+ self.menuN1 = self.menubar.addMenu(tr("Process Output"))
self.actionN1 = QAction(self)
- self.actionN1.setText(tr("Etude N1"))
+ self.actionN1.setText(tr("Process Output"))
self.menuN1.addAction(self.actionN1)
if monEnvQT5 : self.actionN1.triggered.connect(self.newN1)
else : self.connect(self.actionN1,SIGNAL("triggered()"),self.newN1)
self.ajoutIcones()
def PSEN_N1(self):
+ self.enleverActionsStructures()
+ self.enleverParametres()
+ self.enleverRechercherDsCatalogue()
+ self.enleverNewInclude()
self.ajoutExecution()
+ self.ajoutIcones()
def TELEMAC(self):
self.enleverActionsStructures()
self.viewmanager.newEditor()
except EficasException, exc:
msg = unicode(exc)
- if msg != "":
- QMessageBox.warning(self, tr(u"Erreur"), msg)
+ if msg != "": QMessageBox.warning(self, tr(u"Erreur"), msg)
def fileOpen(self):
try:
self.fic_cata=None
self.OpenCata()
self.cataitem=None
- if self.code=="TELEMAC": self.cree_dico_inverse()
+ self.cree_dico_inverse()
+ if self.code=="TELEMAC": self.cree_dico_CasToCata()
+ #for k in self.dicoInverse.keys():
+ # genea= self.dicoInverse[k]
+ # for t in genea :
+ # print t[0]
+ # print "\n"
+
def OpenCata(self):
"""
# self.dicoAnglaisFrancais[nom]=tr(nom)
# self.dicoInverseFrancais[tr(k)]=listefr
# #print tr(k),listefr
+
+
+ def cree_dico_CasToCata(self):
if self.appliEficas.langue=="ang" :
from dicoCasEnToCata import DicoCasEnToCata as dicoCasToCata
else :
<rect>
<x>0</x>
<y>0</y>
- <width>938</width>
- <height>200</height>
+ <width>1061</width>
+ <height>195</height>
</rect>
</property>
<property name="sizePolicy">
<property name="minimumSize">
<size>
<width>0</width>
- <height>200</height>
+ <height>0</height>
</size>
</property>
<property name="windowTitle">
<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>5</number>
- </property>
<item>
<layout class="QVBoxLayout" name="verticalLayout_2">
<property name="spacing">
</layout>
</item>
<item>
- <layout class="QVBoxLayout" name="verticalLayout_3">
+ <layout class="QVBoxLayout" name="verticalLayout_4">
<item>
<widget class="MonLabelClic" name="label">
<property name="sizePolicy">
- <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
+ <sizepolicy hsizetype="Fixed" vsizetype="MinimumExpanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</widget>
</item>
<item>
- <spacer name="verticalSpacer_6">
+ <widget class="QFrame" name="frameRecherche">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="minimumSize">
+ <size>
+ <width>0</width>
+ <height>0</height>
+ </size>
+ </property>
+ <property name="maximumSize">
+ <size>
+ <width>16777215</width>
+ <height>111</height>
+ </size>
+ </property>
+ <property name="frameShape">
+ <enum>QFrame::NoFrame</enum>
+ </property>
+ <property name="frameShadow">
+ <enum>QFrame::Raised</enum>
+ </property>
+ <layout class="QVBoxLayout" name="verticalLayout_3">
+ <property name="spacing">
+ <number>2</number>
+ </property>
+ <property name="margin">
+ <number>0</number>
+ </property>
+ <item>
+ <layout class="QHBoxLayout" name="horizontalLayout_5">
+ <property name="spacing">
+ <number>0</number>
+ </property>
+ <item>
+ <layout class="QHBoxLayout" name="horizontalLayout_3"/>
+ </item>
+ <item>
+ <widget class="QLineEdit" name="LEFiltre">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="minimumSize">
+ <size>
+ <width>250</width>
+ <height>0</height>
+ </size>
+ </property>
+ <property name="maximumSize">
+ <size>
+ <width>250</width>
+ <height>16777215</height>
+ </size>
+ </property>
+ <property name="styleSheet">
+ <string notr="true">background:rgb(255,255,255)
+
+</string>
+ </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>5</width>
+ <height>20</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ <item>
+ <widget class="QToolButton" name="PBFind">
+ <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>Cherche la valeur</string>
+ </property>
+ <property name="styleSheet">
+ <string notr="true">border : 0px</string>
+ </property>
+ <property name="text">
+ <string>...</string>
+ </property>
+ <property name="icon">
+ <iconset theme="find">
+ <normaloff/>
+ </iconset>
+ </property>
+ <property name="iconSize">
+ <size>
+ <width>32</width>
+ <height>32</height>
+ </size>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <spacer name="horizontalSpacer_2">
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>40</width>
+ <height>20</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ </layout>
+ </item>
+ <item>
+ <layout class="QHBoxLayout" name="horizontalLayout_6">
+ <item>
+ <widget class="QPushButton" name="PBCata">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="text">
+ <string>Originel</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QPushButton" name="PBAlpha">
+ <property name="text">
+ <string>Alpha</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <spacer name="horizontalSpacer_7">
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>40</width>
+ <height>20</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ </layout>
+ </item>
+ </layout>
+ </widget>
+ </item>
+ <item>
+ <spacer name="verticalSpacer_3">
<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>20</height>
+ <height>40</height>
</size>
</property>
</spacer>
</item>
<item>
- <layout class="QHBoxLayout" name="horizontalLayout_5">
- <property name="spacing">
- <number>0</number>
- </property>
- <item>
- <layout class="QHBoxLayout" name="horizontalLayout_3"/>
- </item>
- <item>
- <widget class="QLineEdit" name="LEFiltre">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="minimumSize">
- <size>
- <width>250</width>
- <height>0</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>250</width>
- <height>16777215</height>
- </size>
- </property>
- <property name="styleSheet">
- <string notr="true">background:rgb(255,255,255)
-
-</string>
- </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>5</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </item>
- <item>
- <widget class="QToolButton" name="PBFind">
- <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>Cherche la valeur</string>
- </property>
- <property name="styleSheet">
- <string notr="true">border : 0px</string>
- </property>
- <property name="text">
- <string>...</string>
- </property>
- <property name="icon">
- <iconset theme="find">
- <normaloff/>
- </iconset>
- </property>
- <property name="iconSize">
- <size>
- <width>32</width>
- <height>32</height>
- </size>
- </property>
- </widget>
- </item>
- <item>
- <spacer name="horizontalSpacer_2">
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>40</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </item>
- </layout>
- </item>
- <item>
- <widget class="QScrollArea" name="scrollArea_2">
+ <widget class="QScrollArea" name="scrollAreaCommentaire">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Expanding">
<horstretch>0</horstretch>
<x>0</x>
<y>0</y>
<width>300</width>
- <height>92</height>
+ <height>66</height>
</rect>
</property>
<layout class="QGridLayout" name="gridLayout_2">
<property name="margin">
<number>0</number>
</property>
- <item row="0" column="0">
- <layout class="QHBoxLayout" name="horizontalLayout_6">
- <item>
- <widget class="QPushButton" name="PBCata">
- <property name="text">
- <string>Catalogue</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QPushButton" name="PBAlpha">
- <property name="text">
- <string>Alpha</string>
- </property>
- </widget>
- </item>
- <item>
- <spacer name="horizontalSpacer_7">
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>40</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </item>
- </layout>
- </item>
- <item row="2" column="0">
+ <item row="1" column="0">
<widget class="QLabel" name="monCommentaireLabel">
<property name="sizePolicy">
- <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
+ <sizepolicy hsizetype="Fixed" vsizetype="MinimumExpanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
- <width>78</width>
- <height>25</height>
+ <width>0</width>
+ <height>0</height>
</size>
</property>
<property name="maximumSize">
</property>
</widget>
</item>
- <item row="1" column="0">
- <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>
</widget>
</widget>
<rect>
<x>0</x>
<y>0</y>
- <width>424</width>
- <height>193</height>
+ <width>650</width>
+ <height>177</height>
</rect>
</property>
<property name="sizePolicy">
<enum>QFrame::NoFrame</enum>
</property>
<property name="text">
- <string><html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html></string>
+ <string><html><head/><body><p><br/></p></body></html></string>
</property>
<property name="scaledContents">
<bool>false</bool>
<rect>
<x>0</x>
<y>0</y>
- <width>296</width>
- <height>188</height>
+ <width>18</width>
+ <height>196</height>
</rect>
</property>
<property name="sizePolicy">
<item>
<widget class="QLabel" name="monCommentaireLabel">
<property name="text">
- <string>fqsdfqdfqfqsfqsfqfqsfqsfqsfqsfqsdfqsfqsfqsf</string>
+ <string><html><head/><body><p><br/></p></body></html></string>
</property>
</widget>
</item>
<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">
+ <property name="margin">
<number>0</number>
</property>
<item>
<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">
+ <property name="margin">
<number>0</number>
</property>
<item>
<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">
+ <property name="margin">
<number>0</number>
</property>
<item>
<rect>
<x>0</x>
<y>0</y>
- <width>1065</width>
+ <width>572</width>
<height>56</height>
</rect>
</property>
eficas_compile_ui ( desChoixCode.ui )
eficas_compile_ui ( desChoixCommandes.ui )
eficas_compile_ui ( desRecherche.ui )
+eficas_compile_ui ( desRechercheCatalogue.ui )
eficas_compile_ui ( desSelectVal.ui )
eficas_compile_ui ( desViewTexte.ui )
eficas_compile_ui ( desViewRegles.ui )
</widget>
</item>
<item>
- <widget class="QLineEdit" name="LERecherche">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Maximum" vsizetype="Expanding">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="minimumSize">
- <size>
- <width>411</width>
- <height>41</height>
- </size>
- </property>
- <property name="styleSheet">
- <string notr="true">background:rgb(240,240,240)</string>
- </property>
- </widget>
+ <widget class="QComboBox" name="CBRecherche"/>
</item>
</layout>
</item>
</widget>
</item>
<item>
- <widget class="QPlainTextEdit" name="teGenea">
+ <widget class="QTextEdit" name="teGenea">
<property name="minimumSize">
<size>
<width>419</width>
<height>91</height>
</size>
</property>
- <property name="plainText">
- <string/>
- </property>
</widget>
</item>
<item>
</widget>
</item>
<item>
- <widget class="QPlainTextEdit" name="teDoc">
+ <widget class="QTextEdit" name="teDoc">
<property name="minimumSize">
<size>
<width>419</width>
<height>101</height>
</size>
</property>
- <property name="plainText">
- <string/>
- </property>
</widget>
</item>
</layout>
<rect>
<x>0</x>
<y>0</y>
- <width>938</width>
- <height>200</height>
+ <width>1061</width>
+ <height>326</height>
</rect>
</property>
<property name="sizePolicy">
<string>Form</string>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_2">
- <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>5</number>
- </property>
<item>
<layout class="QVBoxLayout" name="verticalLayout_2">
<property name="spacing">
</layout>
</item>
<item>
- <layout class="QVBoxLayout" name="verticalLayout_3">
+ <layout class="QVBoxLayout" name="verticalLayout_4">
<item>
<widget class="MonLabelClic" name="label">
<property name="sizePolicy">
</widget>
</item>
<item>
- <spacer name="verticalSpacer_6">
- <property name="orientation">
- <enum>Qt::Vertical</enum>
- </property>
- <property name="sizeType">
- <enum>QSizePolicy::Fixed</enum>
+ <widget class="QFrame" name="frameRecherche">
+ <property name="minimumSize">
+ <size>
+ <width>0</width>
+ <height>111</height>
+ </size>
</property>
- <property name="sizeHint" stdset="0">
+ <property name="maximumSize">
<size>
- <width>20</width>
- <height>20</height>
+ <width>16777215</width>
+ <height>111</height>
</size>
</property>
- </spacer>
- </item>
- <item>
- <layout class="QHBoxLayout" name="horizontalLayout_5">
- <property name="spacing">
- <number>0</number>
+ <property name="frameShape">
+ <enum>QFrame::NoFrame</enum>
</property>
- <item>
- <layout class="QHBoxLayout" name="horizontalLayout_3"/>
- </item>
- <item>
- <widget class="QLineEdit" name="LEFiltre">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="minimumSize">
- <size>
- <width>250</width>
- <height>0</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>250</width>
- <height>16777215</height>
- </size>
- </property>
- <property name="styleSheet">
- <string notr="true">background:rgb(255,255,255)
+ <property name="frameShadow">
+ <enum>QFrame::Raised</enum>
+ </property>
+ <layout class="QVBoxLayout" name="verticalLayout_3">
+ <item>
+ <layout class="QHBoxLayout" name="horizontalLayout_5">
+ <property name="spacing">
+ <number>0</number>
+ </property>
+ <item>
+ <layout class="QHBoxLayout" name="horizontalLayout_3"/>
+ </item>
+ <item>
+ <widget class="QLineEdit" name="LEFiltre">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="minimumSize">
+ <size>
+ <width>250</width>
+ <height>0</height>
+ </size>
+ </property>
+ <property name="maximumSize">
+ <size>
+ <width>250</width>
+ <height>16777215</height>
+ </size>
+ </property>
+ <property name="styleSheet">
+ <string notr="true">background:rgb(255,255,255)
</string>
- </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>5</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </item>
- <item>
- <widget class="QToolButton" name="PBFind">
- <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>Cherche la valeur</string>
- </property>
- <property name="styleSheet">
- <string notr="true">border : 0px</string>
- </property>
- <property name="text">
- <string>...</string>
- </property>
- <property name="icon">
- <iconset theme="find">
- <normaloff/>
- </iconset>
- </property>
- <property name="iconSize">
- <size>
- <width>32</width>
- <height>32</height>
- </size>
- </property>
- </widget>
- </item>
- <item>
- <spacer name="horizontalSpacer_2">
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>40</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </item>
- </layout>
+ </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>5</width>
+ <height>20</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ <item>
+ <widget class="QToolButton" name="PBFind">
+ <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>Cherche la valeur</string>
+ </property>
+ <property name="styleSheet">
+ <string notr="true">border : 0px</string>
+ </property>
+ <property name="text">
+ <string>...</string>
+ </property>
+ <property name="icon">
+ <iconset theme="find">
+ <normaloff/>
+ </iconset>
+ </property>
+ <property name="iconSize">
+ <size>
+ <width>32</width>
+ <height>32</height>
+ </size>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <spacer name="horizontalSpacer_2">
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>40</width>
+ <height>20</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ </layout>
+ </item>
+ <item>
+ <layout class="QHBoxLayout" name="horizontalLayout_6">
+ <item>
+ <widget class="QPushButton" name="PBCata">
+ <property name="text">
+ <string>Originel</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QPushButton" name="PBAlpha">
+ <property name="text">
+ <string>Alpha</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <spacer name="horizontalSpacer_7">
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>40</width>
+ <height>20</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ </layout>
+ </item>
+ </layout>
+ </widget>
</item>
<item>
- <widget class="QScrollArea" name="scrollArea_2">
+ <widget class="QScrollArea" name="scrollAreaCommentaire">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Expanding">
<horstretch>0</horstretch>
<x>0</x>
<y>0</y>
<width>300</width>
- <height>92</height>
+ <height>127</height>
</rect>
</property>
<layout class="QGridLayout" name="gridLayout_2">
<number>0</number>
</property>
<item row="0" column="0">
- <layout class="QHBoxLayout" name="horizontalLayout_6">
- <item>
- <widget class="QPushButton" name="PBCata">
- <property name="text">
- <string>Catalogue</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QPushButton" name="PBAlpha">
- <property name="text">
- <string>Alpha</string>
- </property>
- </widget>
- </item>
- <item>
- <spacer name="horizontalSpacer_7">
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>40</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </item>
- </layout>
- </item>
- <item row="2" column="0">
<widget class="QLabel" name="monCommentaireLabel">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Preferred">
</property>
</widget>
</item>
- <item row="1" column="0">
- <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>
</widget>
</widget>
<rect>
<x>0</x>
<y>0</y>
- <width>424</width>
- <height>193</height>
+ <width>465</width>
+ <height>308</height>
</rect>
</property>
<property name="sizePolicy">
<enum>QFrame::NoFrame</enum>
</property>
<property name="text">
- <string><html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html></string>
+ <string><html><head/><body><p><br/></p></body></html></string>
</property>
<property name="scaledContents">
<bool>false</bool>
<rect>
<x>0</x>
<y>0</y>
- <width>296</width>
- <height>188</height>
+ <width>18</width>
+ <height>196</height>
</rect>
</property>
<property name="sizePolicy">
<item>
<widget class="QLabel" name="monCommentaireLabel">
<property name="text">
- <string>fqsdfqdfqfqsfqsfqfqsfqsfqsfqsfqsdfqsfqsfqsf</string>
+ <string><html><head/><body><p><br/></p></body></html></string>
</property>
</widget>
</item>
<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">
+ <property name="margin">
<number>0</number>
</property>
<item>
<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">
+ <property name="margin">
<number>0</number>
</property>
<item>
<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">
+ <property name="margin">
<number>0</number>
</property>
<item>