-#@ MODIF macr_ascouf_calc_ops Macro DATE 16/10/2007 AUTEUR REZETTE C.REZETTE
+#@ MODIF macr_ascouf_calc_ops Macro DATE 13/11/2007 AUTEUR SALMONA L.SALMONA
# -*- coding: iso-8859-1 -*-
# CONFIGURATION MANAGEMENT OF EDF VERSION
# ======================================================================
#
if RESU_THER!=None : self.DeclareOut('resuth',RESU_THER)
mcsimp={}
- if INCREMENT['NUME_INST_INIT']!=None : mcsimp['NUME_INIT']=INCREMENT['NUME_INST_INIT']
- if INCREMENT['NUME_INST_FIN' ]!=None : mcsimp['NUME_FIN' ]=INCREMENT['NUME_INST_FIN' ]
+ if INCREMENT['NUME_INST_INIT']!=None : mcsimp['NUME_INST_INIT']=INCREMENT['NUME_INST_INIT']
+ if INCREMENT['NUME_INST_FIN' ]!=None : mcsimp['NUME_INST_FIN' ]=INCREMENT['NUME_INST_FIN' ]
mcfact=_F(LIST_INST=INCREMENT['LIST_INST'],**mcsimp)
resuth = THER_LINEAIRE( MODELE = __modthe ,
CHAM_MATER = __affmat ,
- TEMP_INIT = _F(STATIONNAIRE='OUI',),
+ ETAT_INIT = _F(STATIONNAIRE='OUI',),
EXCIT = _F(CHARGE=__chther,),
INCREMENT = mcfact, )
#
-#@ MODIF macr_aspic_calc_ops Macro DATE 16/10/2007 AUTEUR REZETTE C.REZETTE
+#@ MODIF macr_aspic_calc_ops Macro DATE 08/11/2007 AUTEUR SALMONA L.SALMONA
# -*- coding: iso-8859-1 -*-
# CONFIGURATION MANAGEMENT OF EDF VERSION
# ======================================================================
#
if RESU_THER!=None : self.DeclareOut('resuth',RESU_THER)
mcsimp={}
- if INCREMENT['NUME_INST_INIT']!=None : mcsimp['NUME_INIT']=INCREMENT['NUME_INST_INIT']
- if INCREMENT['NUME_INST_FIN' ]!=None : mcsimp['NUME_FIN' ]=INCREMENT['NUME_INST_FIN' ]
+ if INCREMENT['NUME_INST_INIT']!=None : mcsimp['NUME_INST_INIT']=INCREMENT['NUME_INST_INIT']
+ if INCREMENT['NUME_INST_FIN' ]!=None : mcsimp['NUME_INST_FIN' ]=INCREMENT['NUME_INST_FIN' ]
mcfact=_F(LIST_INST=INCREMENT['LIST_INST'],**mcsimp)
resuth = THER_LINEAIRE( MODELE = __modthe ,
CHAM_MATER = __affmat ,
- TEMP_INIT = _F(STATIONNAIRE='OUI',),
+ ETAT_INIT = _F(STATIONNAIRE='OUI',),
EXCIT = _F(CHARGE=__chther,),
INCREMENT = mcfact, )
#
-#@ MODIF macr_cabri_calc_ops Macro DATE 09/05/2007 AUTEUR REZETTE C.REZETTE
+#@ MODIF macr_cabri_calc_ops Macro DATE 08/11/2007 AUTEUR SALMONA L.SALMONA
# -*- coding: iso-8859-1 -*-
# CONFIGURATION MANAGEMENT OF EDF VERSION
# ======================================================================
_F(CHARGE=cl_th3,),
_F(CHARGE=cl_th4,),),
INCREMENT=_F(LIST_INST=transi1,),
- TEMP_INIT=_F(VALE=temp_ini,),
+ ETAT_INIT=_F(VALE=temp_ini,),
TITRE='CABRI THERMIQUE &DATE &HEURE',);
# Affectation des materiaux (mécanique)
-#@ MODIF macro_elas_mult_ops Macro DATE 16/10/2007 AUTEUR REZETTE C.REZETTE
+#@ MODIF macro_elas_mult_ops Macro DATE 22/10/2007 AUTEUR PELLET J.PELLET
# -*- coding: iso-8859-1 -*-
# CONFIGURATION MANAGEMENT OF EDF VERSION
# ======================================================================
ier=0
import types
from Accas import _F
- from Utilitai.Utmess import UTMESS
+ from Utilitai.Utmess import UTMESS
# On met le mot cle NUME_DDL dans une variable locale pour le proteger
numeddl=NUME_DDL
motscles['NUME_MODE']=m['MODE_FOURIER']
motscles['EXCIT']=[]
if m['CHAR_MECA'] :
- for chargt in m['CHAR_MECA'] : motscles['EXCIT'].append(_F(CHARGE=chargt))
+ for chargt in m['CHAR_MECA'] : motscles['EXCIT'].append(_F(CHARGE=chargt))
elif m['CHAR_CINE'] :
- for chargt in m['CHAR_CINE'] : motscles['EXCIT'].append(_F(CHARGE=chargt))
- if CHAR_MECA_GLOBAL: motscles['EXCIT'].append(_F(CHARGE=CHAR_MECA_GLOBAL))
- elif CHAR_CINE_GLOBAL: motscles['EXCIT'].append(_F(CHARGE=CHAR_CINE_GLOBAL))
+ for chargt in m['CHAR_CINE'] : motscles['EXCIT'].append(_F(CHARGE=chargt))
+ if CHAR_MECA_GLOBAL:
+ for chargt in CHAR_MECA_GLOBAL : motscles['EXCIT'].append(_F(CHARGE=chargt))
+ elif CHAR_CINE_GLOBAL:
+ for chargt in CHAR_CINE_GLOBAL : motscles['EXCIT'].append(_F(CHARGE=chargt))
CALC_ELEM(reuse=nomres,
RESULTAT=nomres,
MODELE=MODELE,
motscles['NUME_MODE']=m['MODE_FOURIER']
motscles['EXCIT']=[]
if m['CHAR_MECA'] :
- for chargt in m['CHAR_MECA'] : motscles['EXCIT'].append(_F(CHARGE=chargt))
+ for chargt in m['CHAR_MECA'] : motscles['EXCIT'].append(_F(CHARGE=chargt))
elif m['CHAR_CINE'] :
- for chargt in m['CHAR_CINE'] : motscles['EXCIT'].append(_F(CHARGE=chargt))
- if CHAR_MECA_GLOBAL: motscles['EXCIT'].append(_F(CHARGE=CHAR_MECA_GLOBAL))
- elif CHAR_CINE_GLOBAL: motscles['EXCIT'].append(_F(CHARGE=CHAR_CINE_GLOBAL))
+ for chargt in m['CHAR_CINE'] : motscles['EXCIT'].append(_F(CHARGE=chargt))
+ if CHAR_MECA_GLOBAL:
+ for chargt in CHAR_MECA_GLOBAL : motscles['EXCIT'].append(_F(CHARGE=chargt))
+ elif CHAR_CINE_GLOBAL:
+ for chargt in CHAR_CINE_GLOBAL : motscles['EXCIT'].append(_F(CHARGE=chargt))
CALC_NO(reuse=nomres,
RESULTAT=nomres,
MODELE=MODELE,
-#@ MODIF macro_mode_meca_ops Macro DATE 14/06/2005 AUTEUR DURAND C.DURAND
+#@ MODIF macro_mode_meca_ops Macro DATE 30/10/2007 AUTEUR BOYERE E.BOYERE
# -*- coding: iso-8859-1 -*-
# CONFIGURATION MANAGEMENT OF EDF VERSION
# ======================================================================
**motscit)
__nomre0=NORM_MODE(reuse =__nomre0,
- MASS_INER =normode['MASS_INER'],
MODE =__nomre0,
NORME =normode['NORME'],
INFO =normode['INFO'],)
elif self.object.isvalid():
return "ast-green-square"
else:
- return "ast-red-square"
+ valid=self.valid_child()
+ valid=valid * self.valid_regles("non")
+ if self.reste_val != {}:
+ valid=0
+ if valid==0 :
+ return "ast-red-square"
+ else :
+ return "ast-yellow-square"
def GetLabelText(self):
""" Retourne 3 valeurs :
from desVisu import DVisu
titre = "conversion de "+ FichieraTraduire
monVisu=DVisu(parent=editor,fl=Qt.WType_Dialog)
+ monVisu.setCaption(titre)
monVisu.TB.setText(texte)
monVisu.show()
Retourne le complexe saisi par l'utilisateur
"""
l=[]
- if (self.buttonGroup1.selectedId() == 0 ) :
+ if (self.buttonGroup1.selectedId() == 1 ) :
l.append("MP")
- elif (self.buttonGroup1.selectedId() == 1) :
+ elif (self.buttonGroup1.selectedId() == 0) :
l.append("RI")
else :
commentaire="saisir le type de complexe"
from qt import *
-from desUniqueIntoPanel import DUnIn
+from desUniqueInto import DUnIn
from qtCommun import QTPanel
from qtSaisie import SaisieValeur
from politiquesValidation import PolitiqueUnique
commentaire="Nouvelle valeur acceptée"
commentaire2=""
valide=1
+ if listevaleur==None: return
+ if not( type(listevaleur) in (types.ListType,types.TupleType)) :
+ listevaleur=tuple(listevaleur)
for valeur in listevaleur :
# On teste le type de la valeur
valide=self.node.item.valide_item(valeur)
if not valide :
+ testtype,commentaire = self.node.item.object.verif_type(valeur)
+ print self.__class__
+ if not testtype :
+ return testtype,commentaire,"",listeRetour
try :
valeur,valide=self.node.item.eval_valeur(valeur)
except :
return valide,commentaire,commentaire2,listeRetour
if len(listecourante) + 1 > min :
return valide,commentaire,commentaire2,listeRetour
-
# On ajoute la valeur testee a la liste courante et a la liste acceptee
listecourante.insert(index,valeur)
index=index+1
def ViewDoc(self) :
cle_doc = self.node.item.get_docu()
- if cle_doc == None : return
+ if cle_doc == None :
+ QMessageBox.information( self.editor, "Documentation Vide", \
+ "Aucune documentation Aster n'est associée à ce noeud")
+ return
cle_doc = string.replace(cle_doc,'.','')
cle_doc = string.replace(cle_doc,'-','')
commande = self.editor.CONFIGURATION.exec_acrobat
+ try :
+ f=open(commande,"rb")
+ except :
+ texte="impossible de trouver la commande " + commande
+ QMessageBox.information( self.editor, "Lecteur PDF", texte)
+ return
nom_fichier = cle_doc+".pdf"
fichier = os.path.abspath(os.path.join(self.editor.CONFIGURATION.path_doc,
nom_fichier))
+ try :
+ f=open(fichier,"rb")
+ except :
+ texte="impossible d'ouvrir " + fichier
+ QMessageBox.information( self.editor, "Documentation Vide", texte)
+ return
if os.name == 'nt':
os.spawnv(os.P_NOWAIT,commande,(commande,fichier,))
elif os.name == 'posix':
self.ihm="QT"
self.salome=0
self.code=code
+ self.monAssistant=QAssistantClient(QString(""), self.viewmanager)
def ouvreFichiers(self) :
from gereTraduction import traduction
traduction(self.CONFIGURATION.rep_user,self.viewmanager,"V7V8")
+ def version(self) :
+ from desVisu import DVisu
+ titre = "version "
+ monVisu=DVisu(parent=self.viewmanager,fl=Qt.WType_Dialog)
+ monVisu.setCaption(titre)
+ monVisu.TB.setText("Eficas V1.13")
+ monVisu.adjustSize()
+ monVisu.show()
+
+ def aidePPal(self) :
+ maD=INSTALLDIR+"/AIDE/fichiers"
+ docsPath = QDir(maD).absPath()
+ self.monAssistant.showPage( QString("%1/index.html").arg(docsPath) )
+
def handleShowRecentMenu(self):
"""
Private method to set up recent files menu.
else:
return
-## def handleShowRecentMenu(self):
-## """
-## Private method to set up recent files menu.
-## """
-## idx = 0
-## self.recentMenu.clear()
-##
-## for rp in self.recent:
-## id = self.recentMenu.insertItem('&%d. %s' % (idx+1, unicode(rp)),
-## self.handleOpenRecent)
-## self.recentMenu.setItemParameter(id,idx)
-##
-## idx = idx + 1
-##
-## self.recentMenu.insertSeparator()
-## self.recentMenu.insertItem(self.trUtf8('&Clear'), self.handleClearRecent)
-##
-## def handleOpenRecent(self, idx):
-## """
-## Private method to open a file from the list of rencently opened files.
-##
-## @param idx index of the selected entry (int)
-## """
-## self.handlePythonFile(unicode(self.recent[idx]))
-##
-## def handleClearRecent(self):
-## """
-## Private method to clear the recent files menu.
-## """
-## self.recent = QStringList()
-
def handleViewJdcFichierSource(self):
if self.activeWindow()== None : return
self.widget_text.pack(side='top',expand=1,fill='both')
self.widget_text.configure(hscrollmode='dynamic',
vscrollmode='dynamic')
+ self.widget_text.component('text').configure(background = 'white')
self.make_buttons()
self.display_valeur()
elif self.object.isvalid():
return "ast-green-square"
else:
- return "ast-red-square"
+ valid=self.valid_child()
+ valid=valid * self.valid_regles("non")
+ if self.reste_val != {}:
+ valid=0
+ if valid==0 :
+ return "ast-red-square"
+ else :
+ return "ast-yellow-square"
def GetLabelText(self):
""" Retourne 3 valeurs :
# Form implementation generated from reading ui file 'desChoixCata.ui'
#
-# Created: ven nov 9 14:51:34 2007
+# Created: mer nov 14 11:57:46 2007
# by: The PyQt User Interface Compiler (pyuic) 3.13
#
# WARNING! All changes made in this file will be lost!
# Form implementation generated from reading ui file 'desCommande.ui'
#
-# Created: sam nov 10 08:41:43 2007
+# Created: mer nov 14 11:57:46 2007
# by: The PyQt User Interface Compiler (pyuic) 3.13
#
# WARNING! All changes made in this file will be lost!
# Form implementation generated from reading ui file 'desCommentaire.ui'
#
-# Created: ven nov 9 14:51:34 2007
+# Created: mer nov 14 11:57:46 2007
# by: The PyQt User Interface Compiler (pyuic) 3.13
#
# WARNING! All changes made in this file will be lost!
<receiver>DComment</receiver>
<slot>TexteCommentaireEntre()</slot>
</connection>
+ <connection>
+ <sender>bHelp</sender>
+ <signal>clicked()</signal>
+ <receiver>DComment</receiver>
+ <slot>ViewDoc()</slot>
+ </connection>
</connections>
<slots>
<slot>TexteCommentaireEntre()</slot>
+ <slot>ViewDoc()</slot>
</slots>
<layoutdefaults spacing="6" margin="11"/>
</UI>
# Form implementation generated from reading ui file 'desError.ui'
#
-# Created: sam nov 10 08:21:36 2007
+# Created: mer nov 14 11:57:46 2007
# by: The PyQt User Interface Compiler (pyuic) 3.13
#
# WARNING! All changes made in this file will be lost!
def BSupPressed(self):
print "DError.BSupPressed(): Not implemented yet"
+ def ViewDoc(self):
+ print "DError.ViewDoc(): Not implemented yet"
+
+ def BOkPressed(self):
+ print "DError.BOkPressed(): Not implemented yet"
+
def __tr(self,s,c = None):
return qApp.translate("DError",s,c)
<receiver>DFormule</receiver>
<slot>FormuleSaisie()</slot>
</connection>
+ <connection>
+ <sender>bHelp</sender>
+ <signal>clicked()</signal>
+ <receiver>DFormule</receiver>
+ <slot>ViewDoc()</slot>
+ </connection>
</connections>
<slots>
<slot>LBNouvCommandeClicked()</slot>
<slot>NomFormuleSaisi()</slot>
<slot>argsSaisis()</slot>
<slot>FormuleSaisie()</slot>
+ <slot>ViewDoc()</slot>
</slots>
<layoutdefaults spacing="6" margin="11"/>
</UI>
# Form implementation generated from reading ui file 'desInactif.ui'
#
-# Created: sam nov 10 08:23:03 2007
+# Created: mer nov 14 11:57:46 2007
# by: The PyQt User Interface Compiler (pyuic) 3.13
#
# WARNING! All changes made in this file will be lost!
def BSupPressed(self):
print "DInactif.BSupPressed(): Not implemented yet"
+ def ViewDoc(self):
+ print "DInactif.ViewDoc(): Not implemented yet"
+
+ def BOkPressed(self):
+ print "DInactif.BOkPressed(): Not implemented yet"
+
def __tr(self,s,c = None):
return qApp.translate("DInactif",s,c)
# Form implementation generated from reading ui file 'desInclude.ui'
#
-# Created: ven nov 9 14:51:34 2007
+# Created: mer nov 14 11:57:46 2007
# by: The PyQt User Interface Compiler (pyuic) 3.13
#
# WARNING! All changes made in this file will be lost!
<receiver>DInc1</receiver>
<slot>LENomFichReturnPressed()</slot>
</connection>
+ <connection>
+ <sender>bHelp</sender>
+ <signal>clicked()</signal>
+ <receiver>DInc1</receiver>
+ <slot>ViewDoc()</slot>
+ </connection>
</connections>
<slots>
<slot>LBNouvCommandeClicked()</slot>
<slot>BNextPressed()</slot>
<slot>BBrowsePressed()</slot>
<slot>LENomFichReturnPressed()</slot>
+ <slot>ViewDoc()</slot>
</slots>
<layoutdefaults spacing="6" margin="11"/>
</UI>
# Form implementation generated from reading ui file 'desListeParam.ui'
#
-# Created: ven nov 9 14:51:34 2007
+# Created: mer nov 14 11:57:47 2007
# by: The PyQt User Interface Compiler (pyuic) 3.13
#
# WARNING! All changes made in this file will be lost!
# Form implementation generated from reading ui file 'desMCFact.ui'
#
-# Created: sam nov 10 09:00:26 2007
+# Created: mer nov 14 11:57:47 2007
# by: The PyQt User Interface Compiler (pyuic) 3.13
#
# WARNING! All changes made in this file will be lost!
# Form implementation generated from reading ui file 'desMCListAjout.ui'
#
-# Created: ven nov 9 14:51:34 2007
+# Created: mer nov 14 11:57:47 2007
# by: The PyQt User Interface Compiler (pyuic) 3.13
#
# WARNING! All changes made in this file will be lost!
self.connect(self.bOk,SIGNAL("clicked()"),self.BAjoutClicked)
self.connect(self.bAjout,SIGNAL("clicked()"),self.BAjoutClicked)
self.connect(self.bSup,SIGNAL("clicked()"),self.BSupPressed)
+ self.connect(self.bHelp,SIGNAL("clicked()"),self.ViewDoc)
def languageChange(self):
def BSupPressed(self):
print "DMCListAjout.BSupPressed(): Not implemented yet"
+ def ViewDoc(self):
+ print "DMCListAjout.ViewDoc(): Not implemented yet"
+
def __tr(self,s,c = None):
return qApp.translate("DMCListAjout",s,c)
# Form implementation generated from reading ui file 'desMacro.ui'
#
-# Created: sam nov 10 08:41:54 2007
+# Created: mer nov 14 11:57:47 2007
# by: The PyQt User Interface Compiler (pyuic) 3.13
#
# WARNING! All changes made in this file will be lost!
# Form implementation generated from reading ui file 'desParam.ui'
#
-# Created: sam nov 10 08:53:40 2007
+# Created: mer nov 14 11:57:47 2007
# by: The PyQt User Interface Compiler (pyuic) 3.13
#
# WARNING! All changes made in this file will be lost!
# Form implementation generated from reading ui file 'desPlusieursBase.ui'
#
-# Created: ven nov 9 14:51:34 2007
+# Created: mer nov 14 11:57:47 2007
# by: The PyQt User Interface Compiler (pyuic) 3.13
#
# WARNING! All changes made in this file will be lost!
# Form implementation generated from reading ui file 'desPlusieursInto.ui'
#
-# Created: ven nov 9 14:51:34 2007
+# Created: mer nov 14 11:57:47 2007
# by: The PyQt User Interface Compiler (pyuic) 3.13
#
# WARNING! All changes made in this file will be lost!
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLabel" row="2" column="0" rowspan="1" colspan="2">
+ <widget class="QLabel" row="2" column="0" rowspan="1" colspan="4">
<property name="name">
<cstring>Commentaire</cstring>
</property>
<string></string>
</property>
</widget>
- <widget class="QLayoutWidget" row="3" column="0" rowspan="1" colspan="2">
+ <widget class="QLayoutWidget" row="3" column="0" rowspan="1" colspan="4">
<property name="name">
<cstring>layout1</cstring>
</property>
</widget>
</hbox>
</widget>
- <widget class="QLabel" row="0" column="1">
+ <widget class="QLabel" row="0" column="2" rowspan="1" colspan="2">
<property name="name">
<cstring>textLabel1_2</cstring>
</property>
<string><u><font size="+1">Valeur(s) possibles(s)</font></u></string>
</property>
</widget>
- <widget class="QLabel" row="0" column="0">
+ <widget class="QLabel" row="0" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>textLabel1</cstring>
</property>
<string><u><font size="+1">Valeur(s) actuelle(s)</font></u></string>
</property>
</widget>
- <widget class="QLayoutWidget" row="1" column="0" rowspan="1" colspan="2">
+ <widget class="QListBox" row="1" column="0">
<property name="name">
- <cstring>layout6</cstring>
+ <cstring>LBValeurs</cstring>
</property>
- <hbox>
+ </widget>
+ <widget class="QListBox" row="1" column="3">
+ <property name="name">
+ <cstring>listBoxVal</cstring>
+ </property>
+ </widget>
+ <widget class="QLayoutWidget" row="1" column="1" rowspan="1" colspan="2">
+ <property name="name">
+ <cstring>layout4</cstring>
+ </property>
+ <vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QListBox">
+ <spacer>
<property name="name">
- <cstring>LBValeurs</cstring>
+ <cstring>spacer2</cstring>
</property>
- </widget>
- <widget class="QLayoutWidget">
+ <property name="orientation">
+ <enum>Vertical</enum>
+ </property>
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+ <property name="sizeHint">
+ <size>
+ <width>21</width>
+ <height>72</height>
+ </size>
+ </property>
+ </spacer>
+ <widget class="QToolButton">
<property name="name">
- <cstring>layout5</cstring>
- </property>
- <vbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <spacer>
- <property name="name">
- <cstring>spacer2</cstring>
- </property>
- <property name="orientation">
- <enum>Vertical</enum>
- </property>
- <property name="sizeType">
- <enum>Expanding</enum>
- </property>
- <property name="sizeHint">
- <size>
- <width>21</width>
- <height>31</height>
- </size>
- </property>
- </spacer>
- <widget class="QToolButton">
- <property name="name">
- <cstring>BSup1Val</cstring>
- </property>
- <property name="minimumSize">
- <size>
- <width>40</width>
- <height>31</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>40</width>
- <height>31</height>
- </size>
- </property>
- <property name="text">
- <string></string>
- </property>
- <property name="iconSet">
- <iconset>image0</iconset>
- </property>
- <property name="toolTip" stdset="0">
- <string>enleve l occurence selectionnee</string>
- </property>
- </widget>
- <widget class="QToolButton">
- <property name="name">
- <cstring>BAjout1Val</cstring>
- </property>
- <property name="minimumSize">
- <size>
- <width>40</width>
- <height>31</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>40</width>
- <height>31</height>
- </size>
- </property>
- <property name="text">
- <string></string>
- </property>
- <property name="iconSet">
- <iconset>image1</iconset>
- </property>
- <property name="toolTip" stdset="0">
- <string>ajoute la valeur saisie sous l occurence selectionnée (en fin de liste si il n y a pas de selection)</string>
- </property>
- </widget>
- <spacer>
- <property name="name">
- <cstring>spacer3</cstring>
- </property>
- <property name="orientation">
- <enum>Vertical</enum>
- </property>
- <property name="sizeType">
- <enum>Expanding</enum>
- </property>
- <property name="sizeHint">
- <size>
- <width>21</width>
- <height>181</height>
- </size>
- </property>
- </spacer>
- </vbox>
+ <cstring>BAjout1Val</cstring>
+ </property>
+ <property name="minimumSize">
+ <size>
+ <width>40</width>
+ <height>31</height>
+ </size>
+ </property>
+ <property name="maximumSize">
+ <size>
+ <width>40</width>
+ <height>31</height>
+ </size>
+ </property>
+ <property name="text">
+ <string></string>
+ </property>
+ <property name="iconSet">
+ <iconset>image0</iconset>
+ </property>
+ <property name="toolTip" stdset="0">
+ <string>ajoute la valeur saisie sous l occurence selectionnée (en fin de liste si il n y a pas de selection)</string>
+ </property>
</widget>
- <widget class="QListBox">
+ <widget class="QToolButton">
<property name="name">
- <cstring>listBoxVal</cstring>
+ <cstring>BSup1Val</cstring>
+ </property>
+ <property name="minimumSize">
+ <size>
+ <width>40</width>
+ <height>31</height>
+ </size>
+ </property>
+ <property name="maximumSize">
+ <size>
+ <width>40</width>
+ <height>31</height>
+ </size>
+ </property>
+ <property name="text">
+ <string></string>
+ </property>
+ <property name="iconSet">
+ <iconset>image1</iconset>
+ </property>
+ <property name="toolTip" stdset="0">
+ <string>enleve l occurence selectionnee</string>
</property>
</widget>
- </hbox>
+ <spacer>
+ <property name="name">
+ <cstring>spacer3</cstring>
+ </property>
+ <property name="orientation">
+ <enum>Vertical</enum>
+ </property>
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+ <property name="sizeHint">
+ <size>
+ <width>21</width>
+ <height>181</height>
+ </size>
+ </property>
+ </spacer>
+ </vbox>
</widget>
</grid>
</widget>
</widget>
<images>
<image name="image0">
- <data format="PNG" length="264">89504e470d0a1a0a0000000d49484452000000210000000e0806000000a11e758c000000cf49444154388dd594db0ec3200c43edfdf8d897bb0f345b480845d51eb64888f412e76001c00f046fd6e99bba77200480924a1032c92efbd8c7d5cabcc025400099e957849568fe7f06c0ded1deb32b4a1ec4ea824b9e74097165bd01f85527f78a7201e0a3129f345a017c543bafdc983d0f7109d15a331b471f47072c17494a82338f6178203a8817e67306b1f08b07ba03e602c9b831077e37e0209e67e3386710977b17de80c185ad38695a51d522c82ce77912e2fed8be83762092f52b1820dd11bb10e565b53a5a3bbaff130713d66fa6981857060000000049454e44ae426082</data>
+ <data format="PNG" length="256">89504e470d0a1a0a0000000d49484452000000210000000e0806000000a11e758c000000c749444154388dcd94590ec3200c4471d57bc73df9f407d331b159a228aa254448bc3cc68152fec0e4420ceeceb912e08a0239838848f5df02c99c11f86004300119054ae868c56ac206c06b4b109111c802874f3a52a587757123897e4039c46b50d8865b07f5400a450053330893cf8674a30028d492deef04626b559dfe48ac842b1a6daae6850155033b99c5009f70ceda111aab413b6f6a70d118e008e6fd8bc51d5d00a0f614556d1ff9b9be4952aabc3721f8f8b6f624c557ef8947afedf48c5e60b8dfbeb81d6dab9aff99270000000049454e44ae426082</data>
</image>
<image name="image1">
- <data format="PNG" length="256">89504e470d0a1a0a0000000d49484452000000210000000e0806000000a11e758c000000c749444154388dcd94590ec3200c4471d57bc73df9f407d331b159a228aa254448bc3cc68152fec0e4420ceeceb912e08a0239838848f5df02c99c11f86004300119054ae868c56ac206c06b4b109111c802874f3a52a587757123897e4039c46b50d8865b07f5400a450053330893cf8674a30028d492deef04626b559dfe48ac842b1a6daae6850155033b99c5009f70ceda111aab413b6f6a70d118e008e6fd8bc51d5d00a0f614556d1ff9b9be4952aabc3721f8f8b6f624c557ef8947afedf48c5e60b8dfbeb81d6dab9aff99270000000049454e44ae426082</data>
+ <data format="PNG" length="264">89504e470d0a1a0a0000000d49484452000000210000000e0806000000a11e758c000000cf49444154388dd594db0ec3200c43edfdf8d897bb0f345b480845d51eb64888f412e76001c00f046fd6e99bba77200480924a1032c92efbd8c7d5cabcc025400099e957849568fe7f06c0ded1deb32b4a1ec4ea824b9e74097165bd01f85527f78a7201e0a3129f345a017c543bafdc983d0f7109d15a331b471f47072c17494a82338f6178203a8817e67306b1f08b07ba03e602c9b831077e37e0209e67e3386710977b17de80c185ad38695a51d522c82ce77912e2fed8be83762092f52b1820dd11bb10e565b53a5a3bbaff130713d66fa6981857060000000049454e44ae426082</data>
</image>
</images>
<connections>
# Form implementation generated from reading ui file 'desRacine.ui'
#
-# Created: sam nov 10 08:45:32 2007
+# Created: mer nov 14 11:57:47 2007
# by: The PyQt User Interface Compiler (pyuic) 3.13
#
# WARNING! All changes made in this file will be lost!
# Form implementation generated from reading ui file 'desSelectVal.ui'
#
-# Created: ven nov 9 14:51:34 2007
+# Created: mer nov 14 11:57:47 2007
# by: The PyQt User Interface Compiler (pyuic) 3.13
#
# WARNING! All changes made in this file will be lost!
# Form implementation generated from reading ui file 'desUniqueASSD.ui'
#
-# Created: ven nov 9 14:51:34 2007
+# Created: mer nov 14 11:57:47 2007
# by: The PyQt User Interface Compiler (pyuic) 3.13
#
# WARNING! All changes made in this file will be lost!
# Form implementation generated from reading ui file 'desUniqueBase.ui'
#
-# Created: ven nov 9 14:51:34 2007
+# Created: mer nov 14 11:57:47 2007
# by: The PyQt User Interface Compiler (pyuic) 3.13
#
# WARNING! All changes made in this file will be lost!
# Form implementation generated from reading ui file 'desUniqueComp.ui'
#
-# Created: ven nov 9 14:51:34 2007
+# Created: mer nov 14 11:57:47 2007
# by: The PyQt User Interface Compiler (pyuic) 3.13
#
# WARNING! All changes made in this file will be lost!
--- /dev/null
+# -*- coding: utf-8 -*-
+
+# Form implementation generated from reading ui file 'desUniqueInto.ui'
+#
+# Created: mer nov 14 11:57:47 2007
+# by: The PyQt User Interface Compiler (pyuic) 3.13
+#
+# WARNING! All changes made in this file will be lost!
+
+
+from qt import *
+
+
+class DUnIn(QWidget):
+ def __init__(self,parent = None,name = None,fl = 0):
+ QWidget.__init__(self,parent,name,fl)
+
+ if not name:
+ self.setName("DUnIn")
+
+ self.setMinimumSize(QSize(350,0))
+
+ DUnInLayout = QGridLayout(self,1,1,11,6,"DUnInLayout")
+
+ self.tabuniqueinto = QTabWidget(self,"tabuniqueinto")
+
+ self.Widget8 = QWidget(self.tabuniqueinto,"Widget8")
+ Widget8Layout = QGridLayout(self.Widget8,1,1,11,6,"Widget8Layout")
+
+ layout1 = QHBoxLayout(None,0,6,"layout1")
+
+ self.bHelp = QPushButton(self.Widget8,"bHelp")
+ self.bHelp.setAutoDefault(1)
+ layout1.addWidget(self.bHelp)
+
+ self.bOk = QPushButton(self.Widget8,"bOk")
+ self.bOk.setAutoDefault(1)
+ self.bOk.setDefault(1)
+ layout1.addWidget(self.bOk)
+
+ self.bSup = QPushButton(self.Widget8,"bSup")
+ self.bSup.setAutoDefault(1)
+ layout1.addWidget(self.bSup)
+
+ Widget8Layout.addLayout(layout1,3,0)
+
+ self.textLabel2 = QLabel(self.Widget8,"textLabel2")
+
+ Widget8Layout.addWidget(self.textLabel2,0,0)
+
+ self.listBoxVal = QListBox(self.Widget8,"listBoxVal")
+
+ Widget8Layout.addWidget(self.listBoxVal,1,0)
+
+ self.Commentaire = QLabel(self.Widget8,"Commentaire")
+ self.Commentaire.setMinimumSize(QSize(420,30))
+
+ Widget8Layout.addWidget(self.Commentaire,2,0)
+ self.tabuniqueinto.insertTab(self.Widget8,QString(""))
+
+ DUnInLayout.addWidget(self.tabuniqueinto,0,0)
+
+ self.languageChange()
+
+ self.resize(QSize(482,480).expandedTo(self.minimumSizeHint()))
+ self.clearWState(Qt.WState_Polished)
+
+ self.connect(self.bHelp,SIGNAL("clicked()"),self.ViewDoc)
+ self.connect(self.bOk,SIGNAL("clicked()"),self.BOkPressed)
+ self.connect(self.bSup,SIGNAL("clicked()"),self.BSupPressed)
+
+
+ def languageChange(self):
+ self.setCaption(self.__tr("DUnIn"))
+ self.bHelp.setText(self.__tr("&Documentation"))
+ self.bHelp.setAccel(self.__tr("Alt+D"))
+ QToolTip.add(self.bHelp,self.__tr("affichage documentation aster"))
+ self.bOk.setText(self.__tr("&Valider"))
+ self.bOk.setAccel(self.__tr("Shift+A, Alt+A, Alt+A, Alt+A"))
+ QToolTip.add(self.bOk,self.__tr("validation de la saisie"))
+ self.bSup.setText(self.__tr("&Supprimer"))
+ self.bSup.setAccel(self.__tr("Alt+S"))
+ QToolTip.add(self.bSup,self.__tr("suppression du mot clef"))
+ self.textLabel2.setText(self.__tr("<b><u><p align=\"center\">Valeurs possibles</p></u></b>"))
+ self.Commentaire.setText(QString.null)
+ self.tabuniqueinto.changeTab(self.Widget8,self.__tr("Saisir Valeur"))
+
+
+ def BSupPressed(self):
+ print "DUnIn.BSupPressed(): Not implemented yet"
+
+ def ViewDoc(self):
+ print "DUnIn.ViewDoc(): Not implemented yet"
+
+ def BOkPressed(self):
+ print "DUnIn.BOkPressed(): Not implemented yet"
+
+ def __tr(self,s,c = None):
+ return qApp.translate("DUnIn",s,c)
+++ /dev/null
-# -*- coding: utf-8 -*-
-
-# Form implementation generated from reading ui file 'desUniqueInto.ui'
-#
-# Created: mar mar 20 12:00:55 2007
-# by: The PyQt User Interface Compiler (pyuic) 3.13
-#
-# WARNING! All changes made in this file will be lost!
-
-
-from qt import *
-
-
-class DUnIn(QWidget):
- def __init__(self,parent = None,name = None,fl = 0):
- QWidget.__init__(self,parent,name,fl)
-
- if not name:
- self.setName("DUnIn")
-
- self.setMinimumSize(QSize(350,0))
- self.tabuniqueinto = QTabWidget(self,"tabuniqueinto")
- self.tabuniqueinto.setGeometry(QRect(20,20,450,440))
-
- self.Widget8 = QWidget(self.tabuniqueinto,"Widget8")
-
- self.textLabel2 = QLabel(self.Widget8,"textLabel2")
- self.textLabel2.setGeometry(QRect(170,30,100,21))
-
- self.textLabel1 = QLabel(self.Widget8,"textLabel1")
- self.textLabel1.setGeometry(QRect(170,-10,90,31))
-
- self.Commentaire = QLabel(self.Widget8,"Commentaire")
- self.Commentaire.setGeometry(QRect(38,316,381,41))
-
- self.bHelp = QPushButton(self.Widget8,"bHelp")
- self.bHelp.setGeometry(QRect(0,370,142,30))
- self.bHelp.setAutoDefault(1)
-
- self.listBoxVal = QListBox(self.Widget8,"listBoxVal")
- self.listBoxVal.setGeometry(QRect(80,60,290,240))
-
- self.bOk = QPushButton(self.Widget8,"bOk")
- self.bOk.setGeometry(QRect(150,370,142,30))
- self.bOk.setAutoDefault(1)
- self.bOk.setDefault(1)
-
- self.bSup = QPushButton(self.Widget8,"bSup")
- self.bSup.setGeometry(QRect(300,370,142,30))
- self.bSup.setAutoDefault(1)
- self.tabuniqueinto.insertTab(self.Widget8,QString(""))
-
- self.languageChange()
-
- self.resize(QSize(482,480).expandedTo(self.minimumSizeHint()))
- self.clearWState(Qt.WState_Polished)
-
- self.connect(self.bHelp,SIGNAL("clicked()"),self.ViewDoc)
- self.connect(self.bOk,SIGNAL("clicked()"),self.BOkPressed)
- self.connect(self.bSup,SIGNAL("clicked()"),self.BSupPressed)
-
-
- def languageChange(self):
- self.setCaption(self.__tr("DUnIn"))
- self.textLabel2.setText(self.__tr("<b><u><p align=\"center\">Valeurs possibles</p></u></b>"))
- self.textLabel1.setText(self.__tr("<p align=\"center\">Choisir une valeur</p>"))
- self.Commentaire.setText(QString.null)
- self.bHelp.setText(self.__tr("&Documentation"))
- self.bHelp.setAccel(self.__tr("Alt+D"))
- QToolTip.add(self.bHelp,self.__tr("affichage documentation aster"))
- self.bOk.setText(self.__tr("&Valider"))
- self.bOk.setAccel(self.__tr("Shift+A, Alt+A, Alt+A, Alt+A"))
- QToolTip.add(self.bOk,self.__tr("validation de la saisie"))
- self.bSup.setText(self.__tr("&Supprimer"))
- self.bSup.setAccel(self.__tr("Alt+S"))
- QToolTip.add(self.bSup,self.__tr("suppression du mot clef"))
- self.tabuniqueinto.changeTab(self.Widget8,self.__tr("Saisir Valeur"))
-
-
- def BSupPressed(self):
- print "DUnIn.BSupPressed(): Not implemented yet"
-
- def ViewDoc(self):
- print "DUnIn.ViewDoc(): Not implemented yet"
-
- def BOkPressed(self):
- print "DUnIn.BOkPressed(): Not implemented yet"
-
- def __tr(self,s,c = None):
- return qApp.translate("DUnIn",s,c)
# Form implementation generated from reading ui file 'desUniqueSDCO.ui'
#
-# Created: ven nov 9 14:51:34 2007
+# Created: mer nov 14 11:57:48 2007
# by: The PyQt User Interface Compiler (pyuic) 3.13
#
# WARNING! All changes made in this file will be lost!
# Form implementation generated from reading ui file 'desUniqueSDCOInto.ui'
#
-# Created: ven nov 9 14:51:34 2007
+# Created: mer nov 14 11:57:47 2007
# by: The PyQt User Interface Compiler (pyuic) 3.13
#
# WARNING! All changes made in this file will be lost!
# Form implementation generated from reading ui file 'desVisu.ui'
#
-# Created: ven nov 9 14:51:34 2007
+# Created: mer nov 14 11:57:48 2007
# by: The PyQt User Interface Compiler (pyuic) 3.13
#
# WARNING! All changes made in this file will be lost!
# Form implementation generated from reading ui file 'myMain.ui'
#
-# Created: lun nov 12 11:37:10 2007
+# Created: mer nov 14 11:57:48 2007
# by: The PyQt User Interface Compiler (pyuic) 3.13
#
# WARNING! All changes made in this file will be lost!