From 3c206cb28d5b73ba8b1b610f9641a3365166e268 Mon Sep 17 00:00:00 2001 From: Pascale Noyret Date: Thu, 12 Mar 2009 13:57:29 +0000 Subject: [PATCH] *** empty log message *** --- InterfaceQT4/browser.py | 2 + InterfaceQT4/compobloc.py | 7 +- InterfaceQT4/compofact.py | 7 +- InterfaceQT4/compomclist.py | 8 +- InterfaceQT4/compoparam.py | 1 + InterfaceQT4/composimp.py | 6 +- InterfaceQT4/editor.py | 12 +- InterfaceQT4/monCommandePanel.py | 9 - InterfaceQT4/monCommentairePanel.py | 6 +- InterfaceQT4/monFormulePanel.py | 8 +- InterfaceQT4/monInactifPanel.py | 6 +- InterfaceQT4/monIncludePanel.py | 7 - InterfaceQT4/monMCFactPanel.py | 7 - InterfaceQT4/monMCListAjoutPanel.py | 9 +- InterfaceQT4/monMacroPanel.py | 8 +- InterfaceQT4/monOptionsEditeur.py | 1 - InterfaceQT4/monParamPanel.py | 7 - InterfaceQT4/monPlusieursASSDPanel.py | 2 - InterfaceQT4/monPlusieursBasePanel.py | 7 - InterfaceQT4/monPlusieursIntoPanel.py | 7 - InterfaceQT4/monPoursuitePanel.py | 106 ++++- InterfaceQT4/monRacinePanel.py | 9 +- InterfaceQT4/monUniqueASSDPanel.py | 7 - InterfaceQT4/monUniqueBasePanel.py | 7 - InterfaceQT4/monUniqueCompPanel.py | 8 - InterfaceQT4/monUniqueIntoPanel.py | 8 - InterfaceQT4/monUniqueSDCOIntoPanel.py | 7 - InterfaceQT4/monUniqueSDCOPanel.py | 7 - InterfaceQT4/qtCommun.py | 39 +- InterfaceQT4/typeNode.py | 63 ++- UiQT4/OptionsEditeur.py | 42 +- UiQT4/OptionsPdf.py | 18 +- UiQT4/aideQT.py | 24 +- UiQT4/desChoixCata.py | 24 +- UiQT4/desCommande.py | 161 ++++---- UiQT4/desCommande.ui | 289 ++++++------- UiQT4/desCommentaire.py | 72 ++-- UiQT4/desCommentaire.ui | 82 +--- UiQT4/desError.py | 16 +- UiQT4/desFormule.py | 145 +++---- UiQT4/desFormule.ui | 534 +++++++++++-------------- UiQT4/desInactif.py | 29 +- UiQT4/desInactif.ui | 18 + UiQT4/desInclude.py | 118 +++--- UiQT4/desInclude.ui | 80 +--- UiQT4/desListeParam.py | 8 +- UiQT4/desMCFact.py | 45 +-- UiQT4/desMCFact.ui | 239 +++++------ UiQT4/desMCListAjout.py | 67 ++-- UiQT4/desMCListAjout.ui | 452 +++++++++------------ UiQT4/desParam.py | 99 ++--- UiQT4/desParam.ui | 87 +--- UiQT4/desPlusieursBase.py | 196 ++++----- UiQT4/desPlusieursBase.ui | 390 ++++++++---------- UiQT4/desPlusieursInto.py | 98 ++--- UiQT4/desPlusieursInto.ui | 420 +++++++++---------- UiQT4/desPoursuite.py | 127 +++--- UiQT4/desPoursuite.ui | 248 ++++-------- UiQT4/desRacine.py | 121 ++++-- UiQT4/desRacine.ui | 379 ++++++++++-------- UiQT4/desSelectVal.py | 20 +- UiQT4/desUniqueASSD.py | 50 +-- UiQT4/desUniqueASSD.ui | 268 ++++++------- UiQT4/desUniqueBase.py | 142 ++++--- UiQT4/desUniqueBase.ui | 338 ++++++++-------- UiQT4/desUniqueComp.py | 56 +-- UiQT4/desUniqueComp.ui | 292 +++++++------- UiQT4/desUniqueInto.py | 58 +-- UiQT4/desUniqueInto.ui | 256 ++++++------ UiQT4/desUniqueSDCO.py | 53 +-- UiQT4/desUniqueSDCO.ui | 273 ++++++------- UiQT4/desUniqueSDCOInto.py | 63 ++- UiQT4/desUniqueSDCOInto.ui | 357 +++++++---------- UiQT4/desViewTexte.py | 16 +- UiQT4/desVisu.py | 8 +- UiQT4/myMain.py | 48 +-- UiQT4/myMain.ui | 12 +- 77 files changed, 3197 insertions(+), 4129 deletions(-) diff --git a/InterfaceQT4/browser.py b/InterfaceQT4/browser.py index 5922297e..67680238 100644 --- a/InterfaceQT4/browser.py +++ b/InterfaceQT4/browser.py @@ -22,6 +22,7 @@ import string,re import types,sys,os import traceback +import typeNode from PyQt4 import * from PyQt4.QtGui import * from PyQt4.QtCore import * @@ -113,6 +114,7 @@ class JDCNode(QTreeWidgetItem): self.item.connect("supp" ,self.onAdd,()) self.item.connect("add" ,self.onSupp,()) + def build_children(self,posInsertion=10000): """ Construit la liste des enfants de self """ """ Se charge de remettre les noeuds Expanded dans le meme etat """ diff --git a/InterfaceQT4/compobloc.py b/InterfaceQT4/compobloc.py index e236eef5..d8060063 100644 --- a/InterfaceQT4/compobloc.py +++ b/InterfaceQT4/compobloc.py @@ -6,15 +6,20 @@ from Editeur import Objecttreeitem import compofact import browser +import typeNode -class Node(browser.JDCNode): +class Node(browser.JDCNode,typeNode.PopUpMenuNodeMinimal): def getPanel(self): """ """ from monMCFactPanel import MonMCFactPanel return MonMCFactPanel(self,parent=self.editor) + def createPopUpMenu(self): + typeNode.PopUpMenuNodeMinimal.createPopUpMenu(self) + + class BLOCTreeItem(compofact.FACTTreeItem): itemNode=Node diff --git a/InterfaceQT4/compofact.py b/InterfaceQT4/compofact.py index 76b81c63..1551befe 100644 --- a/InterfaceQT4/compofact.py +++ b/InterfaceQT4/compofact.py @@ -23,17 +23,22 @@ from PyQt4 import * from PyQt4.QtGui import * from PyQt4.QtCore import * import browser +import typeNode + from Editeur import Objecttreeitem -class Node(browser.JDCNode): +class Node(browser.JDCNode,typeNode.PopUpMenuNodePartiel): def getPanel(self): """ """ from monMCFactPanel import MonMCFactPanel return MonMCFactPanel(self,parent=self.editor) + def createPopUpMenu(self): + typeNode.PopUpMenuNodeMinimal.createPopUpMenu(self) + def doPaste(self,node_selected): objetACopier = self.item.get_copie_objet() child=node_selected.doPasteMCF(objetACopier) diff --git a/InterfaceQT4/compomclist.py b/InterfaceQT4/compomclist.py index 04a79132..b1104d4e 100644 --- a/InterfaceQT4/compomclist.py +++ b/InterfaceQT4/compomclist.py @@ -5,12 +5,14 @@ import traceback import compofact import browser +import typeNode + from Editeur import Objecttreeitem from Noyau.N_OBJECT import ErrorObj #import compoerror -class Node(browser.JDCNode): +class Node(browser.JDCNode,typeNode.PopUpMenuNodeMinimal): def getPanel(self): """ """ @@ -26,6 +28,10 @@ class Node(browser.JDCNode): else : print "MCList" + def createPopUpMenu(self): + typeNode.PopUpMenuNodeMinimal.createPopUpMenu(self) + + def doPaste(self,node_selected): objet_a_copier = self.item.get_copie_objet() child=node_selected.doPasteMCF(objet_a_copier) diff --git a/InterfaceQT4/compoparam.py b/InterfaceQT4/compoparam.py index b21ae803..5c637496 100644 --- a/InterfaceQT4/compoparam.py +++ b/InterfaceQT4/compoparam.py @@ -23,6 +23,7 @@ class Node(browser.JDCNode,typeNode.PopUpMenuNodePartiel): def createPopUpMenu(self): typeNode.PopUpMenuNodePartiel.createPopUpMenu(self) + self.menu.removeAction(self.Documentation) diff --git a/InterfaceQT4/composimp.py b/InterfaceQT4/composimp.py index 20c8d20a..df937319 100644 --- a/InterfaceQT4/composimp.py +++ b/InterfaceQT4/composimp.py @@ -4,13 +4,14 @@ import string,types,os from copy import copy,deepcopy import traceback +import typeNode # Modules Eficas from Editeur import Objecttreeitem import browser from Noyau.N_CR import justify_text -class Node(browser.JDCNode): +class Node(browser.JDCNode,typeNode.PopUpMenuNodeMinimal): def getPanel(self): """ """ @@ -84,6 +85,9 @@ class Node(browser.JDCNode): return None return klass( self, self.editor ) + def createPopUpMenu(self): + typeNode.PopUpMenuNodeMinimal.createPopUpMenu(self) + class SIMPTreeItem(Objecttreeitem.AtomicObjectTreeItem): diff --git a/InterfaceQT4/editor.py b/InterfaceQT4/editor.py index 87a94709..af323db1 100644 --- a/InterfaceQT4/editor.py +++ b/InterfaceQT4/editor.py @@ -480,6 +480,8 @@ class JDCEditor(QSplitter): if generator.plugins.has_key(format): # Le generateur existe on l'utilise self.generator=generator.plugins[format]() + print format + print self.generator jdc_formate=self.generator.gener(self.jdc,format='beautifie') if not self.generator.cr.estvide(): self.affiche_infos("Erreur à la generation") @@ -564,17 +566,19 @@ class JDCEditor(QSplitter): pass try : - - #if 1 : + aa=self.generator.generCuve2dg() + except : + pass + + try : file_homard = fn[:fn.rfind(".")] + '.conf_homard' - #self.jdc_homard=self.generator.get_homard() + self.jdc_homard=self.generator.get_homard() self.jdc_homard="" f=open(file_homard,'w') for ligne in self.jdc_homard: f.write(ligne) f.write('\n') f.close() - #else : except : pass diff --git a/InterfaceQT4/monCommandePanel.py b/InterfaceQT4/monCommandePanel.py index 530142d5..69637804 100644 --- a/InterfaceQT4/monCommandePanel.py +++ b/InterfaceQT4/monCommandePanel.py @@ -69,21 +69,12 @@ class MonCommandePanel(DComm,QTPanelTBW1,QTPanelTBW2,QTPanelTBW3): self.connect(self.LBNouvCommande,SIGNAL("doubleClicked(QListBoxItem*)"),self.LBNouvCommandeClicked) self.connect(self.LEFiltre,SIGNAL("textChanged(const QString&)"),self.LEFiltreTextChanged) self.connect(self.LEFiltre,SIGNAL("returnPressed()"),self.LEfiltreReturnPressed) - self.connect(self.bSup,SIGNAL("pressed()"),self.BSupPressed) self.connect(self.bOk,SIGNAL("clicked()"),self.BOkPressed) self.connect(self.LENomConcept,SIGNAL("returnPressed()"),self.LENomConceptReturnPressed) self.connect(self.RBGroupe,SIGNAL("clicked()"),self.BuildTabCommand) self.connect(self.RBalpha,SIGNAL("clicked()"),self.BuildTabCommand) - self.connect(self.bHelp,SIGNAL("clicked()"),self.ViewDoc) self.connect(self.BNext,SIGNAL("pressed()"),self.BNextPressed) - - def ViewDoc(self): - QTPanel.ViewDoc(self) - - def BSupPressed(self): - QTPanel.BSupPressed(self) - def BOkPressed(self): QTPanel.BOkPressed(self) diff --git a/InterfaceQT4/monCommentairePanel.py b/InterfaceQT4/monCommentairePanel.py index 2449ac32..9d78ac3d 100644 --- a/InterfaceQT4/monCommentairePanel.py +++ b/InterfaceQT4/monCommentairePanel.py @@ -48,6 +48,7 @@ class DComment(Ui_DComment,QDialog): self.setupUi(self) + # Import des panels class MonCommentairePanel(DComment,QTPanelTBW2,QTPanel): @@ -68,11 +69,9 @@ class MonCommentairePanel(DComment,QTPanelTBW2,QTPanel): self.connect(self.LBNouvCommande,SIGNAL("doubleClicked(QListBoxItem*)"),self.LBNouvCommandeClicked) self.connect(self.LEFiltre,SIGNAL("textChanged(const QString&)"),self.LEFiltreTextChanged) self.connect(self.LEFiltre,SIGNAL("returnPressed()"),self.LEfiltreReturnPressed) - self.connect(self.bSup,SIGNAL("pressed()"),self.BSupPressed) self.connect(self.bOk,SIGNAL("clicked()"),self.BOkPressed) self.connect(self.RBGroupe,SIGNAL("clicked()"),self.BuildTabCommand) self.connect(self.RBalpha,SIGNAL("clicked()"),self.BuildTabCommand) - self.connect(self.bHelp,SIGNAL("clicked()"),self.ViewDoc) self.connect(self.BNext,SIGNAL("pressed()"),self.BNextPressed) self.connect(self.textCommentaire,SIGNAL("textChanged()"),self.TexteCommentaireEntre) @@ -104,6 +103,3 @@ class MonCommentairePanel(DComment,QTPanelTBW2,QTPanel): def BOkPressed(self): QTPanel.BOkPressed(self) - def ViewDoc(self): - QTPanel.ViewDoc(self) - diff --git a/InterfaceQT4/monFormulePanel.py b/InterfaceQT4/monFormulePanel.py index 570fc669..f5ba6dce 100644 --- a/InterfaceQT4/monFormulePanel.py +++ b/InterfaceQT4/monFormulePanel.py @@ -46,6 +46,7 @@ class DFormule(Ui_DFormule,QDialog): self.setupUi(self) + # Import des panels class MonFormulePanel(DFormule,QTPanelTBW2): @@ -76,7 +77,6 @@ class MonFormulePanel(DFormule,QTPanelTBW2): self.connect(self.LBNouvCommande,SIGNAL("doubleClicked(QListBoxItem*)"),self.LBNouvCommandeClicked) self.connect(self.LEFiltre,SIGNAL("textChanged(const QString&)"),self.LEFiltreTextChanged) self.connect(self.LEFiltre,SIGNAL("returnPressed()"),self.LEfiltreReturnPressed) - self.connect(self.bSup,SIGNAL("pressed()"),self.BSupPressed) self.connect(self.bOk,SIGNAL("clicked()"),self.BOkPressed) self.connect(self.RBalpha,SIGNAL("clicked()"),self.BuildTabCommand) self.connect(self.RBGroupe,SIGNAL("clicked()"),self.BuildTabCommand) @@ -84,17 +84,11 @@ class MonFormulePanel(DFormule,QTPanelTBW2): 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.connect(self.bHelp,SIGNAL("clicked()"),self.ViewDoc) - def BSupPressed(self): - QTPanel.BSupPressed(self) def BOkPressed(self): QTPanel.BOkPressed(self) - def ViewDoc(self): - QTPanel.ViewDoc(self) - def BNextPressed(self): QTPanelTBW2.BNextPressed(self) diff --git a/InterfaceQT4/monInactifPanel.py b/InterfaceQT4/monInactifPanel.py index bf544724..94cd999f 100644 --- a/InterfaceQT4/monInactifPanel.py +++ b/InterfaceQT4/monInactifPanel.py @@ -29,9 +29,9 @@ class PanelInactif( QTPanel, Ui_DInactif,QDialog ): parent.addWidget(parent.partieDroite) parent.leLayout.widgetActive=self self.setupUi(self) - - self.connect(self.bSup,SIGNAL("clicked()"),self.BSupPressed) + self.connect(self.bSup,SIGNAL("clicked()"),self.BSupPressed) def BSupPressed(self): - QTPanel.BSupPressed(self) + self.editor.init_modif() + self.node.delete() diff --git a/InterfaceQT4/monIncludePanel.py b/InterfaceQT4/monIncludePanel.py index 4d78b8d6..ccd8db96 100644 --- a/InterfaceQT4/monIncludePanel.py +++ b/InterfaceQT4/monIncludePanel.py @@ -154,11 +154,9 @@ class MonIncludePanel(DInc,QTPanelTBW1,QTPanelTBW2,QTPanelTBW3): self.connect(self.LBNouvCommande,SIGNAL("doubleClicked(QListBoxItem*)"),self.LBNouvCommandeClicked) self.connect(self.LEFiltre,SIGNAL("textChanged(const QString&)"),self.LEFiltreTextChanged) self.connect(self.LEFiltre,SIGNAL("returnPressed()"),self.LEfiltreReturnPressed) - self.connect(self.bSup,SIGNAL("pressed()"),self.BSupPressed) self.connect(self.bOk,SIGNAL("clicked()"),self.BOkPressed) self.connect(self.RBGroupe,SIGNAL("clicked()"),self.BuildTabCommand) self.connect(self.RBalpha,SIGNAL("clicked()"),self.BuildTabCommand) - self.connect(self.bHelp,SIGNAL("clicked()"),self.ViewDoc) self.connect(self.BNext,SIGNAL("pressed()"),self.BNextPressed) self.connect(self.BBrowse,SIGNAL("clicked()"),self.BBrowsePressed) try : @@ -167,11 +165,6 @@ class MonIncludePanel(DInc,QTPanelTBW1,QTPanelTBW2,QTPanelTBW3): except : pass - def ViewDoc(self): - QTPanel.ViewDoc(self) - - def BSupPressed(self): - QTPanel.BSupPressed(self) def BOkPressed(self): QTPanel.BOkPressed(self) diff --git a/InterfaceQT4/monMCFactPanel.py b/InterfaceQT4/monMCFactPanel.py index 7f775ff5..c81d0b49 100644 --- a/InterfaceQT4/monMCFactPanel.py +++ b/InterfaceQT4/monMCFactPanel.py @@ -60,16 +60,9 @@ class MonMCFactPanel(DMCFact,QTPanelTBW1): self.connecterSignaux() def connecterSignaux(self): - self.connect(self.bSup,SIGNAL("pressed()"),self.BSupPressed) self.connect(self.bOk,SIGNAL("clicked()"),self.BOkPressed) - self.connect(self.bHelp,SIGNAL("clicked()"),self.ViewDoc) - - def BSupPressed(self): - QTPanel.BSupPressed(self) def BOkPressed(self): QTPanel.BOkPressed(self) - def ViewDoc(self): - QTPanel.ViewDoc(self) diff --git a/InterfaceQT4/monMCListAjoutPanel.py b/InterfaceQT4/monMCListAjoutPanel.py index 5a807680..475a51f1 100644 --- a/InterfaceQT4/monMCListAjoutPanel.py +++ b/InterfaceQT4/monMCListAjoutPanel.py @@ -27,6 +27,7 @@ from PyQt4.QtCore import * from qtCommun import QTPanel + class DMCListAjout(Ui_DMCListAjout,QDialog): def __init__(self,parent ,modal ) : QDialog.__init__(self,parent) @@ -61,17 +62,11 @@ class MonMCListAjoutPanel(DMCListAjout,QTPanel): self.connecterSignaux() def connecterSignaux(self): - self.connect(self.bOk,SIGNAL("clicked()"),self.BAjoutClicked) + 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 BSupPressed(self): - QTPanel.BSupPressed(self) def BAjoutClicked(self): self.node.treeParent.append_child(self.node.item.get_nom()) - def ViewDoc(self): - QTPanel.ViewDoc(self) diff --git a/InterfaceQT4/monMacroPanel.py b/InterfaceQT4/monMacroPanel.py index 7e6d744a..f6477a34 100644 --- a/InterfaceQT4/monMacroPanel.py +++ b/InterfaceQT4/monMacroPanel.py @@ -32,6 +32,7 @@ from PyQt4.QtCore import * class DMacro(Ui_DComm,QDialog): def __init__(self,parent ,modal ) : + self.appliEficas=parent.appliEficas QDialog.__init__(self,parent) if hasattr(parent,"leLayout"): parent.leLayout.removeWidget(parent.leLayout.widgetActive) @@ -70,19 +71,12 @@ class MonMacroPanel(DMacro,QTPanelTBW1,QTPanelTBW2,QTPanelTBW3): self.connect(self.LBNouvCommande,SIGNAL("doubleClicked(QListBoxItem*)"),self.LBNouvCommandeClicked) self.connect(self.LEFiltre,SIGNAL("textChanged(const QString&)"),self.LEFiltreTextChanged) self.connect(self.LEFiltre,SIGNAL("returnPressed()"),self.LEfiltreReturnPressed) - self.connect(self.bSup,SIGNAL("pressed()"),self.BSupPressed) self.connect(self.bOk,SIGNAL("clicked()"),self.BOkPressed) self.connect(self.LENomConcept,SIGNAL("returnPressed()"),self.LENomConceptReturnPressed) self.connect(self.RBGroupe,SIGNAL("clicked()"),self.BuildTabCommand) self.connect(self.RBalpha,SIGNAL("clicked()"),self.BuildTabCommand) - self.connect(self.bHelp,SIGNAL("clicked()"),self.ViewDoc) self.connect(self.BNext,SIGNAL("pressed()"),self.BNextPressed) - def ViewDoc(self): - QTPanel.ViewDoc(self) - - def BSupPressed(self): - QTPanel.BSupPressed(self) def BOkPressed(self): QTPanel.BOkPressed(self) diff --git a/InterfaceQT4/monOptionsEditeur.py b/InterfaceQT4/monOptionsEditeur.py index d5542a1a..728acd0f 100644 --- a/InterfaceQT4/monOptionsEditeur.py +++ b/InterfaceQT4/monOptionsEditeur.py @@ -34,7 +34,6 @@ class Options(desOptions): self.connect(self.Bok,SIGNAL("clicked()"),self.BokClicked) self.connect(self.LEVersionSup,SIGNAL("returnPressed()"),self.SupVersion) self.connect(self.PBajout,SIGNAL("clicked()"),self.AjoutVersion) - self.connect(self.PBSup,SIGNAL("clicked()"),self.SupVersion) self.connect(self.PBQuit,SIGNAL("clicked()"),self.close) self.connect(self.LERepDoc,SIGNAL("textChanged(const QString&)"),self.ChangePathDoc) diff --git a/InterfaceQT4/monParamPanel.py b/InterfaceQT4/monParamPanel.py index a205431f..fedd2600 100644 --- a/InterfaceQT4/monParamPanel.py +++ b/InterfaceQT4/monParamPanel.py @@ -64,11 +64,9 @@ class MonParamPanel(DParam,QTPanelTBW2,QTPanel): self.connect(self.LBNouvCommande,SIGNAL("doubleClicked(QListBoxItem*)"),self.LBNouvCommandeClicked) self.connect(self.LEFiltre,SIGNAL("textChanged(const QString&)"),self.LEFiltreTextChanged) self.connect(self.LEFiltre,SIGNAL("returnPressed()"),self.LEfiltreReturnPressed) - self.connect(self.bSup,SIGNAL("pressed()"),self.BSupPressed) self.connect(self.bOk,SIGNAL("clicked()"),self.BOkPressed) self.connect(self.RBGroupe,SIGNAL("clicked()"),self.BuildTabCommand) self.connect(self.RBalpha,SIGNAL("clicked()"),self.BuildTabCommand) - self.connect(self.bHelp,SIGNAL("clicked()"),self.ViewDoc) self.connect(self.BNext,SIGNAL("pressed()"),self.BNextPressed) self.connect(self.lineEditVal,SIGNAL("returnPressed()"),self.BOkPressed) @@ -99,8 +97,6 @@ class MonParamPanel(DParam,QTPanelTBW2,QTPanel): self.editor.init_modif() self.InitLEs() - def BSupPressed(self): - QTPanel.BSupPressed(self) def LEValeurPressed(self): self.Commentaire.setText(QString("")) @@ -166,6 +162,3 @@ class MonParamPanel(DParam,QTPanelTBW2,QTPanel): def BOkPressed(self): QTPanel.BOkPressed(self) - def ViewDoc(self): - QTPanel.ViewDoc(self) - diff --git a/InterfaceQT4/monPlusieursASSDPanel.py b/InterfaceQT4/monPlusieursASSDPanel.py index 3af461a8..ce5888f7 100644 --- a/InterfaceQT4/monPlusieursASSDPanel.py +++ b/InterfaceQT4/monPlusieursASSDPanel.py @@ -76,8 +76,6 @@ class MonPlusieursASSDPanel(MonPlusieursIntoPanel): self.editor.affiche_infos("Valeur Acceptée") pass - def BSupPressed(self): - QTPanel.BSupPressed(self) def Sup1Valeur(self): indexCourant=self.LBValeurs.currentRow() diff --git a/InterfaceQT4/monPlusieursBasePanel.py b/InterfaceQT4/monPlusieursBasePanel.py index adef3c01..da889f1a 100644 --- a/InterfaceQT4/monPlusieursBasePanel.py +++ b/InterfaceQT4/monPlusieursBasePanel.py @@ -66,16 +66,13 @@ class MonPlusieursBasePanel(DPlusBase,QTPanel,SaisieValeur): self.connecterSignaux() def connecterSignaux(self) : - self.connect(self.bHelp,SIGNAL("clicked()"),self.ViewDoc) self.connect(self.bOk,SIGNAL("clicked()"),self.BOkPourListePressed) - self.connect(self.bSup,SIGNAL("clicked()"),self.BSupPressed) self.connect(self.bParam,SIGNAL("clicked()"),self.BParametresPressed) self.connect(self.bImport,SIGNAL("clicked()"),self.BImportPressed) self.connect(self.BAjout1Val,SIGNAL("clicked()"),self.Ajout1Valeur) self.connect(self.BSup1Val,SIGNAL("clicked()"),self.Sup1Valeur) self.connect(self.LEValeur,SIGNAL("returnPressed()"),self.LEValeurPressed) self.connect(self.BSalome,SIGNAL("clicked()"),self.BSalomePressed) - self.connect(self.BView2D,SIGNAL("clicked()"),self.BView2DPressed) def detruitBouton(self): mc = self.node.item.get_definition() @@ -84,8 +81,6 @@ class MonPlusieursBasePanel(DPlusBase,QTPanel,SaisieValeur): self.BSalome.close() self.BView2D.close() - def ViewDoc(self): - QTPanel.ViewDoc(self) def BuildLBValeurs(self): # redefinit en raison de l heritage par monFonctionPanel @@ -99,8 +94,6 @@ class MonPlusieursBasePanel(DPlusBase,QTPanel,SaisieValeur): self.node.item.set_valeur(self.listeValeursCourantes) self.editor.affiche_infos("Valeur Acceptée") - def BSupPressed(self): - QTPanel.BSupPressed(self) def BParametresPressed(self): QTPanel.BParametresPressed(self) diff --git a/InterfaceQT4/monPlusieursIntoPanel.py b/InterfaceQT4/monPlusieursIntoPanel.py index af2eaa45..c5b53d19 100644 --- a/InterfaceQT4/monPlusieursIntoPanel.py +++ b/InterfaceQT4/monPlusieursIntoPanel.py @@ -66,9 +66,7 @@ class MonPlusieursIntoPanel(DPlusInto,QTPanel,SaisieValeur): def connecterSignaux(self) : self.connect(self.listBoxVal, SIGNAL("itemDoubleClicked(QListWidgetItem*)" ), self.Ajout1Valeur ) self.connect(self.LBValeurs,SIGNAL("itemDoubleClicked(QListWidgetItem*)"),self.Sup1Valeur) - self.connect(self.bHelp,SIGNAL("clicked()"),self.ViewDoc) self.connect(self.bOk,SIGNAL("clicked()"),self.BOkPourListePressed) - self.connect(self.bSup,SIGNAL("clicked()"),self.BSupPressed) self.connect(self.BAjout1Val,SIGNAL("clicked()"),self.Ajout1Valeur) self.connect(self.BSup1Val,SIGNAL("clicked()"),self.Sup1Valeur) @@ -80,11 +78,6 @@ class MonPlusieursIntoPanel(DPlusInto,QTPanel,SaisieValeur): self.node.item.set_valeur(self.listeValeursCourantes) self.editor.affiche_infos("Valeur Acceptée") - def BSupPressed(self): - QTPanel.BSupPressed(self) - - def ViewDoc(self): - QTPanel.ViewDoc(self) def Sup1Valeur(self): indexCourant=self.LBValeurs.currentRow() diff --git a/InterfaceQT4/monPoursuitePanel.py b/InterfaceQT4/monPoursuitePanel.py index 2143f273..4623b46e 100644 --- a/InterfaceQT4/monPoursuitePanel.py +++ b/InterfaceQT4/monPoursuitePanel.py @@ -25,6 +25,8 @@ import os,traceback,sys from PyQt4 import * from PyQt4.QtGui import * from PyQt4.QtCore import * +import convert + from monMacroPanel import MonMacroPanel @@ -45,46 +47,106 @@ class MonPoursuitePanel(MonMacroPanel): def ajoutPageOk(self) : self.TabPage = QtGui.QWidget() - self.TabPage.setGeometry(QtCore.QRect(0,0,499,433)) self.TabPage.setObjectName("TabPage") - self.gridLayout_2 = QtGui.QGridLayout(self.TabPage) - self.gridLayout_2.setObjectName("gridLayout_2") self.textLabel1_3 = QtGui.QLabel(self.TabPage) + self.textLabel1_3.setGeometry(QtCore.QRect(9, 9, 481, 19)) self.textLabel1_3.setWordWrap(False) self.textLabel1_3.setObjectName("textLabel1_3") - self.gridLayout_2.addWidget(self.textLabel1_3,0,0,1,1) self.LENomFichier = QtGui.QLineEdit(self.TabPage) - self.LENomFichier.setMinimumSize(QtCore.QSize(470,40)) + self.LENomFichier.setGeometry(QtCore.QRect(9, 33, 481, 40)) + self.LENomFichier.setMinimumSize(QtCore.QSize(470, 40)) self.LENomFichier.setObjectName("LENomFichier") - self.gridLayout_2.addWidget(self.LENomFichier,1,0,1,1) - spacerItem = QtGui.QSpacerItem(21,190,QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Expanding) - self.gridLayout_2.addItem(spacerItem,2,0,1,1) - self.hboxlayout = QtGui.QHBoxLayout() - self.hboxlayout.setObjectName("hboxlayout") - spacerItem1 = QtGui.QSpacerItem(331,20,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum) - self.hboxlayout.addItem(spacerItem1) + self.BFichier = QtGui.QPushButton(self.TabPage) + self.BFichier.setGeometry(QtCore.QRect(330, 170, 140, 50)) + sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) + sizePolicy.setHorizontalStretch(0) + sizePolicy.setVerticalStretch(0) + sizePolicy.setHeightForWidth(self.BFichier.sizePolicy().hasHeightForWidth()) + self.BFichier.setSizePolicy(sizePolicy) + self.BFichier.setMinimumSize(QtCore.QSize(140, 50)) + self.BFichier.setObjectName("BFichier") self.BBrowse = QtGui.QPushButton(self.TabPage) - sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,QtGui.QSizePolicy.Fixed) + self.BBrowse.setGeometry(QtCore.QRect(330, 110, 140, 50)) + sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.BBrowse.sizePolicy().hasHeightForWidth()) self.BBrowse.setSizePolicy(sizePolicy) - self.BBrowse.setMinimumSize(QtCore.QSize(140,50)) + self.BBrowse.setMinimumSize(QtCore.QSize(140, 50)) self.BBrowse.setObjectName("BBrowse") - self.hboxlayout.addWidget(self.BBrowse) - self.gridLayout_2.addLayout(self.hboxlayout,3,0,1,1) - spacerItem2 = QtGui.QSpacerItem(21,87,QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Expanding) - self.gridLayout_2.addItem(spacerItem2,4,0,1,1) - self.TWChoix.addTab(self.TabPage,"") - self.textLabel1_3.setText(QtGui.QApplication.translate("DPour", "La commande POURSUITE requiert un nom de Fichier :", None, QtGui.QApplication.UnicodeUTF8)) + self.TWChoix.addTab(self.TabPage, "") + self.gridlayout.addWidget(self.TWChoix, 0, 0, 1, 3) + + self.BFichier.setText(QtGui.QApplication.translate("DPour", "Autre Fichier", None, QtGui.QApplication.UnicodeUTF8)) self.BBrowse.setText(QtGui.QApplication.translate("DPour", "Edit", None, QtGui.QApplication.UnicodeUTF8)) self.TWChoix.setTabText(self.TWChoix.indexOf(self.TabPage), QtGui.QApplication.translate("DPour", "Fichier Poursuite", None, QtGui.QApplication.UnicodeUTF8)) - self.LENomFichier.setText(self.node.item.object.jdc_aux.nom) + if hasattr(self.node.item.object,"fichier_ini"): + self.LENomFichier.setText(self.node.item.object.fichier_ini) + self.connect(self.BBrowse,SIGNAL("clicked()"),self.BBrowsePressed) + self.connect(self.BFichier,SIGNAL("clicked()"),self.BFichierPressed) + self.connect(self.LENomFichier,SIGNAL("returnPressed()"),self.LENomFichReturnPressed) + def BBrowsePressed(self): - self.node.makeEdit() + if hasattr(self.node.item,'object'): + self.node.makeEdit() + + def BFichierPressed(self): + fichier = QFileDialog.getOpenFileName(self.appliEficas, + self.appliEficas.trUtf8('Ouvrir Fichier'), + self.appliEficas.CONFIGURATION.savedir, + self.appliEficas.trUtf8('JDC Files (*.comm);;''All Files (*)')) + if not(fichier.isNull()): + self.LENomFichier.setText(fichier) + self.LENomFichReturnPressed() + + def LENomFichReturnPressed(self): + nomFichier=str(self.LENomFichier.text()) + if not os.path.isfile(nomFichier) : + commentaire = "Fichier introuvable" + self.Commentaire.setText(QString(commentaire)) + self.editor.affiche_infos(commentaire) + return + + text=self.convert_file(nomFichier) + + # Si probleme a la lecture-conversion on arrete le traitement + if not text: + return + + try : + self.node.item.object.change_fichier_init(nomFichier,text) + commentaire = "Fichier modifie : " + self.node.item.get_nom() + self.Commentaire.setText(QString(commentaire)) + except: + l=traceback.format_exception_only("Fichier invalide",sys.exc_info()[1]) + QMessageBox.critical( self, "Erreur fatale au chargement du fichier Include", l[0]) + commentaire = "Fichier invalide" + self.Commentaire.setText(QString(commentaire)) + self.editor.affiche_infos(commentaire) + return + + def convert_file(self,file): + """ + Methode pour convertir le fichier file dans le format courant + """ + try : + format=self.editor.format_fichier + except : + format="python" + text=None + if convert.plugins.has_key(format): + # Le convertisseur existe on l'utilise + p=convert.plugins[format]() + p.readfile(file) + text=p.convert('execnoparseur') + else : + commentaire = "Impossible de lire le fichier : Format inconnu" + self.Commentaire.setText(QString(commentaire)) + self.editor.affiche_infos(commentaire) + return text diff --git a/InterfaceQT4/monRacinePanel.py b/InterfaceQT4/monRacinePanel.py index 2e542999..46aed2c5 100644 --- a/InterfaceQT4/monRacinePanel.py +++ b/InterfaceQT4/monRacinePanel.py @@ -46,6 +46,7 @@ class DRac(Ui_DRac,QWidget): self.setupUi(self) + # Import des panels class MonRacinePanel(DRac,QTPanelTBW2): @@ -66,22 +67,14 @@ class MonRacinePanel(DRac,QTPanelTBW2): self.connect(self.LBNouvCommande,SIGNAL("doubleClicked(QListBoxItem*)"),self.LBNouvCommandeClicked) self.connect(self.LEFiltre,SIGNAL("textChanged(const QString&)"),self.LEFiltreTextChanged) self.connect(self.LEFiltre,SIGNAL("returnPressed()"),self.LEfiltreReturnPressed) - self.connect(self.bSup,SIGNAL("pressed()"),self.BSupPressed) self.connect(self.bOk,SIGNAL("clicked()"),self.BOkPressed) self.connect(self.RBalpha,SIGNAL("clicked()"),self.BuildTabCommand) self.connect(self.RBGroupe,SIGNAL("clicked()"),self.BuildTabCommand) self.connect(self.BNext,SIGNAL("clicked()"),self.BNextPressed) - self.connect(self.bHelp,SIGNAL("clicked()"),self.ViewDoc) - - def BSupPressed(self): - QTPanel.BSupPressed(self) def BOkPressed(self): self.DefCmd() - def ViewDoc(self): - QTPanel.ViewDoc(self) - def BNextPressed(self): QTPanelTBW2.BNextPressed(self) diff --git a/InterfaceQT4/monUniqueASSDPanel.py b/InterfaceQT4/monUniqueASSDPanel.py index 474f62fa..fae8cab9 100644 --- a/InterfaceQT4/monUniqueASSDPanel.py +++ b/InterfaceQT4/monUniqueASSDPanel.py @@ -66,20 +66,13 @@ class MonUniqueASSDPanel(DUnASSD,QTPanel,SaisieValeur): self.connecterSignaux() def connecterSignaux(self) : - self.connect(self.bHelp,SIGNAL("clicked()"),self.ViewDoc) self.connect(self.listBoxASSD,SIGNAL("itemDoubleClicked(QListWidgetItem*)"),self.ClicASSD) self.connect(self.bOk,SIGNAL("clicked()"),self.BOkPressed) - self.connect(self.bSup,SIGNAL("clicked()"),self.BSupPressed) def BOkPressed(self): self.ClicASSD() - def BSupPressed(self): - QTPanel.BSupPressed(self) - - def ViewDoc(self): - QTPanel.ViewDoc(self) def InitCommentaire(self): mc = self.node.item.get_definition() diff --git a/InterfaceQT4/monUniqueBasePanel.py b/InterfaceQT4/monUniqueBasePanel.py index 5a6e7d3e..b57e5141 100644 --- a/InterfaceQT4/monUniqueBasePanel.py +++ b/InterfaceQT4/monUniqueBasePanel.py @@ -67,17 +67,13 @@ class MonUniqueBasePanel(DUnBase,QTPanel,SaisieValeur): self.connecterSignaux() def connecterSignaux(self) : - self.connect(self.bHelp,SIGNAL("clicked()"),self.ViewDoc) self.connect(self.bOk,SIGNAL("clicked()"),self.BOk2Pressed) - self.connect(self.bSup,SIGNAL("clicked()"),self.BSupPressed) self.connect(self.lineEditVal,SIGNAL("returnPressed()"),self.LEValeurPressed) self.connect(self.bParametres,SIGNAL("pressed()"),self.BParametresPressed) self.connect(self.BSalome,SIGNAL("pressed()"),self.BSalomePressed) self.connect(self.BView2D,SIGNAL("clicked()"),self.BView2DPressed) self.connect(self.BFichier,SIGNAL("clicked()"),self.BFichierPressed) - def ViewDoc(self): - QTPanel.ViewDoc(self) def detruitBouton(self): mc = self.node.item.get_definition() @@ -129,9 +125,6 @@ class MonUniqueBasePanel(DUnBase,QTPanel,SaisieValeur): self.lineEditVal.setText(fichier) - def BSupPressed(self): - QTPanel.BSupPressed(self) - def LEValeurPressed(self): SaisieValeur.LEValeurPressed(self) if self.node.item.parent.nom == "MODEL" : diff --git a/InterfaceQT4/monUniqueCompPanel.py b/InterfaceQT4/monUniqueCompPanel.py index 22eb994f..481ba3da 100644 --- a/InterfaceQT4/monUniqueCompPanel.py +++ b/InterfaceQT4/monUniqueCompPanel.py @@ -64,9 +64,7 @@ class MonUniqueCompPanel(DUnComp,QTPanel,PolitiqueUnique): self.connecterSignaux() def connecterSignaux(self): - self.connect(self.bHelp,SIGNAL("clicked()"),self.ViewDoc) self.connect(self.bOk,SIGNAL("clicked()"),self.BOkPressed) - self.connect(self.bSup,SIGNAL("clicked()"),self.BSupPressed) self.connect(self.LEImag,SIGNAL("returnPressed()"),self.LEImagRPressed) self.connect(self.LEReel,SIGNAL("returnPressed()"),self.LEReelRPressed) self.connect(self.LEcomp,SIGNAL("returnPressed()"),self.LEcompRPressed) @@ -181,9 +179,3 @@ class MonUniqueCompPanel(DUnComp,QTPanel,PolitiqueUnique): self.Commentaire.setText(QString(commentaire)) - def BSupPressed(self): - QTPanel.BSupPressed(self) - - def ViewDoc(self): - QTPanel.ViewDoc(self) - diff --git a/InterfaceQT4/monUniqueIntoPanel.py b/InterfaceQT4/monUniqueIntoPanel.py index ab634816..017ae9fe 100644 --- a/InterfaceQT4/monUniqueIntoPanel.py +++ b/InterfaceQT4/monUniqueIntoPanel.py @@ -63,9 +63,7 @@ class MonUniqueIntoPanel(DUnIn,QTPanel,SaisieValeur): def connecterSignaux(self) : self.connect(self.listBoxVal, SIGNAL("itemDoubleClicked(QListWidgetItem*)" ), self.ClicValeur ) - 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 ClicValeur(self): SaisieValeur.ClicValeur(self) @@ -74,9 +72,3 @@ class MonUniqueIntoPanel(DUnIn,QTPanel,SaisieValeur): def BOkPressed(self): SaisieValeur.BOkPressed(self) - def BSupPressed(self): - QTPanel.BSupPressed(self) - - def ViewDoc(self): - QTPanel.ViewDoc(self) - diff --git a/InterfaceQT4/monUniqueSDCOIntoPanel.py b/InterfaceQT4/monUniqueSDCOIntoPanel.py index 8c5e45dc..8126f442 100644 --- a/InterfaceQT4/monUniqueSDCOIntoPanel.py +++ b/InterfaceQT4/monUniqueSDCOIntoPanel.py @@ -88,10 +88,3 @@ class MonUniqueSDCOIntoPanel(DUnSDCOInto,QTPanel,SaisieSDCO): def BOkPressed(self): self.LESDCOReturnPressed() - - def BSupPressed(self): - QTPanel.BSupPressed(self) - - def ViewDoc(self): - QTPanel.ViewDoc(self) - diff --git a/InterfaceQT4/monUniqueSDCOPanel.py b/InterfaceQT4/monUniqueSDCOPanel.py index d00b6e04..ee545c61 100644 --- a/InterfaceQT4/monUniqueSDCOPanel.py +++ b/InterfaceQT4/monUniqueSDCOPanel.py @@ -63,18 +63,13 @@ class MonUniqueSDCOPanel(DUnSDCO,QTPanel,SaisieSDCO): self.connecterSignaux() def connecterSignaux(self) : - self.connect(self.bHelp,SIGNAL("clicked()"),self.ViewDoc) self.connect(self.bOk,SIGNAL("clicked()"),self.BOkPressed) - self.connect(self.bSup,SIGNAL("clicked()"),self.BSupPressed) self.connect(self.LESDCO,SIGNAL("returnPressed()"),self.LESDCOReturnPressed) - def BOkPressed(self): SaisieSDCO.LESDCOReturnPressed(self) - def BSupPressed(self): - QTPanel.BSupPressed(self) def BOuiPressed(self): self.Commentaire.setText("Aucun Objet de ce type n'est defini") @@ -87,6 +82,4 @@ class MonUniqueSDCOPanel(DUnSDCO,QTPanel,SaisieSDCO): """ SaisieSDCO.LESDCOReturnPressed(self) - def ViewDoc(self): - QTPanel.ViewDoc(self) diff --git a/InterfaceQT4/qtCommun.py b/InterfaceQT4/qtCommun.py index ad7b6df2..3d06646a 100644 --- a/InterfaceQT4/qtCommun.py +++ b/InterfaceQT4/qtCommun.py @@ -43,44 +43,10 @@ class QTPanel: self.editor = parent self.node = node - def BSupPressed(self): - self.editor.init_modif() - self.node.delete() - - def ViewDoc(self) : - cle_doc = self.node.item.get_docu() - 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.appliEficas.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': - script ="#!/usr/bin/sh \n%s %s&" %(commande,fichier) - pid = os.system(script) - def BOkPressed(self): """ Impossible d utiliser les vrais labels avec designer ?? """ label=self.TWChoix.tabText(self.TWChoix.currentIndex()) - #print label + print label if label==QString("Nouvelle Commande"): self.DefCmd() if label==QString("Nommer Concept"): @@ -172,6 +138,7 @@ class QTPanelTBW2(QTPanel): self.BuildLBNouvCommande() self.NbRecherches = 0 if racine == 1 : self.AppelleBuildLBRegles() + self.LEFiltre.setFocus() def BuildLBNouvCommande(self): @@ -197,8 +164,6 @@ class QTPanelTBW2(QTPanel): QObject.connect( self.LBNouvCommande, SIGNAL("itemDoubleClicked(QListWidgetItem*)"),self.DefCmd ) def DefCmd(self): - if (self.editor.focusWidget())!=self.LBNouvCommande : - return if self.LBNouvCommande.currentItem()== 0 : return if self.LBNouvCommande.currentItem()== None : return name=str(self.LBNouvCommande.currentItem().text()) diff --git a/InterfaceQT4/typeNode.py b/InterfaceQT4/typeNode.py index f3e84ec1..6c61931d 100644 --- a/InterfaceQT4/typeNode.py +++ b/InterfaceQT4/typeNode.py @@ -4,21 +4,11 @@ from PyQt4.QtGui import * from PyQt4.QtCore import * #---------------------------# -class PopUpMenuNodePartiel : +class PopUpMenuNodeMinimal : #---------------------------# def createPopUpMenu(self): self.createActions() - self.menu = QMenu(self.tree) - #ss-menu Comment: - self.commentMenu=self.menu.addMenu('Commentaire') - self.commentMenu.addAction(self.CommApres) - self.commentMenu.addAction(self.CommAvant) - #ss-menu Parameters: - self.paramMenu =self.menu.addMenu('Parametre') - self.paramMenu.addAction(self.ParamApres) - self.paramMenu.addAction(self.ParamAvant) - #items du menu self.menu.addAction(self.Supprime) @@ -40,11 +30,46 @@ class PopUpMenuNodePartiel : self.Supprime = QAction('Supprimer',self.tree) self.tree.connect(self.Supprime,SIGNAL("activated()"),self.supprimeNoeud) self.Supprime.setStatusTip("supprime le mot clef ") + self.Documentation = QAction('Documentation',self.tree) + self.tree.connect(self.Documentation,SIGNAL("activated()"),self.viewDoc) + self.Documentation.setStatusTip("documentation sur la commande ") def supprimeNoeud(self): item= self.tree.currentItem() item.delete() + def viewDoc(self): + self.node=self.tree.currentItem() + cle_doc = self.node.item.get_docu() + 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,'-','') + print dir(self) + commande = self.editor.appliEficas.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': + script ="#!/usr/bin/sh \n%s %s&" %(commande,fichier) + pid = os.system(script) + def addParametersApres(self): item= self.tree.currentItem() item.addParameters(True) @@ -61,6 +86,22 @@ class PopUpMenuNodePartiel : item= self.tree.currentItem() item.addComment(False) +#--------------------------------------------# +class PopUpMenuNodePartiel (PopUpMenuNodeMinimal): +#---------------------------------------------# + def createPopUpMenu(self): + PopUpMenuNodeMinimal.createPopUpMenu(self) + #ss-menu Comment: + self.commentMenu=self.menu.addMenu('Commentaire') + self.commentMenu.addAction(self.CommApres) + self.commentMenu.addAction(self.CommAvant) + #ss-menu Parameters: + self.paramMenu =self.menu.addMenu('Parametre') + self.paramMenu.addAction(self.ParamApres) + self.paramMenu.addAction(self.ParamAvant) + self.menu.addAction(self.Documentation) + + #-----------------------------------------# class PopUpMenuNode(PopUpMenuNodePartiel) : #-----------------------------------------# diff --git a/UiQT4/OptionsEditeur.py b/UiQT4/OptionsEditeur.py index efd47e7f..f3dbd928 100644 --- a/UiQT4/OptionsEditeur.py +++ b/UiQT4/OptionsEditeur.py @@ -2,8 +2,8 @@ # Form implementation generated from reading ui file 'OptionsEditeur.ui' # -# Created: Tue Nov 18 17:37:26 2008 -# by: PyQt4 UI code generator 4.4.2 +# Created: Tue Jan 27 12:25:38 2009 +# by: PyQt4 UI code generator 4.4.3 # # WARNING! All changes made in this file will be lost! @@ -12,62 +12,62 @@ from PyQt4 import QtCore, QtGui class Ui_desOptions(object): def setupUi(self, desOptions): desOptions.setObjectName("desOptions") - desOptions.resize(570,474) + desOptions.resize(570, 474) self.groupBox1 = QtGui.QGroupBox(desOptions) - self.groupBox1.setGeometry(QtCore.QRect(11,11,548,191)) + self.groupBox1.setGeometry(QtCore.QRect(11, 11, 548, 191)) self.groupBox1.setObjectName("groupBox1") self.textLabel1_3 = QtGui.QLabel(self.groupBox1) - self.textLabel1_3.setGeometry(QtCore.QRect(30,60,280,20)) + self.textLabel1_3.setGeometry(QtCore.QRect(30, 60, 280, 20)) self.textLabel1_3.setWordWrap(False) self.textLabel1_3.setObjectName("textLabel1_3") self.textLabel1_2_2 = QtGui.QLabel(self.groupBox1) - self.textLabel1_2_2.setGeometry(QtCore.QRect(30,120,280,20)) + self.textLabel1_2_2.setGeometry(QtCore.QRect(30, 120, 280, 20)) self.textLabel1_2_2.setWordWrap(False) self.textLabel1_2_2.setObjectName("textLabel1_2_2") self.CBVersions = QtGui.QComboBox(self.groupBox1) - self.CBVersions.setGeometry(QtCore.QRect(30,20,90,30)) + self.CBVersions.setGeometry(QtCore.QRect(30, 20, 90, 30)) self.CBVersions.setObjectName("CBVersions") self.LERepMat = QtGui.QLineEdit(self.groupBox1) - self.LERepMat.setGeometry(QtCore.QRect(30,140,501,31)) + self.LERepMat.setGeometry(QtCore.QRect(30, 140, 501, 31)) self.LERepMat.setObjectName("LERepMat") self.LERepCata = QtGui.QLineEdit(self.groupBox1) - self.LERepCata.setGeometry(QtCore.QRect(30,80,501,31)) + self.LERepCata.setGeometry(QtCore.QRect(30, 80, 501, 31)) self.LERepCata.setObjectName("LERepCata") self.Bok = QtGui.QPushButton(self.groupBox1) - self.Bok.setGeometry(QtCore.QRect(440,20,90,31)) + self.Bok.setGeometry(QtCore.QRect(440, 20, 90, 31)) self.Bok.setAutoDefault(False) self.Bok.setObjectName("Bok") self.groupBox2 = QtGui.QGroupBox(desOptions) - self.groupBox2.setGeometry(QtCore.QRect(11,208,548,90)) + self.groupBox2.setGeometry(QtCore.QRect(11, 208, 548, 90)) self.groupBox2.setObjectName("groupBox2") self.LEVersionAjout = QtGui.QLineEdit(self.groupBox2) - self.LEVersionAjout.setGeometry(QtCore.QRect(120,31,101,30)) + self.LEVersionAjout.setGeometry(QtCore.QRect(120, 31, 101, 30)) self.LEVersionAjout.setObjectName("LEVersionAjout") self.LEVersionSup = QtGui.QLineEdit(self.groupBox2) - self.LEVersionSup.setGeometry(QtCore.QRect(410,30,101,30)) + self.LEVersionSup.setGeometry(QtCore.QRect(410, 30, 101, 30)) self.LEVersionSup.setObjectName("LEVersionSup") self.PBSup = QtGui.QPushButton(self.groupBox2) - self.PBSup.setGeometry(QtCore.QRect(300,20,101,41)) + self.PBSup.setGeometry(QtCore.QRect(300, 20, 101, 41)) self.PBSup.setObjectName("PBSup") self.PBajout = QtGui.QPushButton(self.groupBox2) - self.PBajout.setGeometry(QtCore.QRect(10,20,101,41)) + self.PBajout.setGeometry(QtCore.QRect(10, 20, 101, 41)) self.PBajout.setObjectName("PBajout") self.PBQuit = QtGui.QPushButton(desOptions) - self.PBQuit.setGeometry(QtCore.QRect(400,420,151,31)) - self.PBQuit.setMinimumSize(QtCore.QSize(0,30)) + self.PBQuit.setGeometry(QtCore.QRect(400, 420, 151, 31)) + self.PBQuit.setMinimumSize(QtCore.QSize(0, 30)) self.PBQuit.setObjectName("PBQuit") self.groupBox3 = QtGui.QGroupBox(desOptions) - self.groupBox3.setGeometry(QtCore.QRect(10,310,548,90)) + self.groupBox3.setGeometry(QtCore.QRect(10, 310, 548, 90)) self.groupBox3.setObjectName("groupBox3") self.LERepDoc = QtGui.QLineEdit(self.groupBox3) - self.LERepDoc.setGeometry(QtCore.QRect(20,50,520,31)) + self.LERepDoc.setGeometry(QtCore.QRect(20, 50, 520, 31)) self.LERepDoc.setObjectName("LERepDoc") self.textLabel1 = QtGui.QLabel(self.groupBox3) - self.textLabel1.setGeometry(QtCore.QRect(20,20,280,30)) + self.textLabel1.setGeometry(QtCore.QRect(20, 20, 280, 30)) self.textLabel1.setWordWrap(False) self.textLabel1.setObjectName("textLabel1") self.Bdefaut = QtGui.QCheckBox(desOptions) - self.Bdefaut.setGeometry(QtCore.QRect(10,430,340,20)) + self.Bdefaut.setGeometry(QtCore.QRect(10, 430, 340, 20)) font = QtGui.QFont() font.setPointSize(12) self.Bdefaut.setFont(font) diff --git a/UiQT4/OptionsPdf.py b/UiQT4/OptionsPdf.py index 6b8ac238..d23873c2 100644 --- a/UiQT4/OptionsPdf.py +++ b/UiQT4/OptionsPdf.py @@ -2,8 +2,8 @@ # Form implementation generated from reading ui file 'OptionsPdf.ui' # -# Created: Tue Nov 18 17:37:26 2008 -# by: PyQt4 UI code generator 4.4.2 +# Created: Tue Jan 27 12:25:38 2009 +# by: PyQt4 UI code generator 4.4.3 # # WARNING! All changes made in this file will be lost! @@ -12,24 +12,24 @@ from PyQt4 import QtCore, QtGui class Ui_desPdf(object): def setupUi(self, desPdf): desPdf.setObjectName("desPdf") - desPdf.resize(538,142) + desPdf.resize(538, 142) self.textLabel1_2 = QtGui.QLabel(desPdf) - self.textLabel1_2.setGeometry(QtCore.QRect(20,10,280,20)) + self.textLabel1_2.setGeometry(QtCore.QRect(20, 10, 280, 20)) self.textLabel1_2.setWordWrap(False) self.textLabel1_2.setObjectName("textLabel1_2") self.BCancel = QtGui.QPushButton(desPdf) - self.BCancel.setGeometry(QtCore.QRect(450,90,70,31)) + self.BCancel.setGeometry(QtCore.QRect(450, 90, 70, 31)) self.BCancel.setObjectName("BCancel") self.LERepPdf = QtGui.QLineEdit(desPdf) - self.LERepPdf.setGeometry(QtCore.QRect(20,40,501,31)) + self.LERepPdf.setGeometry(QtCore.QRect(20, 40, 501, 31)) self.LERepPdf.setObjectName("LERepPdf") self.Bok = QtGui.QPushButton(desPdf) - self.Bok.setGeometry(QtCore.QRect(350,90,70,31)) + self.Bok.setGeometry(QtCore.QRect(350, 90, 70, 31)) self.Bok.setObjectName("Bok") self.retranslateUi(desPdf) - desPdf.setTabOrder(self.LERepPdf,self.Bok) - desPdf.setTabOrder(self.Bok,self.BCancel) + desPdf.setTabOrder(self.LERepPdf, self.Bok) + desPdf.setTabOrder(self.Bok, self.BCancel) def retranslateUi(self, desPdf): desPdf.setWindowTitle(QtGui.QApplication.translate("desPdf", "desPdf", None, QtGui.QApplication.UnicodeUTF8)) diff --git a/UiQT4/aideQT.py b/UiQT4/aideQT.py index 42b7e751..916f3b9f 100644 --- a/UiQT4/aideQT.py +++ b/UiQT4/aideQT.py @@ -2,8 +2,8 @@ # Form implementation generated from reading ui file 'aideQT.ui' # -# Created: Tue Nov 18 17:37:26 2008 -# by: PyQt4 UI code generator 4.4.2 +# Created: Tue Jan 27 12:25:38 2009 +# by: PyQt4 UI code generator 4.4.3 # # WARNING! All changes made in this file will be lost! @@ -12,28 +12,28 @@ from PyQt4 import QtCore, QtGui class Ui_Aide(object): def setupUi(self, Aide): Aide.setObjectName("Aide") - Aide.resize(602,480) + Aide.resize(602, 480) self.gridLayout = QtGui.QGridLayout(Aide) self.gridLayout.setObjectName("gridLayout") self.TB1 = QtGui.QTextBrowser(Aide) self.TB1.setObjectName("TB1") - self.gridLayout.addWidget(self.TB1,0,0,1,4) + self.gridLayout.addWidget(self.TB1, 0, 0, 1, 4) self.PBIndex = QtGui.QPushButton(Aide) - self.PBIndex.setMinimumSize(QtCore.QSize(0,30)) + self.PBIndex.setMinimumSize(QtCore.QSize(0, 30)) self.PBIndex.setObjectName("PBIndex") - self.gridLayout.addWidget(self.PBIndex,1,0,1,1) + self.gridLayout.addWidget(self.PBIndex, 1, 0, 1, 1) self.PBBack = QtGui.QPushButton(Aide) self.PBBack.setEnabled(True) - self.PBBack.setMinimumSize(QtCore.QSize(0,30)) + self.PBBack.setMinimumSize(QtCore.QSize(0, 30)) self.PBBack.setObjectName("PBBack") - self.gridLayout.addWidget(self.PBBack,1,1,1,1) + self.gridLayout.addWidget(self.PBBack, 1, 1, 1, 1) self.PBForward = QtGui.QPushButton(Aide) self.PBForward.setEnabled(True) - self.PBForward.setMinimumSize(QtCore.QSize(0,30)) + self.PBForward.setMinimumSize(QtCore.QSize(0, 30)) self.PBForward.setObjectName("PBForward") - self.gridLayout.addWidget(self.PBForward,1,2,1,1) - spacerItem = QtGui.QSpacerItem(311,20,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum) - self.gridLayout.addItem(spacerItem,1,3,1,1) + self.gridLayout.addWidget(self.PBForward, 1, 2, 1, 1) + spacerItem = QtGui.QSpacerItem(311, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) + self.gridLayout.addItem(spacerItem, 1, 3, 1, 1) self.retranslateUi(Aide) QtCore.QMetaObject.connectSlotsByName(Aide) diff --git a/UiQT4/desChoixCata.py b/UiQT4/desChoixCata.py index 7da381db..56eed314 100644 --- a/UiQT4/desChoixCata.py +++ b/UiQT4/desChoixCata.py @@ -2,8 +2,8 @@ # Form implementation generated from reading ui file 'desChoixCata.ui' # -# Created: Tue Nov 18 17:37:24 2008 -# by: PyQt4 UI code generator 4.4.2 +# Created: Tue Jan 27 12:25:36 2009 +# by: PyQt4 UI code generator 4.4.3 # # WARNING! All changes made in this file will be lost! @@ -12,26 +12,26 @@ from PyQt4 import QtCore, QtGui class Ui_DChoixCata(object): def setupUi(self, DChoixCata): DChoixCata.setObjectName("DChoixCata") - DChoixCata.resize(547,192) + DChoixCata.resize(547, 192) DChoixCata.setSizeGripEnabled(True) self.gridLayout = QtGui.QGridLayout(DChoixCata) self.gridLayout.setObjectName("gridLayout") self.TLNb = QtGui.QLabel(DChoixCata) - self.TLNb.setMinimumSize(QtCore.QSize(30,0)) + self.TLNb.setMinimumSize(QtCore.QSize(30, 0)) self.TLNb.setWordWrap(False) self.TLNb.setObjectName("TLNb") - self.gridLayout.addWidget(self.TLNb,0,0,1,1) + self.gridLayout.addWidget(self.TLNb, 0, 0, 1, 1) self.CBChoixCata = QtGui.QComboBox(DChoixCata) self.CBChoixCata.setEnabled(True) - self.CBChoixCata.setMinimumSize(QtCore.QSize(125,41)) - self.CBChoixCata.setMaximumSize(QtCore.QSize(150,16777215)) + self.CBChoixCata.setMinimumSize(QtCore.QSize(125, 41)) + self.CBChoixCata.setMaximumSize(QtCore.QSize(150, 16777215)) self.CBChoixCata.setObjectName("CBChoixCata") - self.gridLayout.addWidget(self.CBChoixCata,0,1,2,1) + self.gridLayout.addWidget(self.CBChoixCata, 0, 1, 2, 1) self.textLabel1_2 = QtGui.QLabel(DChoixCata) - self.textLabel1_2.setMinimumSize(QtCore.QSize(60,60)) + self.textLabel1_2.setMinimumSize(QtCore.QSize(60, 60)) self.textLabel1_2.setWordWrap(False) self.textLabel1_2.setObjectName("textLabel1_2") - self.gridLayout.addWidget(self.textLabel1_2,1,0,1,1) + self.gridLayout.addWidget(self.textLabel1_2, 1, 0, 1, 1) self.frame3 = QtGui.QFrame(DChoixCata) self.frame3.setFrameShape(QtGui.QFrame.StyledPanel) self.frame3.setFrameShadow(QtGui.QFrame.Raised) @@ -43,13 +43,13 @@ class Ui_DChoixCata(object): self.buttonOk.setDefault(True) self.buttonOk.setObjectName("buttonOk") self.horizontalLayout.addWidget(self.buttonOk) - spacerItem = QtGui.QSpacerItem(334,20,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum) + spacerItem = QtGui.QSpacerItem(334, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.horizontalLayout.addItem(spacerItem) self.buttonCancel = QtGui.QPushButton(self.frame3) self.buttonCancel.setAutoDefault(True) self.buttonCancel.setObjectName("buttonCancel") self.horizontalLayout.addWidget(self.buttonCancel) - self.gridLayout.addWidget(self.frame3,2,0,1,2) + self.gridLayout.addWidget(self.frame3, 2, 0, 1, 2) self.retranslateUi(DChoixCata) QtCore.QMetaObject.connectSlotsByName(DChoixCata) diff --git a/UiQT4/desCommande.py b/UiQT4/desCommande.py index 749cd037..a3917379 100644 --- a/UiQT4/desCommande.py +++ b/UiQT4/desCommande.py @@ -2,8 +2,8 @@ # Form implementation generated from reading ui file 'desCommande.ui' # -# Created: Tue Nov 18 17:37:24 2008 -# by: PyQt4 UI code generator 4.4.2 +# Created: Thu Mar 12 11:13:57 2009 +# by: PyQt4 UI code generator 4.4.3 # # WARNING! All changes made in this file will be lost! @@ -12,107 +12,69 @@ from PyQt4 import QtCore, QtGui class Ui_DComm(object): def setupUi(self, DComm): DComm.setObjectName("DComm") - DComm.resize(505,483) - DComm.setMinimumSize(QtCore.QSize(505,0)) - self.gridlayout = QtGui.QGridLayout(DComm) - self.gridlayout.setObjectName("gridlayout") - self.Commentaire = QtGui.QLabel(DComm) - self.Commentaire.setFrameShape(QtGui.QFrame.NoFrame) - self.Commentaire.setFrameShadow(QtGui.QFrame.Plain) - self.Commentaire.setWordWrap(False) - self.Commentaire.setObjectName("Commentaire") - self.gridlayout.addWidget(self.Commentaire,1,0,1,3) - self.bOk = QtGui.QPushButton(DComm) - self.bOk.setMinimumSize(QtCore.QSize(0,30)) - self.bOk.setAutoDefault(True) - self.bOk.setDefault(True) - self.bOk.setObjectName("bOk") - self.gridlayout.addWidget(self.bOk,2,1,1,1) - self.bSup = QtGui.QPushButton(DComm) - self.bSup.setMinimumSize(QtCore.QSize(0,30)) - self.bSup.setAutoDefault(True) - self.bSup.setObjectName("bSup") - self.gridlayout.addWidget(self.bSup,2,0,1,1) - self.bHelp = QtGui.QPushButton(DComm) - self.bHelp.setMinimumSize(QtCore.QSize(0,30)) - self.bHelp.setAutoDefault(True) - self.bHelp.setObjectName("bHelp") - self.gridlayout.addWidget(self.bHelp,2,2,1,1) + DComm.resize(505, 573) + DComm.setMinimumSize(QtCore.QSize(505, 0)) + self.gridLayout_5 = QtGui.QGridLayout(DComm) + self.gridLayout_5.setObjectName("gridLayout_5") self.TWChoix = QtGui.QTabWidget(DComm) self.TWChoix.setObjectName("TWChoix") self.MotClef = QtGui.QWidget() - self.MotClef.setGeometry(QtCore.QRect(0,0,483,372)) self.MotClef.setObjectName("MotClef") self.gridLayout_3 = QtGui.QGridLayout(self.MotClef) self.gridLayout_3.setObjectName("gridLayout_3") self.textLabel1 = QtGui.QLabel(self.MotClef) - self.textLabel1.setMinimumSize(QtCore.QSize(0,0)) + self.textLabel1.setMinimumSize(QtCore.QSize(0, 0)) self.textLabel1.setWordWrap(False) self.textLabel1.setObjectName("textLabel1") - self.gridLayout_3.addWidget(self.textLabel1,0,0,1,1) + self.gridLayout_3.addWidget(self.textLabel1, 0, 0, 1, 1) self.textLabel1_2 = QtGui.QLabel(self.MotClef) self.textLabel1_2.setWordWrap(False) self.textLabel1_2.setObjectName("textLabel1_2") - self.gridLayout_3.addWidget(self.textLabel1_2,0,1,1,1) + self.gridLayout_3.addWidget(self.textLabel1_2, 0, 1, 1, 1) self.LBMCPermis = QtGui.QListWidget(self.MotClef) self.LBMCPermis.setObjectName("LBMCPermis") - self.gridLayout_3.addWidget(self.LBMCPermis,1,0,1,1) + self.gridLayout_3.addWidget(self.LBMCPermis, 1, 0, 1, 1) self.LBRegles = QtGui.QListWidget(self.MotClef) self.LBRegles.setObjectName("LBRegles") - self.gridLayout_3.addWidget(self.LBRegles,1,1,1,1) - self.TWChoix.addTab(self.MotClef,"") + self.gridLayout_3.addWidget(self.LBRegles, 1, 1, 1, 1) + self.TWChoix.addTab(self.MotClef, "") self.Concept = QtGui.QWidget() - self.Concept.setGeometry(QtCore.QRect(0,0,483,372)) self.Concept.setObjectName("Concept") - self.gridlayout1 = QtGui.QGridLayout(self.Concept) - self.gridlayout1.setObjectName("gridlayout1") + self.gridlayout = QtGui.QGridLayout(self.Concept) + self.gridlayout.setObjectName("gridlayout") self.groupBox1 = QtGui.QGroupBox(self.Concept) self.groupBox1.setObjectName("groupBox1") self.textLabel1_3 = QtGui.QLabel(self.groupBox1) - self.textLabel1_3.setGeometry(QtCore.QRect(80,50,130,31)) + self.textLabel1_3.setGeometry(QtCore.QRect(80, 50, 130, 31)) self.textLabel1_3.setWordWrap(False) self.textLabel1_3.setObjectName("textLabel1_3") self.textLabel1_3_2 = QtGui.QLabel(self.groupBox1) - self.textLabel1_3_2.setGeometry(QtCore.QRect(80,170,150,31)) + self.textLabel1_3_2.setGeometry(QtCore.QRect(80, 170, 150, 31)) self.textLabel1_3_2.setWordWrap(False) self.textLabel1_3_2.setObjectName("textLabel1_3_2") self.LENomConcept = QtGui.QLineEdit(self.groupBox1) - self.LENomConcept.setGeometry(QtCore.QRect(80,110,310,30)) + self.LENomConcept.setGeometry(QtCore.QRect(80, 110, 310, 30)) self.LENomConcept.setObjectName("LENomConcept") self.textLabel3 = QtGui.QLabel(self.groupBox1) - self.textLabel3.setGeometry(QtCore.QRect(10,200,290,31)) + self.textLabel3.setGeometry(QtCore.QRect(10, 200, 290, 31)) self.textLabel3.setWordWrap(False) self.textLabel3.setObjectName("textLabel3") self.typeConcept = QtGui.QLabel(self.groupBox1) - self.typeConcept.setGeometry(QtCore.QRect(310,200,130,31)) + self.typeConcept.setGeometry(QtCore.QRect(310, 200, 130, 31)) self.typeConcept.setWordWrap(False) self.typeConcept.setObjectName("typeConcept") - self.gridlayout1.addWidget(self.groupBox1,0,0,1,1) - self.TWChoix.addTab(self.Concept,"") + self.gridlayout.addWidget(self.groupBox1, 0, 0, 1, 1) + self.TWChoix.addTab(self.Concept, "") self.Commande = QtGui.QWidget() - self.Commande.setGeometry(QtCore.QRect(0,0,483,372)) self.Commande.setObjectName("Commande") - self.gridLayout_2 = QtGui.QGridLayout(self.Commande) + self.gridLayout_4 = QtGui.QGridLayout(self.Commande) + self.gridLayout_4.setObjectName("gridLayout_4") + self.gridLayout_2 = QtGui.QGridLayout() self.gridLayout_2.setObjectName("gridLayout_2") self.textLabel1_4 = QtGui.QLabel(self.Commande) self.textLabel1_4.setWordWrap(False) self.textLabel1_4.setObjectName("textLabel1_4") - self.gridLayout_2.addWidget(self.textLabel1_4,0,0,1,1) - self.horizontalLayout = QtGui.QHBoxLayout() - self.horizontalLayout.setObjectName("horizontalLayout") - self.textLabel6 = QtGui.QLabel(self.Commande) - self.textLabel6.setMinimumSize(QtCore.QSize(50,30)) - self.textLabel6.setWordWrap(False) - self.textLabel6.setObjectName("textLabel6") - self.horizontalLayout.addWidget(self.textLabel6) - self.LEFiltre = QtGui.QLineEdit(self.Commande) - self.LEFiltre.setMinimumSize(QtCore.QSize(160,30)) - self.LEFiltre.setObjectName("LEFiltre") - self.horizontalLayout.addWidget(self.LEFiltre) - self.BNext = QtGui.QPushButton(self.Commande) - self.BNext.setObjectName("BNext") - self.horizontalLayout.addWidget(self.BNext) - self.gridLayout_2.addLayout(self.horizontalLayout,1,0,1,1) + self.gridLayout_2.addWidget(self.textLabel1_4, 0, 0, 2, 3) self.groupBox = QtGui.QGroupBox(self.Commande) self.groupBox.setObjectName("groupBox") self.gridLayout = QtGui.QGridLayout(self.groupBox) @@ -120,42 +82,62 @@ class Ui_DComm(object): self.RBalpha = QtGui.QRadioButton(self.groupBox) self.RBalpha.setChecked(True) self.RBalpha.setObjectName("RBalpha") - self.gridLayout.addWidget(self.RBalpha,0,0,1,1) + self.gridLayout.addWidget(self.RBalpha, 0, 0, 1, 1) self.RBGroupe = QtGui.QRadioButton(self.groupBox) self.RBGroupe.setObjectName("RBGroupe") - self.gridLayout.addWidget(self.RBGroupe,1,0,1,1) - self.gridLayout_2.addWidget(self.groupBox,0,1,2,1) + self.gridLayout.addWidget(self.RBGroupe, 1, 0, 1, 1) + self.gridLayout_2.addWidget(self.groupBox, 0, 3, 6, 1) + self.BNext = QtGui.QPushButton(self.Commande) + self.BNext.setObjectName("BNext") + self.gridLayout_2.addWidget(self.BNext, 1, 2, 5, 1) + self.textLabel6 = QtGui.QLabel(self.Commande) + self.textLabel6.setMinimumSize(QtCore.QSize(50, 30)) + self.textLabel6.setWordWrap(False) + self.textLabel6.setObjectName("textLabel6") + self.gridLayout_2.addWidget(self.textLabel6, 3, 0, 1, 1) + self.LEFiltre = QtGui.QLineEdit(self.Commande) + self.LEFiltre.setMinimumSize(QtCore.QSize(160, 30)) + self.LEFiltre.setObjectName("LEFiltre") + self.gridLayout_2.addWidget(self.LEFiltre, 3, 1, 1, 1) + self.gridLayout_4.addLayout(self.gridLayout_2, 0, 0, 1, 1) self.LBNouvCommande = QtGui.QListWidget(self.Commande) self.LBNouvCommande.setObjectName("LBNouvCommande") - self.gridLayout_2.addWidget(self.LBNouvCommande,2,0,1,2) + self.gridLayout_4.addWidget(self.LBNouvCommande, 1, 0, 1, 1) self.textLabel4 = QtGui.QLabel(self.Commande) self.textLabel4.setWordWrap(False) self.textLabel4.setObjectName("textLabel4") - self.gridLayout_2.addWidget(self.textLabel4,3,0,1,2) - self.TWChoix.addTab(self.Commande,"") - self.gridlayout.addWidget(self.TWChoix,0,0,1,3) + self.gridLayout_4.addWidget(self.textLabel4, 2, 0, 1, 1) + self.TWChoix.addTab(self.Commande, "") + self.gridLayout_5.addWidget(self.TWChoix, 0, 0, 1, 1) + self.Commentaire = QtGui.QLabel(DComm) + self.Commentaire.setFrameShape(QtGui.QFrame.NoFrame) + self.Commentaire.setFrameShadow(QtGui.QFrame.Plain) + self.Commentaire.setWordWrap(False) + self.Commentaire.setObjectName("Commentaire") + self.gridLayout_5.addWidget(self.Commentaire, 1, 0, 1, 1) + self.horizontalLayout = QtGui.QHBoxLayout() + self.horizontalLayout.setObjectName("horizontalLayout") + spacerItem = QtGui.QSpacerItem(128, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) + self.horizontalLayout.addItem(spacerItem) + self.bOk = QtGui.QPushButton(DComm) + self.bOk.setMinimumSize(QtCore.QSize(0, 30)) + self.bOk.setAutoDefault(True) + self.bOk.setDefault(True) + self.bOk.setObjectName("bOk") + self.horizontalLayout.addWidget(self.bOk) + spacerItem1 = QtGui.QSpacerItem(128, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) + self.horizontalLayout.addItem(spacerItem1) + self.gridLayout_5.addLayout(self.horizontalLayout, 2, 0, 1, 1) self.retranslateUi(DComm) - self.TWChoix.setCurrentIndex(0) + self.TWChoix.setCurrentIndex(2) QtCore.QMetaObject.connectSlotsByName(DComm) - DComm.setTabOrder(self.LEFiltre,self.LENomConcept) - DComm.setTabOrder(self.LENomConcept,self.TWChoix) - DComm.setTabOrder(self.TWChoix,self.LBNouvCommande) - DComm.setTabOrder(self.LBNouvCommande,self.bOk) - DComm.setTabOrder(self.bOk,self.bSup) - DComm.setTabOrder(self.bSup,self.bHelp) + DComm.setTabOrder(self.LENomConcept, self.TWChoix) + DComm.setTabOrder(self.TWChoix, self.LBNouvCommande) + DComm.setTabOrder(self.LBNouvCommande, self.bOk) def retranslateUi(self, DComm): DComm.setWindowTitle(QtGui.QApplication.translate("DComm", "DComm", None, QtGui.QApplication.UnicodeUTF8)) - self.bOk.setToolTip(QtGui.QApplication.translate("DComm", "validation de la saisie", None, QtGui.QApplication.UnicodeUTF8)) - self.bOk.setText(QtGui.QApplication.translate("DComm", "&Valider", None, QtGui.QApplication.UnicodeUTF8)) - self.bOk.setShortcut(QtGui.QApplication.translate("DComm", "Shift+A, Alt+A, Alt+A, Alt+A", None, QtGui.QApplication.UnicodeUTF8)) - self.bSup.setToolTip(QtGui.QApplication.translate("DComm", "suppression du mot clef", None, QtGui.QApplication.UnicodeUTF8)) - self.bSup.setText(QtGui.QApplication.translate("DComm", "&Supprimer", None, QtGui.QApplication.UnicodeUTF8)) - self.bSup.setShortcut(QtGui.QApplication.translate("DComm", "Alt+S", None, QtGui.QApplication.UnicodeUTF8)) - self.bHelp.setToolTip(QtGui.QApplication.translate("DComm", "affichage documentation aster", None, QtGui.QApplication.UnicodeUTF8)) - self.bHelp.setText(QtGui.QApplication.translate("DComm", "&Documentation", None, QtGui.QApplication.UnicodeUTF8)) - self.bHelp.setShortcut(QtGui.QApplication.translate("DComm", "Alt+D", None, QtGui.QApplication.UnicodeUTF8)) self.textLabel1.setText(QtGui.QApplication.translate("DComm", "

Mots Clefs Permis

", None, QtGui.QApplication.UnicodeUTF8)) self.textLabel1_2.setText(QtGui.QApplication.translate("DComm", "

Règles

", None, QtGui.QApplication.UnicodeUTF8)) self.TWChoix.setTabText(self.TWChoix.indexOf(self.MotClef), QtGui.QApplication.translate("DComm", "Ajouter Mot-Clef", None, QtGui.QApplication.UnicodeUTF8)) @@ -166,13 +148,16 @@ class Ui_DComm(object): self.typeConcept.setText(QtGui.QApplication.translate("DComm", "TypeDuConcept", None, QtGui.QApplication.UnicodeUTF8)) self.TWChoix.setTabText(self.TWChoix.indexOf(self.Concept), QtGui.QApplication.translate("DComm", "Nommer Concept", None, QtGui.QApplication.UnicodeUTF8)) self.textLabel1_4.setText(QtGui.QApplication.translate("DComm", "Commandes :", None, QtGui.QApplication.UnicodeUTF8)) - self.textLabel6.setText(QtGui.QApplication.translate("DComm", "Filtre", None, QtGui.QApplication.UnicodeUTF8)) - self.BNext.setText(QtGui.QApplication.translate("DComm", "Suivant", None, QtGui.QApplication.UnicodeUTF8)) self.groupBox.setTitle(QtGui.QApplication.translate("DComm", "Affichage", None, QtGui.QApplication.UnicodeUTF8)) self.RBalpha.setText(QtGui.QApplication.translate("DComm", "alphabétique", None, QtGui.QApplication.UnicodeUTF8)) self.RBGroupe.setText(QtGui.QApplication.translate("DComm", "par groupe", None, QtGui.QApplication.UnicodeUTF8)) + self.BNext.setText(QtGui.QApplication.translate("DComm", "Suivant", None, QtGui.QApplication.UnicodeUTF8)) + self.textLabel6.setText(QtGui.QApplication.translate("DComm", "Filtre", None, QtGui.QApplication.UnicodeUTF8)) self.textLabel4.setText(QtGui.QApplication.translate("DComm", "La commande choisie sera ajoutée APRES la commande courante", None, QtGui.QApplication.UnicodeUTF8)) self.TWChoix.setTabText(self.TWChoix.indexOf(self.Commande), QtGui.QApplication.translate("DComm", "Nouvelle Commande", None, QtGui.QApplication.UnicodeUTF8)) + self.bOk.setToolTip(QtGui.QApplication.translate("DComm", "validation de la saisie", None, QtGui.QApplication.UnicodeUTF8)) + self.bOk.setText(QtGui.QApplication.translate("DComm", "&Valider", None, QtGui.QApplication.UnicodeUTF8)) + self.bOk.setShortcut(QtGui.QApplication.translate("DComm", "Shift+A, Alt+A, Alt+A, Alt+A", None, QtGui.QApplication.UnicodeUTF8)) if __name__ == "__main__": diff --git a/UiQT4/desCommande.ui b/UiQT4/desCommande.ui index 9cdc1812..cece3ff2 100644 --- a/UiQT4/desCommande.ui +++ b/UiQT4/desCommande.ui @@ -6,7 +6,7 @@ 0 0 505 - 483 + 573 @@ -18,106 +18,13 @@ DComm - - - - - QFrame::NoFrame - - - QFrame::Plain - - - - - - false - - - - - - - - 0 - 30 - - - - validation de la saisie - - - &Valider - - - Shift+A, Alt+A, Alt+A, Alt+A - - - true - - - true - - - - - - - - 0 - 30 - - - - suppression du mot clef - - - &Supprimer - - - Alt+S - - - true - - - - - - - - 0 - 30 - - - - affichage documentation aster - - - &Documentation - - - Alt+D - - - true - - - - + + - 0 + 2 - - - 0 - 0 - 483 - 372 - - Ajouter Mot-Clef @@ -157,14 +64,6 @@ - - - 0 - 0 - 483 - 372 - - Nommer Concept @@ -253,31 +152,56 @@ - - - 0 - 0 - 483 - 372 - - Nouvelle Commande - + - - - <b><u>Commandes :</u></b> - - - false - - - - - - + + + + + <b><u>Commandes :</u></b> + + + false + + + + + + + Affichage + + + + + + alphabétique + + + true + + + + + + + par groupe + + + + + + + + + + Suivant + + + + @@ -293,7 +217,7 @@ - + @@ -303,45 +227,12 @@ - - - - Suivant - - - - - - - Affichage - - - - - - alphabétique - - - true - - - - - - - par groupe - - - - - - - + - + La commande choisie sera ajoutée APRES la commande courante @@ -355,18 +246,86 @@ + + + + QFrame::NoFrame + + + QFrame::Plain + + + + + + false + + + + + + + + + Qt::Horizontal + + + + 128 + 20 + + + + + + + + + 0 + 30 + + + + validation de la saisie + + + &Valider + + + Shift+A, Alt+A, Alt+A, Alt+A + + + true + + + true + + + + + + + Qt::Horizontal + + + + 128 + 20 + + + + + + qPixmapFromMimeSource - LEFiltre LENomConcept TWChoix LBNouvCommande bOk - bSup - bHelp diff --git a/UiQT4/desCommentaire.py b/UiQT4/desCommentaire.py index c89681d2..0d0f7d53 100644 --- a/UiQT4/desCommentaire.py +++ b/UiQT4/desCommentaire.py @@ -2,8 +2,8 @@ # Form implementation generated from reading ui file 'desCommentaire.ui' # -# Created: Tue Nov 18 17:37:24 2008 -# by: PyQt4 UI code generator 4.4.2 +# Created: Thu Mar 12 10:55:27 2009 +# by: PyQt4 UI code generator 4.4.3 # # WARNING! All changes made in this file will be lost! @@ -12,52 +12,34 @@ from PyQt4 import QtCore, QtGui class Ui_DComment(object): def setupUi(self, DComment): DComment.setObjectName("DComment") - DComment.resize(505,482) - DComment.setMinimumSize(QtCore.QSize(505,0)) + DComment.resize(505, 482) + DComment.setMinimumSize(QtCore.QSize(505, 0)) self.gridlayout = QtGui.QGridLayout(DComment) self.gridlayout.setObjectName("gridlayout") self.bOk = QtGui.QPushButton(DComment) - self.bOk.setMinimumSize(QtCore.QSize(0,30)) + self.bOk.setMinimumSize(QtCore.QSize(0, 30)) self.bOk.setAutoDefault(True) self.bOk.setDefault(True) self.bOk.setObjectName("bOk") - self.gridlayout.addWidget(self.bOk,2,1,1,1) - self.bSup = QtGui.QPushButton(DComment) - self.bSup.setMinimumSize(QtCore.QSize(0,30)) - self.bSup.setAutoDefault(True) - self.bSup.setObjectName("bSup") - self.gridlayout.addWidget(self.bSup,2,0,1,1) - self.bHelp = QtGui.QPushButton(DComment) - self.bHelp.setMinimumSize(QtCore.QSize(0,30)) - self.bHelp.setAutoDefault(True) - self.bHelp.setObjectName("bHelp") - self.gridlayout.addWidget(self.bHelp,2,2,1,1) - self.Commentaire = QtGui.QLabel(DComment) - self.Commentaire.setFrameShape(QtGui.QFrame.NoFrame) - self.Commentaire.setFrameShadow(QtGui.QFrame.Plain) - self.Commentaire.setWordWrap(False) - self.Commentaire.setObjectName("Commentaire") - self.gridlayout.addWidget(self.Commentaire,1,0,1,3) + self.gridlayout.addWidget(self.bOk, 1, 1, 1, 1) self.TWChoix = QtGui.QTabWidget(DComment) self.TWChoix.setObjectName("TWChoix") self.Valeur_Parametre = QtGui.QWidget() - self.Valeur_Parametre.setGeometry(QtCore.QRect(0,0,483,371)) self.Valeur_Parametre.setObjectName("Valeur_Parametre") self.gridLayout = QtGui.QGridLayout(self.Valeur_Parametre) self.gridLayout.setObjectName("gridLayout") self.textCommentaire = QtGui.QTextEdit(self.Valeur_Parametre) self.textCommentaire.setObjectName("textCommentaire") - self.gridLayout.addWidget(self.textCommentaire,0,0,1,1) - self.TWChoix.addTab(self.Valeur_Parametre,"") + self.gridLayout.addWidget(self.textCommentaire, 0, 0, 1, 1) + self.TWChoix.addTab(self.Valeur_Parametre, "") self.Commande = QtGui.QWidget() - self.Commande.setGeometry(QtCore.QRect(0,0,483,371)) self.Commande.setObjectName("Commande") self.gridLayout_4 = QtGui.QGridLayout(self.Commande) self.gridLayout_4.setObjectName("gridLayout_4") self.textLabel1_4 = QtGui.QLabel(self.Commande) self.textLabel1_4.setWordWrap(False) self.textLabel1_4.setObjectName("textLabel1_4") - self.gridLayout_4.addWidget(self.textLabel1_4,0,0,1,3) + self.gridLayout_4.addWidget(self.textLabel1_4, 0, 0, 1, 3) self.groupBox = QtGui.QGroupBox(self.Commande) self.groupBox.setObjectName("groupBox") self.gridLayout_3 = QtGui.QGridLayout(self.groupBox) @@ -65,51 +47,43 @@ class Ui_DComment(object): self.RBalpha = QtGui.QRadioButton(self.groupBox) self.RBalpha.setChecked(True) self.RBalpha.setObjectName("RBalpha") - self.gridLayout_3.addWidget(self.RBalpha,0,0,1,1) + self.gridLayout_3.addWidget(self.RBalpha, 0, 0, 1, 1) self.RBGroupe = QtGui.QRadioButton(self.groupBox) self.RBGroupe.setObjectName("RBGroupe") - self.gridLayout_3.addWidget(self.RBGroupe,1,0,1,1) - self.gridLayout_4.addWidget(self.groupBox,0,3,2,1) + self.gridLayout_3.addWidget(self.RBGroupe, 1, 0, 1, 1) + self.gridLayout_4.addWidget(self.groupBox, 0, 3, 2, 1) self.textLabel6_2 = QtGui.QLabel(self.Commande) - self.textLabel6_2.setMinimumSize(QtCore.QSize(50,30)) + self.textLabel6_2.setMinimumSize(QtCore.QSize(50, 30)) self.textLabel6_2.setWordWrap(False) self.textLabel6_2.setObjectName("textLabel6_2") - self.gridLayout_4.addWidget(self.textLabel6_2,1,0,1,1) + self.gridLayout_4.addWidget(self.textLabel6_2, 1, 0, 1, 1) self.LEFiltre = QtGui.QLineEdit(self.Commande) - self.LEFiltre.setMinimumSize(QtCore.QSize(160,30)) + self.LEFiltre.setMinimumSize(QtCore.QSize(160, 30)) self.LEFiltre.setObjectName("LEFiltre") - self.gridLayout_4.addWidget(self.LEFiltre,1,1,1,1) + self.gridLayout_4.addWidget(self.LEFiltre, 1, 1, 1, 1) self.BNext = QtGui.QPushButton(self.Commande) self.BNext.setObjectName("BNext") - self.gridLayout_4.addWidget(self.BNext,1,2,1,1) + self.gridLayout_4.addWidget(self.BNext, 1, 2, 1, 1) self.LBNouvCommande = QtGui.QListWidget(self.Commande) self.LBNouvCommande.setObjectName("LBNouvCommande") - self.gridLayout_4.addWidget(self.LBNouvCommande,2,0,1,4) + self.gridLayout_4.addWidget(self.LBNouvCommande, 2, 0, 1, 4) self.textLabel4 = QtGui.QLabel(self.Commande) self.textLabel4.setWordWrap(False) self.textLabel4.setObjectName("textLabel4") - self.gridLayout_4.addWidget(self.textLabel4,3,0,1,4) - self.TWChoix.addTab(self.Commande,"") - self.gridlayout.addWidget(self.TWChoix,0,0,1,3) + self.gridLayout_4.addWidget(self.textLabel4, 3, 0, 1, 4) + self.TWChoix.addTab(self.Commande, "") + self.gridlayout.addWidget(self.TWChoix, 0, 0, 1, 3) self.retranslateUi(DComment) - self.TWChoix.setCurrentIndex(0) + self.TWChoix.setCurrentIndex(1) QtCore.QMetaObject.connectSlotsByName(DComment) - DComment.setTabOrder(self.TWChoix,self.bOk) - DComment.setTabOrder(self.bOk,self.bSup) - DComment.setTabOrder(self.bSup,self.bHelp) + DComment.setTabOrder(self.TWChoix, self.bOk) def retranslateUi(self, DComment): DComment.setWindowTitle(QtGui.QApplication.translate("DComment", "DComm", None, QtGui.QApplication.UnicodeUTF8)) self.bOk.setToolTip(QtGui.QApplication.translate("DComment", "validation de la saisie", None, QtGui.QApplication.UnicodeUTF8)) self.bOk.setText(QtGui.QApplication.translate("DComment", "&Valider", None, QtGui.QApplication.UnicodeUTF8)) self.bOk.setShortcut(QtGui.QApplication.translate("DComment", "Shift+A, Alt+A, Alt+A, Alt+A", None, QtGui.QApplication.UnicodeUTF8)) - self.bSup.setToolTip(QtGui.QApplication.translate("DComment", "suppression du mot clef", None, QtGui.QApplication.UnicodeUTF8)) - self.bSup.setText(QtGui.QApplication.translate("DComment", "&Supprimer", None, QtGui.QApplication.UnicodeUTF8)) - self.bSup.setShortcut(QtGui.QApplication.translate("DComment", "Alt+S", None, QtGui.QApplication.UnicodeUTF8)) - self.bHelp.setToolTip(QtGui.QApplication.translate("DComment", "affichage documentation aster", None, QtGui.QApplication.UnicodeUTF8)) - self.bHelp.setText(QtGui.QApplication.translate("DComment", "&Documentation", None, QtGui.QApplication.UnicodeUTF8)) - self.bHelp.setShortcut(QtGui.QApplication.translate("DComment", "Alt+D", None, QtGui.QApplication.UnicodeUTF8)) self.TWChoix.setTabText(self.TWChoix.indexOf(self.Valeur_Parametre), QtGui.QApplication.translate("DComment", "Commentaire", None, QtGui.QApplication.UnicodeUTF8)) self.textLabel1_4.setText(QtGui.QApplication.translate("DComment", "Commandes :", None, QtGui.QApplication.UnicodeUTF8)) self.groupBox.setTitle(QtGui.QApplication.translate("DComment", "Affichage", None, QtGui.QApplication.UnicodeUTF8)) diff --git a/UiQT4/desCommentaire.ui b/UiQT4/desCommentaire.ui index 1202e7b5..90535222 100644 --- a/UiQT4/desCommentaire.ui +++ b/UiQT4/desCommentaire.ui @@ -19,7 +19,7 @@ DComm - + @@ -44,80 +44,12 @@ - - - - - 0 - 30 - - - - suppression du mot clef - - - &Supprimer - - - Alt+S - - - true - - - - - - - - 0 - 30 - - - - affichage documentation aster - - - &Documentation - - - Alt+D - - - true - - - - - - - QFrame::NoFrame - - - QFrame::Plain - - - - - - false - - - - 0 + 1 - - - 0 - 0 - 483 - 371 - - Commentaire @@ -128,14 +60,6 @@ - - - 0 - 0 - 483 - 371 - - Nouvelle Commande @@ -233,8 +157,6 @@ TWChoix bOk - bSup - bHelp diff --git a/UiQT4/desError.py b/UiQT4/desError.py index 39e994fa..2fddae4b 100644 --- a/UiQT4/desError.py +++ b/UiQT4/desError.py @@ -2,8 +2,8 @@ # Form implementation generated from reading ui file 'desError.ui' # -# Created: Tue Nov 18 17:37:24 2008 -# by: PyQt4 UI code generator 4.4.2 +# Created: Tue Jan 27 12:25:36 2009 +# by: PyQt4 UI code generator 4.4.3 # # WARNING! All changes made in this file will be lost! @@ -12,24 +12,24 @@ from PyQt4 import QtCore, QtGui class Ui_DError(object): def setupUi(self, DError): DError.setObjectName("DError") - DError.resize(482,480) - DError.setMinimumSize(QtCore.QSize(350,0)) + DError.resize(482, 480) + DError.setMinimumSize(QtCore.QSize(350, 0)) self.gridLayout = QtGui.QGridLayout(DError) self.gridLayout.setObjectName("gridLayout") self.textBrowser = QtGui.QTextBrowser(DError) self.textBrowser.setObjectName("textBrowser") - self.gridLayout.addWidget(self.textBrowser,0,0,1,1) + self.gridLayout.addWidget(self.textBrowser, 0, 0, 1, 1) self.hboxlayout = QtGui.QHBoxLayout() self.hboxlayout.setObjectName("hboxlayout") - spacerItem = QtGui.QSpacerItem(171,20,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum) + spacerItem = QtGui.QSpacerItem(171, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.hboxlayout.addItem(spacerItem) self.bSup = QtGui.QPushButton(DError) self.bSup.setAutoDefault(True) self.bSup.setObjectName("bSup") self.hboxlayout.addWidget(self.bSup) - spacerItem1 = QtGui.QSpacerItem(171,20,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum) + spacerItem1 = QtGui.QSpacerItem(171, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.hboxlayout.addItem(spacerItem1) - self.gridLayout.addLayout(self.hboxlayout,1,0,1,1) + self.gridLayout.addLayout(self.hboxlayout, 1, 0, 1, 1) self.retranslateUi(DError) QtCore.QMetaObject.connectSlotsByName(DError) diff --git a/UiQT4/desFormule.py b/UiQT4/desFormule.py index 95d721ae..4f70d84e 100644 --- a/UiQT4/desFormule.py +++ b/UiQT4/desFormule.py @@ -2,8 +2,8 @@ # Form implementation generated from reading ui file 'desFormule.ui' # -# Created: Tue Nov 18 17:37:24 2008 -# by: PyQt4 UI code generator 4.4.2 +# Created: Thu Mar 12 10:42:30 2009 +# by: PyQt4 UI code generator 4.4.3 # # WARNING! All changes made in this file will be lost! @@ -12,106 +12,84 @@ from PyQt4 import QtCore, QtGui class Ui_DFormule(object): def setupUi(self, DFormule): DFormule.setObjectName("DFormule") - DFormule.resize(529,493) - DFormule.setMinimumSize(QtCore.QSize(505,0)) - self.gridlayout = QtGui.QGridLayout(DFormule) - self.gridlayout.setObjectName("gridlayout") - self.hboxlayout = QtGui.QHBoxLayout() - self.hboxlayout.setObjectName("hboxlayout") - self.bSup = QtGui.QPushButton(DFormule) - self.bSup.setMinimumSize(QtCore.QSize(0,30)) - self.bSup.setAutoDefault(True) - self.bSup.setObjectName("bSup") - self.hboxlayout.addWidget(self.bSup) - self.bOk = QtGui.QPushButton(DFormule) - self.bOk.setMinimumSize(QtCore.QSize(0,30)) - self.bOk.setAutoDefault(True) - self.bOk.setDefault(True) - self.bOk.setObjectName("bOk") - self.hboxlayout.addWidget(self.bOk) - self.bHelp = QtGui.QPushButton(DFormule) - self.bHelp.setMinimumSize(QtCore.QSize(0,30)) - self.bHelp.setAutoDefault(True) - self.bHelp.setObjectName("bHelp") - self.hboxlayout.addWidget(self.bHelp) - self.gridlayout.addLayout(self.hboxlayout,2,0,1,1) + DFormule.resize(529, 493) + DFormule.setMinimumSize(QtCore.QSize(505, 0)) self.Commentaire = QtGui.QLabel(DFormule) + self.Commentaire.setGeometry(QtCore.QRect(9, 431, 511, 16)) self.Commentaire.setWordWrap(False) self.Commentaire.setObjectName("Commentaire") - self.gridlayout.addWidget(self.Commentaire,1,0,1,1) self.TWChoix = QtGui.QTabWidget(DFormule) + self.TWChoix.setGeometry(QtCore.QRect(9, 9, 511, 431)) self.TWChoix.setObjectName("TWChoix") self.Formule = QtGui.QWidget() - self.Formule.setGeometry(QtCore.QRect(0,0,507,384)) self.Formule.setObjectName("Formule") - self.gridlayout1 = QtGui.QGridLayout(self.Formule) - self.gridlayout1.setObjectName("gridlayout1") + self.gridlayout = QtGui.QGridLayout(self.Formule) + self.gridlayout.setObjectName("gridlayout") self.textLabel1 = QtGui.QLabel(self.Formule) - self.textLabel1.setMinimumSize(QtCore.QSize(0,0)) + self.textLabel1.setMinimumSize(QtCore.QSize(0, 0)) self.textLabel1.setWordWrap(False) self.textLabel1.setObjectName("textLabel1") - self.gridlayout1.addWidget(self.textLabel1,0,0,1,1) + self.gridlayout.addWidget(self.textLabel1, 0, 0, 1, 1) self.textLabel1_3 = QtGui.QLabel(self.Formule) self.textLabel1_3.setWordWrap(False) self.textLabel1_3.setObjectName("textLabel1_3") - self.gridlayout1.addWidget(self.textLabel1_3,6,0,1,2) - self.hboxlayout1 = QtGui.QHBoxLayout() - self.hboxlayout1.setObjectName("hboxlayout1") + self.gridlayout.addWidget(self.textLabel1_3, 6, 0, 1, 2) + self.hboxlayout = QtGui.QHBoxLayout() + self.hboxlayout.setObjectName("hboxlayout") self.LENomFormule = QtGui.QLineEdit(self.Formule) - self.LENomFormule.setMinimumSize(QtCore.QSize(0,40)) + self.LENomFormule.setMinimumSize(QtCore.QSize(0, 40)) self.LENomFormule.setObjectName("LENomFormule") - self.hboxlayout1.addWidget(self.LENomFormule) - self.hboxlayout2 = QtGui.QHBoxLayout() - self.hboxlayout2.setObjectName("hboxlayout2") + self.hboxlayout.addWidget(self.LENomFormule) + self.hboxlayout1 = QtGui.QHBoxLayout() + self.hboxlayout1.setObjectName("hboxlayout1") self.textLabel1_6 = QtGui.QLabel(self.Formule) self.textLabel1_6.setWordWrap(False) self.textLabel1_6.setObjectName("textLabel1_6") - self.hboxlayout2.addWidget(self.textLabel1_6) + self.hboxlayout1.addWidget(self.textLabel1_6) self.LENomsArgs = QtGui.QLineEdit(self.Formule) - self.LENomsArgs.setMinimumSize(QtCore.QSize(230,40)) + self.LENomsArgs.setMinimumSize(QtCore.QSize(230, 40)) self.LENomsArgs.setObjectName("LENomsArgs") - self.hboxlayout2.addWidget(self.LENomsArgs) + self.hboxlayout1.addWidget(self.LENomsArgs) self.textLabel1_6_2 = QtGui.QLabel(self.Formule) self.textLabel1_6_2.setWordWrap(False) self.textLabel1_6_2.setObjectName("textLabel1_6_2") - self.hboxlayout2.addWidget(self.textLabel1_6_2) - self.hboxlayout1.addLayout(self.hboxlayout2) - self.gridlayout1.addLayout(self.hboxlayout1,2,0,1,2) + self.hboxlayout1.addWidget(self.textLabel1_6_2) + self.hboxlayout.addLayout(self.hboxlayout1) + self.gridlayout.addLayout(self.hboxlayout, 2, 0, 1, 2) self.textLabel2 = QtGui.QLabel(self.Formule) self.textLabel2.setWordWrap(False) self.textLabel2.setObjectName("textLabel2") - self.gridlayout1.addWidget(self.textLabel2,1,1,1,1) + self.gridlayout.addWidget(self.textLabel2, 1, 1, 1, 1) self.textLabel1_3_2 = QtGui.QLabel(self.Formule) self.textLabel1_3_2.setWordWrap(False) self.textLabel1_3_2.setObjectName("textLabel1_3_2") - self.gridlayout1.addWidget(self.textLabel1_3_2,7,0,1,2) + self.gridlayout.addWidget(self.textLabel1_3_2, 7, 0, 1, 2) self.textLabel2_2 = QtGui.QLabel(self.Formule) self.textLabel2_2.setWordWrap(False) self.textLabel2_2.setObjectName("textLabel2_2") - self.gridlayout1.addWidget(self.textLabel2_2,3,0,1,2) + self.gridlayout.addWidget(self.textLabel2_2, 3, 0, 1, 2) self.textLabel1_5 = QtGui.QLabel(self.Formule) - self.textLabel1_5.setMinimumSize(QtCore.QSize(0,0)) + self.textLabel1_5.setMinimumSize(QtCore.QSize(0, 0)) self.textLabel1_5.setWordWrap(False) self.textLabel1_5.setObjectName("textLabel1_5") - self.gridlayout1.addWidget(self.textLabel1_5,4,0,1,2) + self.gridlayout.addWidget(self.textLabel1_5, 4, 0, 1, 2) self.LECorpsFormule = QtGui.QLineEdit(self.Formule) - self.LECorpsFormule.setMinimumSize(QtCore.QSize(0,30)) + self.LECorpsFormule.setMinimumSize(QtCore.QSize(0, 30)) self.LECorpsFormule.setObjectName("LECorpsFormule") - self.gridlayout1.addWidget(self.LECorpsFormule,5,0,1,2) + self.gridlayout.addWidget(self.LECorpsFormule, 5, 0, 1, 2) self.textLabel1_2 = QtGui.QLabel(self.Formule) self.textLabel1_2.setWordWrap(False) self.textLabel1_2.setObjectName("textLabel1_2") - self.gridlayout1.addWidget(self.textLabel1_2,0,1,1,1) - self.TWChoix.addTab(self.Formule,"") + self.gridlayout.addWidget(self.textLabel1_2, 0, 1, 1, 1) + self.TWChoix.addTab(self.Formule, "") self.Commande = QtGui.QWidget() - self.Commande.setGeometry(QtCore.QRect(0,0,507,384)) self.Commande.setObjectName("Commande") self.gridLayout_2 = QtGui.QGridLayout(self.Commande) self.gridLayout_2.setObjectName("gridLayout_2") self.textLabel1_4 = QtGui.QLabel(self.Commande) self.textLabel1_4.setWordWrap(False) self.textLabel1_4.setObjectName("textLabel1_4") - self.gridLayout_2.addWidget(self.textLabel1_4,0,0,1,1) + self.gridLayout_2.addWidget(self.textLabel1_4, 0, 0, 1, 1) self.groupBox = QtGui.QGroupBox(self.Commande) self.groupBox.setObjectName("groupBox") self.gridLayout = QtGui.QGridLayout(self.groupBox) @@ -119,61 +97,55 @@ class Ui_DFormule(object): self.RBalpha = QtGui.QRadioButton(self.groupBox) self.RBalpha.setChecked(True) self.RBalpha.setObjectName("RBalpha") - self.gridLayout.addWidget(self.RBalpha,0,0,1,1) + self.gridLayout.addWidget(self.RBalpha, 0, 0, 1, 1) self.RBGroupe = QtGui.QRadioButton(self.groupBox) self.RBGroupe.setObjectName("RBGroupe") - self.gridLayout.addWidget(self.RBGroupe,1,0,1,1) - self.gridLayout_2.addWidget(self.groupBox,0,1,2,1) + self.gridLayout.addWidget(self.RBGroupe, 1, 0, 1, 1) + self.gridLayout_2.addWidget(self.groupBox, 0, 1, 2, 1) self.horizontalLayout = QtGui.QHBoxLayout() self.horizontalLayout.setObjectName("horizontalLayout") self.textLabel6 = QtGui.QLabel(self.Commande) - self.textLabel6.setMinimumSize(QtCore.QSize(50,30)) + self.textLabel6.setMinimumSize(QtCore.QSize(50, 30)) self.textLabel6.setWordWrap(False) self.textLabel6.setObjectName("textLabel6") self.horizontalLayout.addWidget(self.textLabel6) self.LEFiltre = QtGui.QLineEdit(self.Commande) - self.LEFiltre.setMinimumSize(QtCore.QSize(160,30)) + self.LEFiltre.setMinimumSize(QtCore.QSize(160, 30)) self.LEFiltre.setObjectName("LEFiltre") self.horizontalLayout.addWidget(self.LEFiltre) self.BNext = QtGui.QPushButton(self.Commande) self.BNext.setObjectName("BNext") self.horizontalLayout.addWidget(self.BNext) - self.gridLayout_2.addLayout(self.horizontalLayout,1,0,1,1) + self.gridLayout_2.addLayout(self.horizontalLayout, 1, 0, 1, 1) self.LBNouvCommande = QtGui.QListWidget(self.Commande) self.LBNouvCommande.setObjectName("LBNouvCommande") - self.gridLayout_2.addWidget(self.LBNouvCommande,2,0,1,2) + self.gridLayout_2.addWidget(self.LBNouvCommande, 2, 0, 1, 2) self.textLabel4 = QtGui.QLabel(self.Commande) self.textLabel4.setWordWrap(False) self.textLabel4.setObjectName("textLabel4") - self.gridLayout_2.addWidget(self.textLabel4,3,0,1,2) - self.TWChoix.addTab(self.Commande,"") - self.gridlayout.addWidget(self.TWChoix,0,0,1,1) + self.gridLayout_2.addWidget(self.textLabel4, 3, 0, 1, 2) + self.TWChoix.addTab(self.Commande, "") + self.bOk = QtGui.QPushButton(DFormule) + self.bOk.setGeometry(QtCore.QRect(183, 453, 163, 30)) + self.bOk.setMinimumSize(QtCore.QSize(0, 30)) + self.bOk.setAutoDefault(True) + self.bOk.setDefault(True) + self.bOk.setObjectName("bOk") self.retranslateUi(DFormule) - self.TWChoix.setCurrentIndex(0) + self.TWChoix.setCurrentIndex(1) QtCore.QMetaObject.connectSlotsByName(DFormule) - DFormule.setTabOrder(self.LEFiltre,self.LENomFormule) - DFormule.setTabOrder(self.LENomFormule,self.LENomsArgs) - DFormule.setTabOrder(self.LENomsArgs,self.LECorpsFormule) - DFormule.setTabOrder(self.LECorpsFormule,self.bSup) - DFormule.setTabOrder(self.bSup,self.bOk) - DFormule.setTabOrder(self.bOk,self.bHelp) - DFormule.setTabOrder(self.bHelp,self.TWChoix) - DFormule.setTabOrder(self.TWChoix,self.RBalpha) - DFormule.setTabOrder(self.RBalpha,self.RBGroupe) - DFormule.setTabOrder(self.RBGroupe,self.LBNouvCommande) + DFormule.setTabOrder(self.LEFiltre, self.LENomFormule) + DFormule.setTabOrder(self.LENomFormule, self.LENomsArgs) + DFormule.setTabOrder(self.LENomsArgs, self.LECorpsFormule) + DFormule.setTabOrder(self.LECorpsFormule, self.bOk) + DFormule.setTabOrder(self.bOk, self.TWChoix) + DFormule.setTabOrder(self.TWChoix, self.RBalpha) + DFormule.setTabOrder(self.RBalpha, self.RBGroupe) + DFormule.setTabOrder(self.RBGroupe, self.LBNouvCommande) def retranslateUi(self, DFormule): DFormule.setWindowTitle(QtGui.QApplication.translate("DFormule", "DMacro", None, QtGui.QApplication.UnicodeUTF8)) - self.bSup.setToolTip(QtGui.QApplication.translate("DFormule", "suppression du mot clef", None, QtGui.QApplication.UnicodeUTF8)) - self.bSup.setText(QtGui.QApplication.translate("DFormule", "&Supprimer", None, QtGui.QApplication.UnicodeUTF8)) - self.bSup.setShortcut(QtGui.QApplication.translate("DFormule", "Alt+S", None, QtGui.QApplication.UnicodeUTF8)) - self.bOk.setToolTip(QtGui.QApplication.translate("DFormule", "validation de la saisie", None, QtGui.QApplication.UnicodeUTF8)) - self.bOk.setText(QtGui.QApplication.translate("DFormule", "&Valider", None, QtGui.QApplication.UnicodeUTF8)) - self.bOk.setShortcut(QtGui.QApplication.translate("DFormule", "Shift+A, Alt+A, Alt+A, Alt+A", None, QtGui.QApplication.UnicodeUTF8)) - self.bHelp.setToolTip(QtGui.QApplication.translate("DFormule", "affichage documentation aster", None, QtGui.QApplication.UnicodeUTF8)) - self.bHelp.setText(QtGui.QApplication.translate("DFormule", "&Documentation", None, QtGui.QApplication.UnicodeUTF8)) - self.bHelp.setShortcut(QtGui.QApplication.translate("DFormule", "Alt+D", None, QtGui.QApplication.UnicodeUTF8)) self.textLabel1.setText(QtGui.QApplication.translate("DFormule", "

Nom de la formule

", None, QtGui.QApplication.UnicodeUTF8)) self.textLabel1_3.setText(QtGui.QApplication.translate("DFormule", "Retour-Chariot permet de vérifier que l\'expression est valide.", None, QtGui.QApplication.UnicodeUTF8)) self.textLabel1_6.setText(QtGui.QApplication.translate("DFormule", "

(

", None, QtGui.QApplication.UnicodeUTF8)) @@ -194,6 +166,9 @@ class Ui_DFormule(object): self.BNext.setText(QtGui.QApplication.translate("DFormule", "Suivant", None, QtGui.QApplication.UnicodeUTF8)) self.textLabel4.setText(QtGui.QApplication.translate("DFormule", "La commande choisie sera ajoutée APRES la commande courante", None, QtGui.QApplication.UnicodeUTF8)) self.TWChoix.setTabText(self.TWChoix.indexOf(self.Commande), QtGui.QApplication.translate("DFormule", "Nouvelle Commande", None, QtGui.QApplication.UnicodeUTF8)) + self.bOk.setToolTip(QtGui.QApplication.translate("DFormule", "validation de la saisie", None, QtGui.QApplication.UnicodeUTF8)) + self.bOk.setText(QtGui.QApplication.translate("DFormule", "&Valider", None, QtGui.QApplication.UnicodeUTF8)) + self.bOk.setShortcut(QtGui.QApplication.translate("DFormule", "Shift+A, Alt+A, Alt+A, Alt+A", None, QtGui.QApplication.UnicodeUTF8)) if __name__ == "__main__": diff --git a/UiQT4/desFormule.ui b/UiQT4/desFormule.ui index e0d4f44a..47744ee6 100644 --- a/UiQT4/desFormule.ui +++ b/UiQT4/desFormule.ui @@ -18,356 +18,308 @@ DMacro - - - - - + + + + 9 + 431 + 511 + 16 + + + + + + + false + + + + + + 9 + 9 + 511 + 431 + + + + 1 + + + + Définition Formule + + + + 0 - 30 + 0 - - suppression du mot clef - - &Supprimer - - - Alt+S + <h3><p align="center"><u><b>Nom de la formule</b></u></p></h3> - - true + + false - - - - - 0 - 30 - - - - validation de la saisie - - - &Valider - - - Shift+A, Alt+A, Alt+A, Alt+A - - - true - - - true - - - - - - - - 0 - 30 - - - - affichage documentation aster - + + - &Documentation - - - Alt+D + Retour-Chariot permet de vérifier que l'expression est valide. - - true + + false - - - - - - - - - false - - - - - - - 0 - - - - - 0 - 0 - 507 - 384 - - - - Définition Formule - - - - + + + + 0 - 0 + 40 - - <h3><p align="center"><u><b>Nom de la formule</b></u></p></h3> - - - false - - - - - Retour-Chariot permet de vérifier que l'expression est valide. - - - false - - - - + - + + + <h1><b>(</b></h1> + + + false + + + + + - 0 + 230 40 - - - - - <h1><b>(</b></h1> - - - false - - - - - - - - 230 - 40 - - - - - - - - <h1><b>)</b></h1> - - - false - - - - + + + <h1><b>)</b></h1> + + + false + + - - - - variables séparées par des "," + + + + + + variables séparées par des "," par ex. : x,y,z - - - false - - - - - - - Ce n'est qu'après avoir appuyé sur le bouton Valider que les nouvelles + + + false + + + + + + + Ce n'est qu'après avoir appuyé sur le bouton Valider que les nouvelles valeurs seront effectivement prises en compte - - - false - - - - - - - <font size="+4" face="Helvetica"><b>=</b></font> - - - false - - - - - + + + false + + + + + + + <font size="+4" face="Helvetica"><b>=</b></font> + + + false + + + + + + + + 0 + 0 + + + + <h3><p align="center"><u><b>Expression</b></u></p></h3> + + + false + + + + + + + + 0 + 30 + + + + + + + + <h3><p align="center"><u><b>Arguments</b></u></p></h3> + + + false + + + + + + + + Nouvelle Commande + + + + + + <b><u>Commandes :</u></b> + + + false + + + + + + + Affichage + + + + + + alphabétique + + + true + + + + + + + par groupe + + + + + + + + + + - 0 - 0 + 50 + 30 - <h3><p align="center"><u><b>Expression</b></u></p></h3> + Filtre false - - + + - 0 + 160 30 - - - - <h3><p align="center"><u><b>Arguments</b></u></p></h3> - - - false - - - - - - - - - 0 - 0 - 507 - 384 - - - - Nouvelle Commande - - - - - - <b><u>Commandes :</u></b> - - - false - - - - - - - Affichage - - - - - - alphabétique - - - true - - - - - - - par groupe - - - - - - - - - - - - - 50 - 30 - - - - Filtre - - - false - - - - - - - - 160 - 30 - - - - - - - - Suivant - - - - - - - - - - + + - La commande choisie sera ajoutée APRES la commande courante - - - false + Suivant - - - - + + + + + + + + La commande choisie sera ajoutée APRES la commande courante + + + false + + + + +
+ + + + + 183 + 453 + 163 + 30 + + + + + 0 + 30 + + + + validation de la saisie + + + &Valider + + + Shift+A, Alt+A, Alt+A, Alt+A + + + true + + + true + + qPixmapFromMimeSource @@ -376,9 +328,7 @@ valeurs seront effectivement prises en compte LENomFormule LENomsArgs LECorpsFormule - bSup bOk - bHelp TWChoix RBalpha RBGroupe diff --git a/UiQT4/desInactif.py b/UiQT4/desInactif.py index 33790c95..a76d9ff7 100644 --- a/UiQT4/desInactif.py +++ b/UiQT4/desInactif.py @@ -2,8 +2,8 @@ # Form implementation generated from reading ui file 'desInactif.ui' # -# Created: Tue Nov 18 17:37:24 2008 -# by: PyQt4 UI code generator 4.4.2 +# Created: Thu Mar 12 12:15:36 2009 +# by: PyQt4 UI code generator 4.4.3 # # WARNING! All changes made in this file will be lost! @@ -12,26 +12,33 @@ from PyQt4 import QtCore, QtGui class Ui_DInactif(object): def setupUi(self, DInactif): DInactif.setObjectName("DInactif") - DInactif.resize(452,480) - DInactif.setMinimumSize(QtCore.QSize(350,0)) + DInactif.resize(452, 480) + DInactif.setMinimumSize(QtCore.QSize(350, 0)) self.gridLayout = QtGui.QGridLayout(DInactif) self.gridLayout.setObjectName("gridLayout") self.textLabel1_3 = QtGui.QLabel(DInactif) + self.textLabel1_3.setMinimumSize(QtCore.QSize(0, 0)) self.textLabel1_3.setWordWrap(False) self.textLabel1_3.setObjectName("textLabel1_3") - self.gridLayout.addWidget(self.textLabel1_3,0,0,1,3) + self.gridLayout.addWidget(self.textLabel1_3, 0, 0, 1, 3) self.textLabel1 = QtGui.QLabel(DInactif) self.textLabel1.setWordWrap(False) self.textLabel1.setObjectName("textLabel1") - self.gridLayout.addWidget(self.textLabel1,1,0,1,3) - spacerItem = QtGui.QSpacerItem(167,146,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum) - self.gridLayout.addItem(spacerItem,2,0,1,1) + self.gridLayout.addWidget(self.textLabel1, 1, 0, 1, 3) + spacerItem = QtGui.QSpacerItem(167, 146, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) + self.gridLayout.addItem(spacerItem, 2, 0, 1, 1) self.bSup = QtGui.QPushButton(DInactif) + sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) + sizePolicy.setHorizontalStretch(0) + sizePolicy.setVerticalStretch(0) + sizePolicy.setHeightForWidth(self.bSup.sizePolicy().hasHeightForWidth()) + self.bSup.setSizePolicy(sizePolicy) + self.bSup.setMinimumSize(QtCore.QSize(170, 40)) self.bSup.setAutoDefault(True) self.bSup.setObjectName("bSup") - self.gridLayout.addWidget(self.bSup,2,1,1,1) - spacerItem1 = QtGui.QSpacerItem(166,146,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum) - self.gridLayout.addItem(spacerItem1,2,2,1,1) + self.gridLayout.addWidget(self.bSup, 2, 1, 1, 1) + spacerItem1 = QtGui.QSpacerItem(166, 146, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) + self.gridLayout.addItem(spacerItem1, 2, 2, 1, 1) self.retranslateUi(DInactif) QtCore.QMetaObject.connectSlotsByName(DInactif) diff --git a/UiQT4/desInactif.ui b/UiQT4/desInactif.ui index cc49e51e..356f080b 100644 --- a/UiQT4/desInactif.ui +++ b/UiQT4/desInactif.ui @@ -21,6 +21,12 @@ + + + 0 + 0 + + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <html><head><meta name="qrichtext" content="1" /><style type="text/css"> @@ -67,6 +73,18 @@ p, li { white-space: pre-wrap; } + + + 0 + 0 + + + + + 170 + 40 + + suppression du mot clef diff --git a/UiQT4/desInclude.py b/UiQT4/desInclude.py index c78611d6..d177ab1b 100644 --- a/UiQT4/desInclude.py +++ b/UiQT4/desInclude.py @@ -2,8 +2,8 @@ # Form implementation generated from reading ui file 'desInclude.ui' # -# Created: Tue Nov 18 17:37:24 2008 -# by: PyQt4 UI code generator 4.4.2 +# Created: Thu Mar 12 10:42:30 2009 +# by: PyQt4 UI code generator 4.4.3 # # WARNING! All changes made in this file will be lost! @@ -12,63 +12,51 @@ from PyQt4 import QtCore, QtGui class Ui_DInc1(object): def setupUi(self, DInc1): DInc1.setObjectName("DInc1") - DInc1.resize(521,511) - DInc1.setMinimumSize(QtCore.QSize(505,0)) + DInc1.resize(521, 511) + DInc1.setMinimumSize(QtCore.QSize(505, 0)) self.gridlayout = QtGui.QGridLayout(DInc1) self.gridlayout.setObjectName("gridlayout") self.bOk = QtGui.QPushButton(DInc1) - self.bOk.setMinimumSize(QtCore.QSize(0,30)) + self.bOk.setMinimumSize(QtCore.QSize(0, 30)) self.bOk.setAutoDefault(True) self.bOk.setDefault(True) self.bOk.setObjectName("bOk") - self.gridlayout.addWidget(self.bOk,2,1,1,1) - self.bHelp = QtGui.QPushButton(DInc1) - self.bHelp.setMinimumSize(QtCore.QSize(0,30)) - self.bHelp.setAutoDefault(True) - self.bHelp.setObjectName("bHelp") - self.gridlayout.addWidget(self.bHelp,2,2,1,1) - self.bSup = QtGui.QPushButton(DInc1) - self.bSup.setMinimumSize(QtCore.QSize(0,30)) - self.bSup.setAutoDefault(True) - self.bSup.setObjectName("bSup") - self.gridlayout.addWidget(self.bSup,2,0,1,1) + self.gridlayout.addWidget(self.bOk, 2, 1, 1, 1) self.Commentaire = QtGui.QLabel(DInc1) self.Commentaire.setWordWrap(False) self.Commentaire.setObjectName("Commentaire") - self.gridlayout.addWidget(self.Commentaire,1,0,1,3) + self.gridlayout.addWidget(self.Commentaire, 1, 0, 1, 3) self.TWChoix = QtGui.QTabWidget(DInc1) self.TWChoix.setObjectName("TWChoix") self.MotClef = QtGui.QWidget() - self.MotClef.setGeometry(QtCore.QRect(0,0,499,400)) self.MotClef.setObjectName("MotClef") self.gridlayout1 = QtGui.QGridLayout(self.MotClef) self.gridlayout1.setObjectName("gridlayout1") self.LBMCPermis = QtGui.QListWidget(self.MotClef) - self.LBMCPermis.setMinimumSize(QtCore.QSize(0,0)) + self.LBMCPermis.setMinimumSize(QtCore.QSize(0, 0)) self.LBMCPermis.setObjectName("LBMCPermis") - self.gridlayout1.addWidget(self.LBMCPermis,1,0,1,1) + self.gridlayout1.addWidget(self.LBMCPermis, 1, 0, 1, 1) self.textLabel1 = QtGui.QLabel(self.MotClef) - self.textLabel1.setMinimumSize(QtCore.QSize(0,0)) + self.textLabel1.setMinimumSize(QtCore.QSize(0, 0)) self.textLabel1.setWordWrap(False) self.textLabel1.setObjectName("textLabel1") - self.gridlayout1.addWidget(self.textLabel1,0,0,1,1) + self.gridlayout1.addWidget(self.textLabel1, 0, 0, 1, 1) self.LBRegles = QtGui.QListWidget(self.MotClef) self.LBRegles.setObjectName("LBRegles") - self.gridlayout1.addWidget(self.LBRegles,1,1,1,1) + self.gridlayout1.addWidget(self.LBRegles, 1, 1, 1, 1) self.textLabel1_2 = QtGui.QLabel(self.MotClef) self.textLabel1_2.setWordWrap(False) self.textLabel1_2.setObjectName("textLabel1_2") - self.gridlayout1.addWidget(self.textLabel1_2,0,1,1,1) - self.TWChoix.addTab(self.MotClef,"") + self.gridlayout1.addWidget(self.textLabel1_2, 0, 1, 1, 1) + self.TWChoix.addTab(self.MotClef, "") self.Commande = QtGui.QWidget() - self.Commande.setGeometry(QtCore.QRect(0,0,499,400)) self.Commande.setObjectName("Commande") self.gridLayout_2 = QtGui.QGridLayout(self.Commande) self.gridLayout_2.setObjectName("gridLayout_2") self.textLabel1_4 = QtGui.QLabel(self.Commande) self.textLabel1_4.setWordWrap(False) self.textLabel1_4.setObjectName("textLabel1_4") - self.gridLayout_2.addWidget(self.textLabel1_4,0,0,1,3) + self.gridLayout_2.addWidget(self.textLabel1_4, 0, 0, 1, 3) self.groupBox = QtGui.QGroupBox(self.Commande) self.groupBox.setObjectName("groupBox") self.gridLayout = QtGui.QGridLayout(self.groupBox) @@ -76,102 +64,92 @@ class Ui_DInc1(object): self.RBalpha = QtGui.QRadioButton(self.groupBox) self.RBalpha.setChecked(True) self.RBalpha.setObjectName("RBalpha") - self.gridLayout.addWidget(self.RBalpha,0,0,1,1) + self.gridLayout.addWidget(self.RBalpha, 0, 0, 1, 1) self.RBGroupe = QtGui.QRadioButton(self.groupBox) self.RBGroupe.setObjectName("RBGroupe") - self.gridLayout.addWidget(self.RBGroupe,1,0,1,1) - self.gridLayout_2.addWidget(self.groupBox,0,3,2,1) + self.gridLayout.addWidget(self.RBGroupe, 1, 0, 1, 1) + self.gridLayout_2.addWidget(self.groupBox, 0, 3, 2, 1) self.textLabel6 = QtGui.QLabel(self.Commande) - self.textLabel6.setMinimumSize(QtCore.QSize(50,30)) + self.textLabel6.setMinimumSize(QtCore.QSize(50, 30)) self.textLabel6.setWordWrap(False) self.textLabel6.setObjectName("textLabel6") - self.gridLayout_2.addWidget(self.textLabel6,1,0,1,1) + self.gridLayout_2.addWidget(self.textLabel6, 1, 0, 1, 1) self.LEFiltre = QtGui.QLineEdit(self.Commande) - self.LEFiltre.setMinimumSize(QtCore.QSize(160,30)) + self.LEFiltre.setMinimumSize(QtCore.QSize(160, 30)) self.LEFiltre.setObjectName("LEFiltre") - self.gridLayout_2.addWidget(self.LEFiltre,1,1,1,1) + self.gridLayout_2.addWidget(self.LEFiltre, 1, 1, 1, 1) self.BNext = QtGui.QPushButton(self.Commande) self.BNext.setObjectName("BNext") - self.gridLayout_2.addWidget(self.BNext,1,2,1,1) + self.gridLayout_2.addWidget(self.BNext, 1, 2, 1, 1) self.LBNouvCommande = QtGui.QListWidget(self.Commande) self.LBNouvCommande.setObjectName("LBNouvCommande") - self.gridLayout_2.addWidget(self.LBNouvCommande,2,0,1,4) + self.gridLayout_2.addWidget(self.LBNouvCommande, 2, 0, 1, 4) self.textLabel4 = QtGui.QLabel(self.Commande) self.textLabel4.setWordWrap(False) self.textLabel4.setObjectName("textLabel4") - self.gridLayout_2.addWidget(self.textLabel4,3,0,1,4) - self.TWChoix.addTab(self.Commande,"") + self.gridLayout_2.addWidget(self.textLabel4, 3, 0, 1, 4) + self.TWChoix.addTab(self.Commande, "") self.maPageOk = QtGui.QWidget() - self.maPageOk.setGeometry(QtCore.QRect(0,0,499,400)) self.maPageOk.setObjectName("maPageOk") self.textLabel1_3 = QtGui.QLabel(self.maPageOk) - self.textLabel1_3.setGeometry(QtCore.QRect(30,40,440,41)) + self.textLabel1_3.setGeometry(QtCore.QRect(30, 40, 440, 41)) self.textLabel1_3.setWordWrap(False) self.textLabel1_3.setObjectName("textLabel1_3") self.LENomFichier = QtGui.QLineEdit(self.maPageOk) - self.LENomFichier.setGeometry(QtCore.QRect(18,117,450,40)) - sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,QtGui.QSizePolicy.Fixed) + self.LENomFichier.setGeometry(QtCore.QRect(18, 117, 450, 40)) + sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.LENomFichier.sizePolicy().hasHeightForWidth()) self.LENomFichier.setSizePolicy(sizePolicy) - self.LENomFichier.setMinimumSize(QtCore.QSize(450,40)) + self.LENomFichier.setMinimumSize(QtCore.QSize(450, 40)) self.LENomFichier.setObjectName("LENomFichier") self.BBrowse = QtGui.QPushButton(self.maPageOk) - self.BBrowse.setGeometry(QtCore.QRect(280,240,161,41)) - sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,QtGui.QSizePolicy.Fixed) + self.BBrowse.setGeometry(QtCore.QRect(280, 240, 161, 41)) + sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.BBrowse.sizePolicy().hasHeightForWidth()) self.BBrowse.setSizePolicy(sizePolicy) self.BBrowse.setObjectName("BBrowse") self.BChangeFile = QtGui.QPushButton(self.maPageOk) - self.BChangeFile.setGeometry(QtCore.QRect(280,290,161,41)) - sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,QtGui.QSizePolicy.Fixed) + self.BChangeFile.setGeometry(QtCore.QRect(280, 290, 161, 41)) + sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.BChangeFile.sizePolicy().hasHeightForWidth()) self.BChangeFile.setSizePolicy(sizePolicy) self.BChangeFile.setObjectName("BChangeFile") - self.TWChoix.addTab(self.maPageOk,"") + self.TWChoix.addTab(self.maPageOk, "") self.maPageBad = QtGui.QWidget() - self.maPageBad.setGeometry(QtCore.QRect(0,0,499,400)) self.maPageBad.setObjectName("maPageBad") self.gridlayout2 = QtGui.QGridLayout(self.maPageBad) self.gridlayout2.setObjectName("gridlayout2") self.textLabel1_5 = QtGui.QLabel(self.maPageBad) self.textLabel1_5.setWordWrap(False) self.textLabel1_5.setObjectName("textLabel1_5") - self.gridlayout2.addWidget(self.textLabel1_5,0,0,1,1) - self.TWChoix.addTab(self.maPageBad,"") - self.gridlayout.addWidget(self.TWChoix,0,0,1,3) + self.gridlayout2.addWidget(self.textLabel1_5, 0, 0, 1, 1) + self.TWChoix.addTab(self.maPageBad, "") + self.gridlayout.addWidget(self.TWChoix, 0, 0, 1, 3) self.retranslateUi(DInc1) - self.TWChoix.setCurrentIndex(2) + self.TWChoix.setCurrentIndex(0) QtCore.QMetaObject.connectSlotsByName(DInc1) - DInc1.setTabOrder(self.LEFiltre,self.LENomFichier) - DInc1.setTabOrder(self.LENomFichier,self.bHelp) - DInc1.setTabOrder(self.bHelp,self.bSup) - DInc1.setTabOrder(self.bSup,self.bOk) - DInc1.setTabOrder(self.bOk,self.TWChoix) - DInc1.setTabOrder(self.TWChoix,self.LBMCPermis) - DInc1.setTabOrder(self.LBMCPermis,self.LBRegles) - DInc1.setTabOrder(self.LBRegles,self.LBNouvCommande) - DInc1.setTabOrder(self.LBNouvCommande,self.RBalpha) - DInc1.setTabOrder(self.RBalpha,self.BBrowse) - DInc1.setTabOrder(self.BBrowse,self.BChangeFile) + DInc1.setTabOrder(self.LEFiltre, self.LENomFichier) + DInc1.setTabOrder(self.LENomFichier, self.bOk) + DInc1.setTabOrder(self.bOk, self.TWChoix) + DInc1.setTabOrder(self.TWChoix, self.LBMCPermis) + DInc1.setTabOrder(self.LBMCPermis, self.LBRegles) + DInc1.setTabOrder(self.LBRegles, self.LBNouvCommande) + DInc1.setTabOrder(self.LBNouvCommande, self.RBalpha) + DInc1.setTabOrder(self.RBalpha, self.BBrowse) + DInc1.setTabOrder(self.BBrowse, self.BChangeFile) def retranslateUi(self, DInc1): DInc1.setWindowTitle(QtGui.QApplication.translate("DInc1", "DMacro", None, QtGui.QApplication.UnicodeUTF8)) self.bOk.setToolTip(QtGui.QApplication.translate("DInc1", "validation de la saisie", None, QtGui.QApplication.UnicodeUTF8)) self.bOk.setText(QtGui.QApplication.translate("DInc1", "&Valider", None, QtGui.QApplication.UnicodeUTF8)) self.bOk.setShortcut(QtGui.QApplication.translate("DInc1", "Shift+A, Alt+A, Alt+A, Alt+A", None, QtGui.QApplication.UnicodeUTF8)) - self.bHelp.setToolTip(QtGui.QApplication.translate("DInc1", "affichage documentation aster", None, QtGui.QApplication.UnicodeUTF8)) - self.bHelp.setText(QtGui.QApplication.translate("DInc1", "&Documentation", None, QtGui.QApplication.UnicodeUTF8)) - self.bHelp.setShortcut(QtGui.QApplication.translate("DInc1", "Alt+D", None, QtGui.QApplication.UnicodeUTF8)) - self.bSup.setToolTip(QtGui.QApplication.translate("DInc1", "suppression du mot clef", None, QtGui.QApplication.UnicodeUTF8)) - self.bSup.setText(QtGui.QApplication.translate("DInc1", "&Supprimer", None, QtGui.QApplication.UnicodeUTF8)) - self.bSup.setShortcut(QtGui.QApplication.translate("DInc1", "Alt+S", None, QtGui.QApplication.UnicodeUTF8)) self.textLabel1.setText(QtGui.QApplication.translate("DInc1", "

Mots Clefs Permis

", None, QtGui.QApplication.UnicodeUTF8)) self.textLabel1_2.setText(QtGui.QApplication.translate("DInc1", "

Régles

", None, QtGui.QApplication.UnicodeUTF8)) self.TWChoix.setTabText(self.TWChoix.indexOf(self.MotClef), QtGui.QApplication.translate("DInc1", "Ajouter Mot-Clef", None, QtGui.QApplication.UnicodeUTF8)) diff --git a/UiQT4/desInclude.ui b/UiQT4/desInclude.ui index dc21a3f6..291b7b33 100644 --- a/UiQT4/desInclude.ui +++ b/UiQT4/desInclude.ui @@ -44,50 +44,6 @@
- - - - - 0 - 30 - - - - affichage documentation aster - - - &Documentation - - - Alt+D - - - true - - - - - - - - 0 - 30 - - - - suppression du mot clef - - - &Supprimer - - - Alt+S - - - true - - - @@ -101,17 +57,9 @@ - 2 + 0 - - - 0 - 0 - 499 - 400 - - Ajouter Mot-Clef @@ -158,14 +106,6 @@
- - - 0 - 0 - 499 - 400 - - Nouvelle Commande @@ -255,14 +195,6 @@ - - - 0 - 0 - 499 - 400 - - Fichier Include @@ -344,14 +276,6 @@ - - - 0 - 0 - 499 - 400 - - Fichier Inc @@ -382,8 +306,6 @@ p, li { white-space: pre-wrap; } LEFiltre LENomFichier - bHelp - bSup bOk TWChoix LBMCPermis diff --git a/UiQT4/desListeParam.py b/UiQT4/desListeParam.py index 43c5d350..2546d4ef 100644 --- a/UiQT4/desListeParam.py +++ b/UiQT4/desListeParam.py @@ -2,8 +2,8 @@ # Form implementation generated from reading ui file 'desListeParam.ui' # -# Created: Tue Nov 18 17:37:24 2008 -# by: PyQt4 UI code generator 4.4.2 +# Created: Tue Jan 27 12:25:36 2009 +# by: PyQt4 UI code generator 4.4.3 # # WARNING! All changes made in this file will be lost! @@ -12,12 +12,12 @@ from PyQt4 import QtCore, QtGui class Ui_DLisParam(object): def setupUi(self, DLisParam): DLisParam.setObjectName("DLisParam") - DLisParam.resize(413,394) + DLisParam.resize(413, 394) self.gridlayout = QtGui.QGridLayout(DLisParam) self.gridlayout.setObjectName("gridlayout") self.LBParam = QtGui.QListWidget(DLisParam) self.LBParam.setObjectName("LBParam") - self.gridlayout.addWidget(self.LBParam,0,0,1,1) + self.gridlayout.addWidget(self.LBParam, 0, 0, 1, 1) self.retranslateUi(DLisParam) diff --git a/UiQT4/desMCFact.py b/UiQT4/desMCFact.py index ac6b782e..32cedf01 100644 --- a/UiQT4/desMCFact.py +++ b/UiQT4/desMCFact.py @@ -2,8 +2,8 @@ # Form implementation generated from reading ui file 'desMCFact.ui' # -# Created: Tue Nov 18 17:37:24 2008 -# by: PyQt4 UI code generator 4.4.2 +# Created: Thu Mar 12 10:42:30 2009 +# by: PyQt4 UI code generator 4.4.3 # # WARNING! All changes made in this file will be lost! @@ -12,8 +12,8 @@ from PyQt4 import QtCore, QtGui class Ui_DMCFact(object): def setupUi(self, DMCFact): DMCFact.setObjectName("DMCFact") - DMCFact.resize(511,499) - DMCFact.setMinimumSize(QtCore.QSize(505,0)) + DMCFact.resize(511, 499) + DMCFact.setMinimumSize(QtCore.QSize(505, 0)) self.gridlayout = QtGui.QGridLayout(DMCFact) self.gridlayout.setObjectName("gridlayout") self.TWChoix = QtGui.QTabWidget(DMCFact) @@ -23,55 +23,42 @@ class Ui_DMCFact(object): self.gridlayout1 = QtGui.QGridLayout(self.MotClef) self.gridlayout1.setObjectName("gridlayout1") self.textLabel1 = QtGui.QLabel(self.MotClef) - self.textLabel1.setMinimumSize(QtCore.QSize(0,0)) + self.textLabel1.setMinimumSize(QtCore.QSize(0, 0)) self.textLabel1.setWordWrap(False) self.textLabel1.setObjectName("textLabel1") - self.gridlayout1.addWidget(self.textLabel1,0,0,1,1) + self.gridlayout1.addWidget(self.textLabel1, 0, 0, 1, 1) self.LBMCPermis = QtGui.QListWidget(self.MotClef) - self.LBMCPermis.setMinimumSize(QtCore.QSize(0,0)) + self.LBMCPermis.setMinimumSize(QtCore.QSize(0, 0)) self.LBMCPermis.setObjectName("LBMCPermis") - self.gridlayout1.addWidget(self.LBMCPermis,1,0,1,1) + self.gridlayout1.addWidget(self.LBMCPermis, 1, 0, 1, 1) self.LBRegles = QtGui.QListWidget(self.MotClef) self.LBRegles.setObjectName("LBRegles") - self.gridlayout1.addWidget(self.LBRegles,1,1,1,1) + self.gridlayout1.addWidget(self.LBRegles, 1, 1, 1, 1) self.textLabel1_2 = QtGui.QLabel(self.MotClef) self.textLabel1_2.setWordWrap(False) self.textLabel1_2.setObjectName("textLabel1_2") - self.gridlayout1.addWidget(self.textLabel1_2,0,1,1,1) - self.TWChoix.addTab(self.MotClef,"") - self.gridlayout.addWidget(self.TWChoix,0,0,1,3) - self.bSup = QtGui.QPushButton(DMCFact) - self.bSup.setAutoDefault(True) - self.bSup.setProperty("toolTip",QtCore.QVariant(QtGui.QApplication.translate("DMCFact", "suppression du mot clef", None, QtGui.QApplication.UnicodeUTF8))) - self.bSup.setObjectName("bSup") - self.gridlayout.addWidget(self.bSup,2,0,1,1) + self.gridlayout1.addWidget(self.textLabel1_2, 0, 1, 1, 1) + self.TWChoix.addTab(self.MotClef, "") + self.gridlayout.addWidget(self.TWChoix, 0, 0, 1, 3) self.Commentaire = QtGui.QLabel(DMCFact) self.Commentaire.setWordWrap(False) self.Commentaire.setObjectName("Commentaire") - self.gridlayout.addWidget(self.Commentaire,1,0,1,3) - self.bHelp = QtGui.QPushButton(DMCFact) - self.bHelp.setAutoDefault(True) - self.bHelp.setProperty("toolTip",QtCore.QVariant(QtGui.QApplication.translate("DMCFact", "affichage documentation aster", None, QtGui.QApplication.UnicodeUTF8))) - self.bHelp.setObjectName("bHelp") - self.gridlayout.addWidget(self.bHelp,2,2,1,1) + self.gridlayout.addWidget(self.Commentaire, 1, 0, 1, 3) self.bOk = QtGui.QPushButton(DMCFact) self.bOk.setAutoDefault(True) self.bOk.setDefault(True) - self.bOk.setProperty("toolTip",QtCore.QVariant(QtGui.QApplication.translate("DMCFact", "validation de la saisie", None, QtGui.QApplication.UnicodeUTF8))) self.bOk.setObjectName("bOk") - self.gridlayout.addWidget(self.bOk,2,1,1,1) + self.gridlayout.addWidget(self.bOk, 2, 1, 1, 1) self.retranslateUi(DMCFact) + QtCore.QMetaObject.connectSlotsByName(DMCFact) def retranslateUi(self, DMCFact): DMCFact.setWindowTitle(QtGui.QApplication.translate("DMCFact", "DMacro", None, QtGui.QApplication.UnicodeUTF8)) self.textLabel1.setText(QtGui.QApplication.translate("DMCFact", "

Mots Clefs Permis

", None, QtGui.QApplication.UnicodeUTF8)) self.textLabel1_2.setText(QtGui.QApplication.translate("DMCFact", "

Régles

", None, QtGui.QApplication.UnicodeUTF8)) self.TWChoix.setTabText(self.TWChoix.indexOf(self.MotClef), QtGui.QApplication.translate("DMCFact", "Ajouter Mot-Clef", None, QtGui.QApplication.UnicodeUTF8)) - self.bSup.setText(QtGui.QApplication.translate("DMCFact", "&Supprimer", None, QtGui.QApplication.UnicodeUTF8)) - self.bSup.setShortcut(QtGui.QApplication.translate("DMCFact", "Alt+S", None, QtGui.QApplication.UnicodeUTF8)) - self.bHelp.setText(QtGui.QApplication.translate("DMCFact", "&Documentation", None, QtGui.QApplication.UnicodeUTF8)) - self.bHelp.setShortcut(QtGui.QApplication.translate("DMCFact", "Alt+D", None, QtGui.QApplication.UnicodeUTF8)) + self.bOk.setToolTip(QtGui.QApplication.translate("DMCFact", "validation de la saisie", None, QtGui.QApplication.UnicodeUTF8)) self.bOk.setText(QtGui.QApplication.translate("DMCFact", "&Valider", None, QtGui.QApplication.UnicodeUTF8)) self.bOk.setShortcut(QtGui.QApplication.translate("DMCFact", "Shift+A, Alt+A, Alt+A, Alt+A", None, QtGui.QApplication.UnicodeUTF8)) diff --git a/UiQT4/desMCFact.ui b/UiQT4/desMCFact.ui index 8eb9080d..b7d6966f 100644 --- a/UiQT4/desMCFact.ui +++ b/UiQT4/desMCFact.ui @@ -1,140 +1,107 @@ - - - - - DMCFact - - - - 0 - 0 - 511 - 499 - - - - - 505 - 0 - - - - DMacro - - - - - - - Ajouter Mot-Clef - - - - - - - 0 - 0 - - - - <h3><p align="center"><u><b>Mots Clefs Permis</b></u></p></h3> - - - false - - - - - - - - 0 - 0 - - - - - - - - - - - <h3><p align="center"><u><b>Régles</b></u></p></h3> - - - false - - - - - + + DMCFact + + + + 0 + 0 + 511 + 499 + + + + + 505 + 0 + + + + DMacro + + + + + + + Ajouter Mot-Clef + + + + + + + 0 + 0 + + + + <h3><p align="center"><u><b>Mots Clefs Permis</b></u></p></h3> + + + false + - - - - - &Supprimer - - - Alt+S - - - true - - - suppression du mot clef - + + + + + + 0 + 0 + + - - - - - - - - false - + + + + + + + + <h3><p align="center"><u><b>Régles</b></u></p></h3> + + + false + - - - - - &Documentation - - - Alt+D - - - true - - - affichage documentation aster - - - - - - - &Valider - - - Shift+A, Alt+A, Alt+A, Alt+A - - - true - - - true - - - validation de la saisie - - - - - - - qPixmapFromMimeSource + + + + + + + + + + + + false + + + + + + + validation de la saisie + + + &Valider + + + Shift+A, Alt+A, Alt+A, Alt+A + + + true + + + true + + + + + + + qPixmapFromMimeSource + + diff --git a/UiQT4/desMCListAjout.py b/UiQT4/desMCListAjout.py index 69cbc51a..afad760f 100644 --- a/UiQT4/desMCListAjout.py +++ b/UiQT4/desMCListAjout.py @@ -2,8 +2,8 @@ # Form implementation generated from reading ui file 'desMCListAjout.ui' # -# Created: Tue Nov 18 17:37:24 2008 -# by: PyQt4 UI code generator 4.4.2 +# Created: Thu Mar 12 10:42:30 2009 +# by: PyQt4 UI code generator 4.4.3 # # WARNING! All changes made in this file will be lost! @@ -12,82 +12,61 @@ from PyQt4 import QtCore, QtGui class Ui_DMCListAjout(object): def setupUi(self, DMCListAjout): DMCListAjout.setObjectName("DMCListAjout") - DMCListAjout.resize(459,472) - DMCListAjout.setMinimumSize(QtCore.QSize(350,0)) + DMCListAjout.resize(459, 472) + DMCListAjout.setMinimumSize(QtCore.QSize(350, 0)) self.gridlayout = QtGui.QGridLayout(DMCListAjout) self.gridlayout.setObjectName("gridlayout") self.textLabel1 = QtGui.QLabel(DMCListAjout) self.textLabel1.setWordWrap(False) self.textLabel1.setObjectName("textLabel1") - self.gridlayout.addWidget(self.textLabel1,1,0,1,3) + self.gridlayout.addWidget(self.textLabel1, 1, 0, 1, 3) self.textLabel1_2 = QtGui.QLabel(DMCListAjout) self.textLabel1_2.setWordWrap(False) self.textLabel1_2.setObjectName("textLabel1_2") - self.gridlayout.addWidget(self.textLabel1_2,2,0,1,3) + self.gridlayout.addWidget(self.textLabel1_2, 2, 0, 1, 3) self.hboxlayout = QtGui.QHBoxLayout() self.hboxlayout.setObjectName("hboxlayout") - spacerItem = QtGui.QSpacerItem(60,21,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum) + spacerItem = QtGui.QSpacerItem(60, 21, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.hboxlayout.addItem(spacerItem) self.bAjout = QtGui.QPushButton(DMCListAjout) self.bAjout.setAutoDefault(True) self.bAjout.setDefault(True) - self.bAjout.setProperty("toolTip",QtCore.QVariant(QtGui.QApplication.translate("DMCListAjout", "validation de la saisie", None, QtGui.QApplication.UnicodeUTF8))) self.bAjout.setObjectName("bAjout") self.hboxlayout.addWidget(self.bAjout) - spacerItem1 = QtGui.QSpacerItem(80,21,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum) + spacerItem1 = QtGui.QSpacerItem(80, 21, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.hboxlayout.addItem(spacerItem1) - self.gridlayout.addLayout(self.hboxlayout,8,0,1,3) - spacerItem2 = QtGui.QSpacerItem(21,40,QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Expanding) - self.gridlayout.addItem(spacerItem2,9,1,1,1) + self.gridlayout.addLayout(self.hboxlayout, 8, 0, 1, 3) + spacerItem2 = QtGui.QSpacerItem(21, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) + self.gridlayout.addItem(spacerItem2, 9, 1, 1, 1) self.textLabel1_2_2 = QtGui.QLabel(DMCListAjout) self.textLabel1_2_2.setWordWrap(False) self.textLabel1_2_2.setObjectName("textLabel1_2_2") - self.gridlayout.addWidget(self.textLabel1_2_2,6,0,1,3) - spacerItem3 = QtGui.QSpacerItem(20,20,QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Expanding) - self.gridlayout.addItem(spacerItem3,7,1,1,1) + self.gridlayout.addWidget(self.textLabel1_2_2, 6, 0, 1, 3) + spacerItem3 = QtGui.QSpacerItem(20, 20, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) + self.gridlayout.addItem(spacerItem3, 7, 1, 1, 1) self.MCFacteur = QtGui.QLabel(DMCListAjout) self.MCFacteur.setWordWrap(False) self.MCFacteur.setObjectName("MCFacteur") - self.gridlayout.addWidget(self.MCFacteur,4,0,1,3) - spacerItem4 = QtGui.QSpacerItem(21,31,QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Expanding) - self.gridlayout.addItem(spacerItem4,5,1,1,1) - spacerItem5 = QtGui.QSpacerItem(21,51,QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Expanding) - self.gridlayout.addItem(spacerItem5,3,1,1,1) - spacerItem6 = QtGui.QSpacerItem(41,51,QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Expanding) - self.gridlayout.addItem(spacerItem6,0,1,1,1) - self.bSup = QtGui.QPushButton(DMCListAjout) - self.bSup.setAutoDefault(True) - self.bSup.setProperty("toolTip",QtCore.QVariant(QtGui.QApplication.translate("DMCListAjout", "suppression du mot clef", None, QtGui.QApplication.UnicodeUTF8))) - self.bSup.setObjectName("bSup") - self.gridlayout.addWidget(self.bSup,10,0,1,1) - self.bOk = QtGui.QPushButton(DMCListAjout) - self.bOk.setAutoDefault(True) - self.bOk.setDefault(True) - self.bOk.setProperty("toolTip",QtCore.QVariant(QtGui.QApplication.translate("DMCListAjout", "validation de la saisie", None, QtGui.QApplication.UnicodeUTF8))) - self.bOk.setObjectName("bOk") - self.gridlayout.addWidget(self.bOk,10,1,1,1) - self.bHelp = QtGui.QPushButton(DMCListAjout) - self.bHelp.setAutoDefault(True) - self.bHelp.setProperty("toolTip",QtCore.QVariant(QtGui.QApplication.translate("DMCListAjout", "affichage documentation aster", None, QtGui.QApplication.UnicodeUTF8))) - self.bHelp.setObjectName("bHelp") - self.gridlayout.addWidget(self.bHelp,10,2,1,1) + self.gridlayout.addWidget(self.MCFacteur, 4, 0, 1, 3) + spacerItem4 = QtGui.QSpacerItem(21, 31, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) + self.gridlayout.addItem(spacerItem4, 5, 1, 1, 1) + spacerItem5 = QtGui.QSpacerItem(21, 51, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) + self.gridlayout.addItem(spacerItem5, 3, 1, 1, 1) + spacerItem6 = QtGui.QSpacerItem(41, 51, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) + self.gridlayout.addItem(spacerItem6, 0, 1, 1, 1) self.retranslateUi(DMCListAjout) + QtCore.QMetaObject.connectSlotsByName(DMCListAjout) def retranslateUi(self, DMCListAjout): DMCListAjout.setWindowTitle(QtGui.QApplication.translate("DMCListAjout", "Form1", None, QtGui.QApplication.UnicodeUTF8)) self.textLabel1.setText(QtGui.QApplication.translate("DMCListAjout", "

Pour ajouter une autre occurrence

", None, QtGui.QApplication.UnicodeUTF8)) self.textLabel1_2.setText(QtGui.QApplication.translate("DMCListAjout", "

du mot clef-facteur

", None, QtGui.QApplication.UnicodeUTF8)) + self.bAjout.setToolTip(QtGui.QApplication.translate("DMCListAjout", "validation de la saisie", None, QtGui.QApplication.UnicodeUTF8)) self.bAjout.setText(QtGui.QApplication.translate("DMCListAjout", "&Ajouter", None, QtGui.QApplication.UnicodeUTF8)) self.bAjout.setShortcut(QtGui.QApplication.translate("DMCListAjout", "Alt+A", None, QtGui.QApplication.UnicodeUTF8)) self.textLabel1_2_2.setText(QtGui.QApplication.translate("DMCListAjout", "

cliquez ci-dessous

", None, QtGui.QApplication.UnicodeUTF8)) self.MCFacteur.setText(QtGui.QApplication.translate("DMCListAjout", "

AFFE

", None, QtGui.QApplication.UnicodeUTF8)) - self.bSup.setText(QtGui.QApplication.translate("DMCListAjout", "&Supprimer", None, QtGui.QApplication.UnicodeUTF8)) - self.bSup.setShortcut(QtGui.QApplication.translate("DMCListAjout", "Alt+S", None, QtGui.QApplication.UnicodeUTF8)) - self.bOk.setText(QtGui.QApplication.translate("DMCListAjout", "&Valider", None, QtGui.QApplication.UnicodeUTF8)) - self.bOk.setShortcut(QtGui.QApplication.translate("DMCListAjout", "Shift+A, Alt+A, Alt+A, Alt+A", None, QtGui.QApplication.UnicodeUTF8)) - self.bHelp.setText(QtGui.QApplication.translate("DMCListAjout", "&Documentation", None, QtGui.QApplication.UnicodeUTF8)) - self.bHelp.setShortcut(QtGui.QApplication.translate("DMCListAjout", "Alt+D", None, QtGui.QApplication.UnicodeUTF8)) if __name__ == "__main__": diff --git a/UiQT4/desMCListAjout.ui b/UiQT4/desMCListAjout.ui index e36dbfae..8982d14b 100644 --- a/UiQT4/desMCListAjout.ui +++ b/UiQT4/desMCListAjout.ui @@ -1,255 +1,203 @@ - - - - - DMCListAjout - - - - 0 - 0 - 459 - 472 - - - + + DMCListAjout + + + + 0 + 0 + 459 + 472 + + + + + 350 + 0 + + + + Form1 + + + + + + <p align="center"><font size="+1">Pour ajouter une autre occurrence</font></p> + + + false + + + + + + + <p align="center"><font size="+1">du mot clef-facteur</font> </p> + + + false + + + + + + + + + Qt::Horizontal + + + QSizePolicy::Expanding + + + + 60 + 21 + + + + + + + + validation de la saisie + + + &Ajouter + + + Alt+A + + + true + + + true + + + + + + + Qt::Horizontal + + + QSizePolicy::Expanding + + + + 80 + 21 + + + + + + + + + + Qt::Vertical + + + QSizePolicy::Expanding + + - 350 - 0 + 21 + 40 - - - Form1 - - - - - - <p align="center"><font size="+1">Pour ajouter une autre occurrence</font></p> - - - false - - - - - - - <p align="center"><font size="+1">du mot clef-facteur</font> </p> - - - false - - - - - - - - - - 60 - 21 - - - - QSizePolicy::Expanding - - - Qt::Horizontal - - - - - - - &Ajouter - - - Alt+A - - - true - - - true - - - validation de la saisie - - - - - - - - 80 - 21 - - - - QSizePolicy::Expanding - - - Qt::Horizontal - - - - - - - - - - 21 - 40 - - - - QSizePolicy::Expanding - - - Qt::Vertical - - - - - - - <p align="center"><font size="+1">cliquez ci-dessous</font> </p> - - - false - - - - - - - - 20 - 20 - - - - QSizePolicy::Expanding - - - Qt::Vertical - - - - - - - <p align="center">AFFE</p> - - - false - - - - - - - - 21 - 31 - - - - QSizePolicy::Expanding - - - Qt::Vertical - - - - - - - - 21 - 51 - - - - QSizePolicy::Expanding - - - Qt::Vertical - - - - - - - - 41 - 51 - - - - QSizePolicy::Expanding - - - Qt::Vertical - - - - - - - &Supprimer - - - Alt+S - - - true - - - suppression du mot clef - - - - - - - &Valider - - - Shift+A, Alt+A, Alt+A, Alt+A - - - true - - - true - - - validation de la saisie - - - - - - - &Documentation - - - Alt+D - - - true - - - affichage documentation aster - - - - - - - qPixmapFromMimeSource + + + + + + + <p align="center"><font size="+1">cliquez ci-dessous</font> </p> + + + false + + + + + + + Qt::Vertical + + + QSizePolicy::Expanding + + + + 20 + 20 + + + + + + + + <p align="center">AFFE</p> + + + false + + + + + + + Qt::Vertical + + + QSizePolicy::Expanding + + + + 21 + 31 + + + + + + + + Qt::Vertical + + + QSizePolicy::Expanding + + + + 21 + 51 + + + + + + + + Qt::Vertical + + + QSizePolicy::Expanding + + + + 41 + 51 + + + + + + + + qPixmapFromMimeSource + + diff --git a/UiQT4/desParam.py b/UiQT4/desParam.py index c9b3bf3b..040982d7 100644 --- a/UiQT4/desParam.py +++ b/UiQT4/desParam.py @@ -2,8 +2,8 @@ # Form implementation generated from reading ui file 'desParam.ui' # -# Created: Tue Nov 18 17:37:24 2008 -# by: PyQt4 UI code generator 4.4.2 +# Created: Thu Mar 12 15:06:08 2009 +# by: PyQt4 UI code generator 4.4.3 # # WARNING! All changes made in this file will be lost! @@ -12,122 +12,105 @@ from PyQt4 import QtCore, QtGui class Ui_DParam(object): def setupUi(self, DParam): DParam.setObjectName("DParam") - DParam.resize(505,483) - DParam.setMinimumSize(QtCore.QSize(505,0)) + DParam.resize(505, 483) + DParam.setMinimumSize(QtCore.QSize(505, 0)) self.gridlayout = QtGui.QGridLayout(DParam) self.gridlayout.setObjectName("gridlayout") - self.Commentaire = QtGui.QLabel(DParam) - self.Commentaire.setFrameShape(QtGui.QFrame.NoFrame) - self.Commentaire.setFrameShadow(QtGui.QFrame.Plain) - self.Commentaire.setWordWrap(False) - self.Commentaire.setObjectName("Commentaire") - self.gridlayout.addWidget(self.Commentaire,1,0,1,3) self.TWChoix = QtGui.QTabWidget(DParam) self.TWChoix.setObjectName("TWChoix") self.Valeur_Parametre = QtGui.QWidget() - self.Valeur_Parametre.setGeometry(QtCore.QRect(0,0,483,372)) self.Valeur_Parametre.setObjectName("Valeur_Parametre") self.gridLayout_3 = QtGui.QGridLayout(self.Valeur_Parametre) self.gridLayout_3.setObjectName("gridLayout_3") self.textLabel2_2_2 = QtGui.QLabel(self.Valeur_Parametre) self.textLabel2_2_2.setWordWrap(False) self.textLabel2_2_2.setObjectName("textLabel2_2_2") - self.gridLayout_3.addWidget(self.textLabel2_2_2,0,1,1,1) + self.gridLayout_3.addWidget(self.textLabel2_2_2, 0, 1, 1, 1) self.textLabel2_2 = QtGui.QLabel(self.Valeur_Parametre) self.textLabel2_2.setWordWrap(False) self.textLabel2_2.setObjectName("textLabel2_2") - self.gridLayout_3.addWidget(self.textLabel2_2,1,0,1,1) + self.gridLayout_3.addWidget(self.textLabel2_2, 1, 0, 1, 1) self.lineEditNom = QtGui.QLineEdit(self.Valeur_Parametre) - self.lineEditNom.setMinimumSize(QtCore.QSize(231,31)) + self.lineEditNom.setMinimumSize(QtCore.QSize(231, 31)) self.lineEditNom.setObjectName("lineEditNom") - self.gridLayout_3.addWidget(self.lineEditNom,1,1,1,1) + self.gridLayout_3.addWidget(self.lineEditNom, 1, 1, 1, 1) self.textLabel2 = QtGui.QLabel(self.Valeur_Parametre) self.textLabel2.setWordWrap(False) self.textLabel2.setObjectName("textLabel2") - self.gridLayout_3.addWidget(self.textLabel2,2,0,1,1) + self.gridLayout_3.addWidget(self.textLabel2, 2, 0, 1, 1) self.lineEditVal = QtGui.QLineEdit(self.Valeur_Parametre) - self.lineEditVal.setMinimumSize(QtCore.QSize(231,31)) + self.lineEditVal.setMinimumSize(QtCore.QSize(231, 31)) self.lineEditVal.setObjectName("lineEditVal") - self.gridLayout_3.addWidget(self.lineEditVal,2,1,1,1) + self.gridLayout_3.addWidget(self.lineEditVal, 2, 1, 1, 1) self.Commentaire2 = QtGui.QLabel(self.Valeur_Parametre) self.Commentaire2.setWordWrap(False) self.Commentaire2.setObjectName("Commentaire2") - self.gridLayout_3.addWidget(self.Commentaire2,3,0,1,2) + self.gridLayout_3.addWidget(self.Commentaire2, 4, 0, 1, 2) self.Commentaire_2 = QtGui.QLabel(self.Valeur_Parametre) self.Commentaire_2.setWordWrap(False) self.Commentaire_2.setObjectName("Commentaire_2") - self.gridLayout_3.addWidget(self.Commentaire_2,4,0,1,2) - self.TWChoix.addTab(self.Valeur_Parametre,"") + self.gridLayout_3.addWidget(self.Commentaire_2, 6, 0, 1, 2) + self.Commentaire = QtGui.QLineEdit(self.Valeur_Parametre) + self.Commentaire.setObjectName("Commentaire") + self.gridLayout_3.addWidget(self.Commentaire, 7, 0, 1, 2) + self.TWChoix.addTab(self.Valeur_Parametre, "") self.Commande = QtGui.QWidget() - self.Commande.setGeometry(QtCore.QRect(0,0,483,372)) self.Commande.setObjectName("Commande") self.gridLayout_2 = QtGui.QGridLayout(self.Commande) self.gridLayout_2.setObjectName("gridLayout_2") self.textLabel1_4 = QtGui.QLabel(self.Commande) self.textLabel1_4.setWordWrap(False) self.textLabel1_4.setObjectName("textLabel1_4") - self.gridLayout_2.addWidget(self.textLabel1_4,0,0,1,3) + self.gridLayout_2.addWidget(self.textLabel1_4, 0, 0, 1, 3) self.groupBox = QtGui.QGroupBox(self.Commande) self.groupBox.setObjectName("groupBox") self.gridLayout = QtGui.QGridLayout(self.groupBox) self.gridLayout.setObjectName("gridLayout") self.RBGroupe = QtGui.QRadioButton(self.groupBox) self.RBGroupe.setObjectName("RBGroupe") - self.gridLayout.addWidget(self.RBGroupe,1,0,1,1) + self.gridLayout.addWidget(self.RBGroupe, 1, 0, 1, 1) self.RBalpha = QtGui.QRadioButton(self.groupBox) self.RBalpha.setChecked(True) self.RBalpha.setObjectName("RBalpha") - self.gridLayout.addWidget(self.RBalpha,0,0,1,1) - self.gridLayout_2.addWidget(self.groupBox,0,3,2,1) + self.gridLayout.addWidget(self.RBalpha, 0, 0, 1, 1) + self.gridLayout_2.addWidget(self.groupBox, 0, 3, 2, 1) self.textLabel6 = QtGui.QLabel(self.Commande) - self.textLabel6.setMinimumSize(QtCore.QSize(50,30)) + self.textLabel6.setMinimumSize(QtCore.QSize(50, 30)) self.textLabel6.setWordWrap(False) self.textLabel6.setObjectName("textLabel6") - self.gridLayout_2.addWidget(self.textLabel6,1,0,1,1) + self.gridLayout_2.addWidget(self.textLabel6, 1, 0, 1, 1) self.LEFiltre = QtGui.QLineEdit(self.Commande) - self.LEFiltre.setMinimumSize(QtCore.QSize(160,30)) + self.LEFiltre.setMinimumSize(QtCore.QSize(160, 30)) self.LEFiltre.setObjectName("LEFiltre") - self.gridLayout_2.addWidget(self.LEFiltre,1,1,1,1) + self.gridLayout_2.addWidget(self.LEFiltre, 1, 1, 1, 1) self.BNext = QtGui.QPushButton(self.Commande) self.BNext.setObjectName("BNext") - self.gridLayout_2.addWidget(self.BNext,1,2,1,1) + self.gridLayout_2.addWidget(self.BNext, 1, 2, 1, 1) self.LBNouvCommande = QtGui.QListWidget(self.Commande) self.LBNouvCommande.setObjectName("LBNouvCommande") - self.gridLayout_2.addWidget(self.LBNouvCommande,2,0,1,4) + self.gridLayout_2.addWidget(self.LBNouvCommande, 2, 0, 1, 4) self.textLabel4 = QtGui.QLabel(self.Commande) self.textLabel4.setWordWrap(False) self.textLabel4.setObjectName("textLabel4") - self.gridLayout_2.addWidget(self.textLabel4,3,0,1,4) - self.TWChoix.addTab(self.Commande,"") - self.gridlayout.addWidget(self.TWChoix,0,0,1,3) + self.gridLayout_2.addWidget(self.textLabel4, 3, 0, 1, 4) + self.TWChoix.addTab(self.Commande, "") + self.gridlayout.addWidget(self.TWChoix, 0, 0, 1, 3) self.bOk = QtGui.QPushButton(DParam) - self.bOk.setMinimumSize(QtCore.QSize(0,30)) + self.bOk.setMinimumSize(QtCore.QSize(0, 30)) self.bOk.setAutoDefault(True) self.bOk.setDefault(True) self.bOk.setObjectName("bOk") - self.gridlayout.addWidget(self.bOk,2,1,1,1) - self.bSup = QtGui.QPushButton(DParam) - self.bSup.setMinimumSize(QtCore.QSize(0,30)) - self.bSup.setAutoDefault(True) - self.bSup.setObjectName("bSup") - self.gridlayout.addWidget(self.bSup,2,0,1,1) - self.bHelp = QtGui.QPushButton(DParam) - self.bHelp.setMinimumSize(QtCore.QSize(0,30)) - self.bHelp.setAutoDefault(True) - self.bHelp.setObjectName("bHelp") - self.gridlayout.addWidget(self.bHelp,2,2,1,1) + self.gridlayout.addWidget(self.bOk, 1, 1, 1, 1) self.retranslateUi(DParam) self.TWChoix.setCurrentIndex(0) QtCore.QMetaObject.connectSlotsByName(DParam) - DParam.setTabOrder(self.LEFiltre,self.TWChoix) - DParam.setTabOrder(self.TWChoix,self.lineEditNom) - DParam.setTabOrder(self.lineEditNom,self.lineEditVal) - DParam.setTabOrder(self.lineEditVal,self.LBNouvCommande) - DParam.setTabOrder(self.LBNouvCommande,self.RBalpha) - DParam.setTabOrder(self.RBalpha,self.bOk) - DParam.setTabOrder(self.bOk,self.bSup) - DParam.setTabOrder(self.bSup,self.bHelp) + DParam.setTabOrder(self.LEFiltre, self.TWChoix) + DParam.setTabOrder(self.TWChoix, self.lineEditNom) + DParam.setTabOrder(self.lineEditNom, self.lineEditVal) + DParam.setTabOrder(self.lineEditVal, self.LBNouvCommande) + DParam.setTabOrder(self.LBNouvCommande, self.RBalpha) + DParam.setTabOrder(self.RBalpha, self.bOk) def retranslateUi(self, DParam): DParam.setWindowTitle(QtGui.QApplication.translate("DParam", "DComm", None, QtGui.QApplication.UnicodeUTF8)) @@ -151,12 +134,6 @@ class Ui_DParam(object): self.bOk.setToolTip(QtGui.QApplication.translate("DParam", "validation de la saisie", None, QtGui.QApplication.UnicodeUTF8)) self.bOk.setText(QtGui.QApplication.translate("DParam", "&Valider", None, QtGui.QApplication.UnicodeUTF8)) self.bOk.setShortcut(QtGui.QApplication.translate("DParam", "Shift+A, Alt+A, Alt+A, Alt+A", None, QtGui.QApplication.UnicodeUTF8)) - self.bSup.setToolTip(QtGui.QApplication.translate("DParam", "suppression du mot clef", None, QtGui.QApplication.UnicodeUTF8)) - self.bSup.setText(QtGui.QApplication.translate("DParam", "&Supprimer", None, QtGui.QApplication.UnicodeUTF8)) - self.bSup.setShortcut(QtGui.QApplication.translate("DParam", "Alt+S", None, QtGui.QApplication.UnicodeUTF8)) - self.bHelp.setToolTip(QtGui.QApplication.translate("DParam", "affichage documentation aster", None, QtGui.QApplication.UnicodeUTF8)) - self.bHelp.setText(QtGui.QApplication.translate("DParam", "&Documentation", None, QtGui.QApplication.UnicodeUTF8)) - self.bHelp.setShortcut(QtGui.QApplication.translate("DParam", "Alt+D", None, QtGui.QApplication.UnicodeUTF8)) if __name__ == "__main__": diff --git a/UiQT4/desParam.ui b/UiQT4/desParam.ui index faf4ef17..081ba111 100644 --- a/UiQT4/desParam.ui +++ b/UiQT4/desParam.ui @@ -19,36 +19,12 @@ DComm - - - - QFrame::NoFrame - - - QFrame::Plain - - - - - - false - - - 0 - - - 0 - 0 - 483 - 372 - - Valeur Parametre @@ -103,7 +79,7 @@ - + Retour Chariot dans une sone de saisie permet de vérifier la @@ -117,7 +93,7 @@ appuyé sur le bouton Valider. - + @@ -127,17 +103,12 @@ appuyé sur le bouton Valider. + + +
- - - 0 - 0 - 483 - 372 - - Nouvelle Commande @@ -228,7 +199,7 @@ appuyé sur le bouton Valider. - + @@ -253,50 +224,6 @@ appuyé sur le bouton Valider. - - - - - 0 - 30 - - - - suppression du mot clef - - - &Supprimer - - - Alt+S - - - true - - - - - - - - 0 - 30 - - - - affichage documentation aster - - - &Documentation - - - Alt+D - - - true - - - @@ -309,8 +236,6 @@ appuyé sur le bouton Valider. LBNouvCommande RBalpha bOk - bSup - bHelp diff --git a/UiQT4/desPlusieursBase.py b/UiQT4/desPlusieursBase.py index a75ca407..22a8348c 100644 --- a/UiQT4/desPlusieursBase.py +++ b/UiQT4/desPlusieursBase.py @@ -2,8 +2,8 @@ # Form implementation generated from reading ui file 'desPlusieursBase.ui' # -# Created: Tue Nov 18 17:37:25 2008 -# by: PyQt4 UI code generator 4.4.2 +# Created: Thu Mar 12 10:42:31 2009 +# by: PyQt4 UI code generator 4.4.3 # # WARNING! All changes made in this file will be lost! @@ -12,167 +12,145 @@ from PyQt4 import QtCore, QtGui class Ui_DPlusBase(object): def setupUi(self, DPlusBase): DPlusBase.setObjectName("DPlusBase") - DPlusBase.resize(552,480) - DPlusBase.setMinimumSize(QtCore.QSize(350,0)) + DPlusBase.resize(552, 480) + DPlusBase.setMinimumSize(QtCore.QSize(350, 0)) self.gridlayout = QtGui.QGridLayout(DPlusBase) self.gridlayout.setObjectName("gridlayout") self.tabuniqueinto = QtGui.QTabWidget(DPlusBase) self.tabuniqueinto.setObjectName("tabuniqueinto") self.Widget8 = QtGui.QWidget() - self.Widget8.setGeometry(QtCore.QRect(0,0,530,435)) self.Widget8.setObjectName("Widget8") - self.gridlayout1 = QtGui.QGridLayout(self.Widget8) - self.gridlayout1.setObjectName("gridlayout1") + self.gridLayout = QtGui.QGridLayout(self.Widget8) + self.gridLayout.setObjectName("gridLayout") self.textLabel1 = QtGui.QLabel(self.Widget8) self.textLabel1.setWordWrap(False) self.textLabel1.setObjectName("textLabel1") - self.gridlayout1.addWidget(self.textLabel1,0,0,1,1) + self.gridLayout.addWidget(self.textLabel1, 0, 0, 1, 1) + spacerItem = QtGui.QSpacerItem(31, 30, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) + self.gridLayout.addItem(spacerItem, 0, 1, 1, 2) + self.hboxlayout = QtGui.QHBoxLayout() + self.hboxlayout.setObjectName("hboxlayout") + self.textLabel1_2 = QtGui.QLabel(self.Widget8) + self.textLabel1_2.setWordWrap(False) + self.textLabel1_2.setObjectName("textLabel1_2") + self.hboxlayout.addWidget(self.textLabel1_2) + spacerItem1 = QtGui.QSpacerItem(111, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) + self.hboxlayout.addItem(spacerItem1) + self.gridLayout.addLayout(self.hboxlayout, 0, 3, 1, 3) self.LBValeurs = QtGui.QListWidget(self.Widget8) - self.LBValeurs.setMinimumSize(QtCore.QSize(200,0)) + self.LBValeurs.setMinimumSize(QtCore.QSize(200, 0)) self.LBValeurs.setObjectName("LBValeurs") - self.gridlayout1.addWidget(self.LBValeurs,1,0,9,1) - spacerItem = QtGui.QSpacerItem(21,231,QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Expanding) - self.gridlayout1.addItem(spacerItem,5,1,5,2) - spacerItem1 = QtGui.QSpacerItem(31,30,QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Expanding) - self.gridlayout1.addItem(spacerItem1,0,1,1,2) + self.gridLayout.addWidget(self.LBValeurs, 1, 0, 8, 1) self.BAjout1Val = QtGui.QToolButton(self.Widget8) - sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,QtGui.QSizePolicy.Fixed) + sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.BAjout1Val.sizePolicy().hasHeightForWidth()) self.BAjout1Val.setSizePolicy(sizePolicy) - self.BAjout1Val.setMinimumSize(QtCore.QSize(40,30)) + self.BAjout1Val.setMinimumSize(QtCore.QSize(40, 30)) icon = QtGui.QIcon() - icon.addPixmap(QtGui.QPixmap("../../EficasV1/Editeur/icons/arrow_left.gif"),QtGui.QIcon.Normal,QtGui.QIcon.Off) + icon.addPixmap(QtGui.QPixmap("../Editeur/icons/arrow_left.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.BAjout1Val.setIcon(icon) self.BAjout1Val.setObjectName("BAjout1Val") - self.gridlayout1.addWidget(self.BAjout1Val,2,1,1,2) - spacerItem2 = QtGui.QSpacerItem(150,20,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum) - self.gridlayout1.addItem(spacerItem2,8,2,1,3) - self.vboxlayout = QtGui.QVBoxLayout() - self.vboxlayout.setObjectName("vboxlayout") - self.bParam = QtGui.QPushButton(self.Widget8) - self.bParam.setMinimumSize(QtCore.QSize(0,30)) - self.bParam.setAutoDefault(True) - self.bParam.setObjectName("bParam") - self.vboxlayout.addWidget(self.bParam) - self.bImport = QtGui.QPushButton(self.Widget8) - self.bImport.setMinimumSize(QtCore.QSize(0,30)) - self.bImport.setAutoDefault(True) - self.bImport.setObjectName("bImport") - self.vboxlayout.addWidget(self.bImport) - self.gridlayout1.addLayout(self.vboxlayout,7,5,2,1) - spacerItem3 = QtGui.QSpacerItem(31,50,QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Expanding) - self.gridlayout1.addItem(spacerItem3,6,5,1,1) - spacerItem4 = QtGui.QSpacerItem(31,50,QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Expanding) - self.gridlayout1.addItem(spacerItem4,9,5,1,1) - self.BSalome = QtGui.QToolButton(self.Widget8) - sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,QtGui.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.BSalome.sizePolicy().hasHeightForWidth()) - self.BSalome.setSizePolicy(sizePolicy) - self.BSalome.setMinimumSize(QtCore.QSize(40,30)) - icon = QtGui.QIcon() - icon.addPixmap(QtGui.QPixmap("image240.gif"),QtGui.QIcon.Normal,QtGui.QIcon.Off) - self.BSalome.setIcon(icon) - self.BSalome.setObjectName("BSalome") - self.gridlayout1.addWidget(self.BSalome,4,3,1,1) - self.BView2D = QtGui.QPushButton(self.Widget8) - self.BView2D.setMinimumSize(QtCore.QSize(120,30)) - self.BView2D.setObjectName("BView2D") - self.gridlayout1.addWidget(self.BView2D,4,4,1,2) - self.hboxlayout = QtGui.QHBoxLayout() - self.hboxlayout.setObjectName("hboxlayout") - self.textLabel1_2 = QtGui.QLabel(self.Widget8) - self.textLabel1_2.setWordWrap(False) - self.textLabel1_2.setObjectName("textLabel1_2") - self.hboxlayout.addWidget(self.textLabel1_2) - spacerItem5 = QtGui.QSpacerItem(111,20,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum) - self.hboxlayout.addItem(spacerItem5) - self.gridlayout1.addLayout(self.hboxlayout,0,3,2,3) + self.gridLayout.addWidget(self.BAjout1Val, 1, 1, 1, 2) self.LEValeur = QtGui.QLineEdit(self.Widget8) - sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Minimum) + sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Minimum) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.LEValeur.sizePolicy().hasHeightForWidth()) self.LEValeur.setSizePolicy(sizePolicy) - self.LEValeur.setMinimumSize(QtCore.QSize(220,30)) + self.LEValeur.setMinimumSize(QtCore.QSize(220, 30)) self.LEValeur.setObjectName("LEValeur") - self.gridlayout1.addWidget(self.LEValeur,2,3,2,3) + self.gridLayout.addWidget(self.LEValeur, 1, 3, 1, 3) self.BSup1Val = QtGui.QToolButton(self.Widget8) - sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,QtGui.QSizePolicy.Fixed) + sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.BSup1Val.sizePolicy().hasHeightForWidth()) self.BSup1Val.setSizePolicy(sizePolicy) - self.BSup1Val.setMinimumSize(QtCore.QSize(40,30)) - icon = QtGui.QIcon() - icon.addPixmap(QtGui.QPixmap("../../EficasV1/Editeur/icons/arrow_right.gif"),QtGui.QIcon.Normal,QtGui.QIcon.Off) - self.BSup1Val.setIcon(icon) + self.BSup1Val.setMinimumSize(QtCore.QSize(40, 30)) + icon1 = QtGui.QIcon() + icon1.addPixmap(QtGui.QPixmap("../../EficasV1/Editeur/icons/arrow_right.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) + self.BSup1Val.setIcon(icon1) self.BSup1Val.setObjectName("BSup1Val") - self.gridlayout1.addWidget(self.BSup1Val,3,1,2,2) + self.gridLayout.addWidget(self.BSup1Val, 2, 1, 1, 2) + self.BSalome = QtGui.QToolButton(self.Widget8) + sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) + sizePolicy.setHorizontalStretch(0) + sizePolicy.setVerticalStretch(0) + sizePolicy.setHeightForWidth(self.BSalome.sizePolicy().hasHeightForWidth()) + self.BSalome.setSizePolicy(sizePolicy) + self.BSalome.setMinimumSize(QtCore.QSize(40, 30)) + icon2 = QtGui.QIcon() + icon2.addPixmap(QtGui.QPixmap("image240.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) + self.BSalome.setIcon(icon2) + self.BSalome.setObjectName("BSalome") + self.gridLayout.addWidget(self.BSalome, 2, 3, 1, 1) + self.BView2D = QtGui.QPushButton(self.Widget8) + self.BView2D.setMinimumSize(QtCore.QSize(120, 30)) + self.BView2D.setObjectName("BView2D") + self.gridLayout.addWidget(self.BView2D, 2, 4, 1, 2) + spacerItem2 = QtGui.QSpacerItem(21, 231, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) + self.gridLayout.addItem(spacerItem2, 3, 1, 5, 2) self.Commentaire = QtGui.QLabel(self.Widget8) - self.Commentaire.setMinimumSize(QtCore.QSize(0,60)) + self.Commentaire.setMinimumSize(QtCore.QSize(0, 60)) self.Commentaire.setWordWrap(False) self.Commentaire.setObjectName("Commentaire") - self.gridlayout1.addWidget(self.Commentaire,5,3,1,3) - self.hboxlayout1 = QtGui.QHBoxLayout() - self.hboxlayout1.setObjectName("hboxlayout1") - self.bSup = QtGui.QPushButton(self.Widget8) - self.bSup.setMinimumSize(QtCore.QSize(0,30)) - self.bSup.setAutoDefault(True) - self.bSup.setObjectName("bSup") - self.hboxlayout1.addWidget(self.bSup) + self.gridLayout.addWidget(self.Commentaire, 3, 3, 1, 3) + spacerItem3 = QtGui.QSpacerItem(31, 50, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) + self.gridLayout.addItem(spacerItem3, 4, 5, 1, 1) + spacerItem4 = QtGui.QSpacerItem(150, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) + self.gridLayout.addItem(spacerItem4, 6, 2, 1, 3) + self.vboxlayout = QtGui.QVBoxLayout() + self.vboxlayout.setObjectName("vboxlayout") + self.bParam = QtGui.QPushButton(self.Widget8) + self.bParam.setMinimumSize(QtCore.QSize(0, 30)) + self.bParam.setAutoDefault(True) + self.bParam.setObjectName("bParam") + self.vboxlayout.addWidget(self.bParam) + self.bImport = QtGui.QPushButton(self.Widget8) + self.bImport.setMinimumSize(QtCore.QSize(0, 30)) + self.bImport.setAutoDefault(True) + self.bImport.setObjectName("bImport") + self.vboxlayout.addWidget(self.bImport) + self.gridLayout.addLayout(self.vboxlayout, 5, 5, 2, 1) + spacerItem5 = QtGui.QSpacerItem(31, 50, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) + self.gridLayout.addItem(spacerItem5, 7, 5, 1, 1) self.bOk = QtGui.QPushButton(self.Widget8) - self.bOk.setMinimumSize(QtCore.QSize(0,30)) + self.bOk.setMinimumSize(QtCore.QSize(0, 30)) self.bOk.setAutoDefault(True) - self.bOk.setDefault(True) + self.bOk.setDefault(False) self.bOk.setObjectName("bOk") - self.hboxlayout1.addWidget(self.bOk) - self.bHelp = QtGui.QPushButton(self.Widget8) - self.bHelp.setMinimumSize(QtCore.QSize(0,30)) - self.bHelp.setAutoDefault(True) - self.bHelp.setObjectName("bHelp") - self.hboxlayout1.addWidget(self.bHelp) - self.gridlayout1.addLayout(self.hboxlayout1,10,0,1,6) - self.tabuniqueinto.addTab(self.Widget8,"") - self.gridlayout.addWidget(self.tabuniqueinto,0,0,1,1) + self.gridLayout.addWidget(self.bOk, 8, 1, 1, 4) + self.tabuniqueinto.addTab(self.Widget8, "") + self.gridlayout.addWidget(self.tabuniqueinto, 0, 0, 1, 1) self.retranslateUi(DPlusBase) QtCore.QMetaObject.connectSlotsByName(DPlusBase) - DPlusBase.setTabOrder(self.LEValeur,self.tabuniqueinto) - DPlusBase.setTabOrder(self.tabuniqueinto,self.bSup) - DPlusBase.setTabOrder(self.bSup,self.bOk) - DPlusBase.setTabOrder(self.bOk,self.bHelp) - DPlusBase.setTabOrder(self.bHelp,self.bParam) - DPlusBase.setTabOrder(self.bParam,self.bImport) - DPlusBase.setTabOrder(self.bImport,self.LBValeurs) - DPlusBase.setTabOrder(self.LBValeurs,self.BView2D) + DPlusBase.setTabOrder(self.LEValeur, self.tabuniqueinto) + DPlusBase.setTabOrder(self.tabuniqueinto, self.bOk) + DPlusBase.setTabOrder(self.bOk, self.bParam) + DPlusBase.setTabOrder(self.bParam, self.bImport) + DPlusBase.setTabOrder(self.bImport, self.LBValeurs) + DPlusBase.setTabOrder(self.LBValeurs, self.BView2D) def retranslateUi(self, DPlusBase): DPlusBase.setWindowTitle(QtGui.QApplication.translate("DPlusBase", "DUnIn", None, QtGui.QApplication.UnicodeUTF8)) self.textLabel1.setText(QtGui.QApplication.translate("DPlusBase", "Valeur(s) actuelle(s)", None, QtGui.QApplication.UnicodeUTF8)) + self.textLabel1_2.setText(QtGui.QApplication.translate("DPlusBase", "Valeur", None, QtGui.QApplication.UnicodeUTF8)) self.BAjout1Val.setToolTip(QtGui.QApplication.translate("DPlusBase", "ajoute la valeur saisie sous l occurence selectionnée (en fin de liste si il n y a pas de selection)", None, QtGui.QApplication.UnicodeUTF8)) + self.BSup1Val.setToolTip(QtGui.QApplication.translate("DPlusBase", "enleve l occurence selectionnee", None, QtGui.QApplication.UnicodeUTF8)) + self.BSalome.setToolTip(QtGui.QApplication.translate("DPlusBase", "ajoute la valeur saisie sous l occurence selectionnée (en fin de liste si il n y a pas de selection)", None, QtGui.QApplication.UnicodeUTF8)) + self.BView2D.setText(QtGui.QApplication.translate("DPlusBase", "Visualiser", None, QtGui.QApplication.UnicodeUTF8)) self.bParam.setToolTip(QtGui.QApplication.translate("DPlusBase", "suppression du mot clef", None, QtGui.QApplication.UnicodeUTF8)) self.bParam.setText(QtGui.QApplication.translate("DPlusBase", "&Parametres", None, QtGui.QApplication.UnicodeUTF8)) self.bParam.setShortcut(QtGui.QApplication.translate("DPlusBase", "Alt+P", None, QtGui.QApplication.UnicodeUTF8)) self.bImport.setToolTip(QtGui.QApplication.translate("DPlusBase", "suppression du mot clef", None, QtGui.QApplication.UnicodeUTF8)) self.bImport.setText(QtGui.QApplication.translate("DPlusBase", "&Importer", None, QtGui.QApplication.UnicodeUTF8)) self.bImport.setShortcut(QtGui.QApplication.translate("DPlusBase", "Alt+I", None, QtGui.QApplication.UnicodeUTF8)) - self.BSalome.setToolTip(QtGui.QApplication.translate("DPlusBase", "ajoute la valeur saisie sous l occurence selectionnée (en fin de liste si il n y a pas de selection)", None, QtGui.QApplication.UnicodeUTF8)) - self.BView2D.setText(QtGui.QApplication.translate("DPlusBase", "Visualiser", None, QtGui.QApplication.UnicodeUTF8)) - self.textLabel1_2.setText(QtGui.QApplication.translate("DPlusBase", "Valeur", None, QtGui.QApplication.UnicodeUTF8)) - self.BSup1Val.setToolTip(QtGui.QApplication.translate("DPlusBase", "enleve l occurence selectionnee", None, QtGui.QApplication.UnicodeUTF8)) - self.bSup.setToolTip(QtGui.QApplication.translate("DPlusBase", "suppression du mot clef", None, QtGui.QApplication.UnicodeUTF8)) - self.bSup.setText(QtGui.QApplication.translate("DPlusBase", "&Supprimer", None, QtGui.QApplication.UnicodeUTF8)) - self.bSup.setShortcut(QtGui.QApplication.translate("DPlusBase", "Alt+S", None, QtGui.QApplication.UnicodeUTF8)) self.bOk.setToolTip(QtGui.QApplication.translate("DPlusBase", "validation de la saisie", None, QtGui.QApplication.UnicodeUTF8)) self.bOk.setText(QtGui.QApplication.translate("DPlusBase", "&Valider", None, QtGui.QApplication.UnicodeUTF8)) self.bOk.setShortcut(QtGui.QApplication.translate("DPlusBase", "Shift+A, Alt+A, Alt+A, Alt+A", None, QtGui.QApplication.UnicodeUTF8)) - self.bHelp.setToolTip(QtGui.QApplication.translate("DPlusBase", "affichage documentation aster", None, QtGui.QApplication.UnicodeUTF8)) - self.bHelp.setText(QtGui.QApplication.translate("DPlusBase", "&Documentation", None, QtGui.QApplication.UnicodeUTF8)) - self.bHelp.setShortcut(QtGui.QApplication.translate("DPlusBase", "Alt+D", None, QtGui.QApplication.UnicodeUTF8)) self.tabuniqueinto.setTabText(self.tabuniqueinto.indexOf(self.Widget8), QtGui.QApplication.translate("DPlusBase", "Saisir Valeur", None, QtGui.QApplication.UnicodeUTF8)) diff --git a/UiQT4/desPlusieursBase.ui b/UiQT4/desPlusieursBase.ui index 261d4a8d..44371528 100644 --- a/UiQT4/desPlusieursBase.ui +++ b/UiQT4/desPlusieursBase.ui @@ -22,18 +22,10 @@ - - - 0 - 0 - 530 - 435 - - Saisir Valeur - + @@ -44,32 +36,6 @@ - - - - - 200 - 0 - - - - - - - - Qt::Vertical - - - QSizePolicy::Expanding - - - - 21 - 231 - - - - @@ -86,130 +52,48 @@ - - - - - 0 - 0 - - - - - 40 - 30 - - - - ajoute la valeur saisie sous l occurence selectionnée (en fin de liste si il n y a pas de selection) - - - - - - - ../Editeur/icons/arrow_left.png../Editeur/icons/arrow_left.png - - - - - - - Qt::Horizontal - - - QSizePolicy::Expanding - - - - 150 - 20 - - - - - - + + - - - - 0 - 30 - - - - suppression du mot clef - + - &Parametres - - - Alt+P + <font size="+1">Valeur</font> - - true + + false - - - - 0 - 30 - - - - suppression du mot clef - - - &Importer + + + Qt::Horizontal - - Alt+I + + QSizePolicy::Expanding - - true + + + 111 + 20 + - + - - - - Qt::Vertical - - - QSizePolicy::Expanding - - - - 31 - 50 - - - - - - - - Qt::Vertical - - - QSizePolicy::Expanding - - + + + - 31 - 50 + 200 + 0 - + - - + + 0 @@ -230,71 +114,54 @@ - image240.pngimage240.png + ../Editeur/icons/arrow_left.png../Editeur/icons/arrow_left.png - - + + + + + 0 + 0 + + - 120 + 220 30 - - Visualiser - - - - - - - <font size="+1">Valeur</font> - - - false - - - - - - - Qt::Horizontal - - - QSizePolicy::Expanding - - - - 111 - 20 - - - - - - - - + + - + 0 0 - 220 + 40 30 + + enleve l occurence selectionnee + + + + + + + ../../EficasV1/Editeur/icons/arrow_right.png../../EficasV1/Editeur/icons/arrow_right.png + - - + + 0 @@ -308,18 +175,47 @@ - enleve l occurence selectionnee + ajoute la valeur saisie sous l occurence selectionnée (en fin de liste si il n y a pas de selection) - ../../EficasV1/Editeur/icons/arrow_right.png../../EficasV1/Editeur/icons/arrow_right.png + image240.pngimage240.png - + + + + + 120 + 30 + + + + Visualiser + + + + + + + Qt::Vertical + + + QSizePolicy::Expanding + + + + 21 + 231 + + + + + @@ -335,10 +231,42 @@ - - + + + + Qt::Vertical + + + QSizePolicy::Expanding + + + + 31 + 50 + + + + + + + + Qt::Horizontal + + + QSizePolicy::Expanding + + + + 150 + 20 + + + + + + - + 0 @@ -349,43 +277,18 @@ suppression du mot clef - &Supprimer - - - Alt+S - - - true - - - - - - - - 0 - 30 - - - - validation de la saisie - - - &Valider + &Parametres - Shift+A, Alt+A, Alt+A, Alt+A + Alt+P true - - false - - + 0 @@ -393,13 +296,13 @@ - affichage documentation aster + suppression du mot clef - &Documentation + &Importer - Alt+D + Alt+I true @@ -408,6 +311,47 @@ + + + + Qt::Vertical + + + QSizePolicy::Expanding + + + + 31 + 50 + + + + + + + + + 0 + 30 + + + + validation de la saisie + + + &Valider + + + Shift+A, Alt+A, Alt+A, Alt+A + + + true + + + false + + + @@ -418,9 +362,7 @@ LEValeur tabuniqueinto - bSup bOk - bHelp bParam bImport LBValeurs diff --git a/UiQT4/desPlusieursInto.py b/UiQT4/desPlusieursInto.py index 5165f98e..103a0eae 100644 --- a/UiQT4/desPlusieursInto.py +++ b/UiQT4/desPlusieursInto.py @@ -2,8 +2,8 @@ # Form implementation generated from reading ui file 'desPlusieursInto.ui' # -# Created: Tue Nov 18 17:37:25 2008 -# by: PyQt4 UI code generator 4.4.2 +# Created: Thu Mar 12 10:42:31 2009 +# by: PyQt4 UI code generator 4.4.3 # # WARNING! All changes made in this file will be lost! @@ -12,112 +12,88 @@ from PyQt4 import QtCore, QtGui class Ui_DPlusInto(object): def setupUi(self, DPlusInto): DPlusInto.setObjectName("DPlusInto") - DPlusInto.resize(482,480) - DPlusInto.setMinimumSize(QtCore.QSize(350,0)) + DPlusInto.resize(482, 480) + DPlusInto.setMinimumSize(QtCore.QSize(350, 0)) self.gridlayout = QtGui.QGridLayout(DPlusInto) self.gridlayout.setObjectName("gridlayout") self.tabuniqueinto = QtGui.QTabWidget(DPlusInto) self.tabuniqueinto.setObjectName("tabuniqueinto") self.Widget8 = QtGui.QWidget() - self.Widget8.setGeometry(QtCore.QRect(0,0,460,435)) self.Widget8.setObjectName("Widget8") - self.gridlayout1 = QtGui.QGridLayout(self.Widget8) - self.gridlayout1.setObjectName("gridlayout1") self.textLabel1 = QtGui.QLabel(self.Widget8) + self.textLabel1.setGeometry(QtCore.QRect(9, 9, 203, 19)) self.textLabel1.setWordWrap(False) self.textLabel1.setObjectName("textLabel1") - self.gridlayout1.addWidget(self.textLabel1,0,0,1,2) - self.bSup = QtGui.QPushButton(self.Widget8) - self.bSup.setMinimumSize(QtCore.QSize(130,30)) - self.bSup.setAutoDefault(True) - self.bSup.setObjectName("bSup") - self.gridlayout1.addWidget(self.bSup,3,0,1,1) self.bOk = QtGui.QPushButton(self.Widget8) - self.bOk.setMinimumSize(QtCore.QSize(130,30)) + self.bOk.setGeometry(QtCore.QRect(149, 396, 130, 30)) + self.bOk.setMinimumSize(QtCore.QSize(130, 30)) self.bOk.setAutoDefault(True) self.bOk.setDefault(True) self.bOk.setObjectName("bOk") - self.gridlayout1.addWidget(self.bOk,3,1,1,2) - self.bHelp = QtGui.QPushButton(self.Widget8) - sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(150) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.bHelp.sizePolicy().hasHeightForWidth()) - self.bHelp.setSizePolicy(sizePolicy) - self.bHelp.setMinimumSize(QtCore.QSize(130,30)) - self.bHelp.setAutoDefault(True) - self.bHelp.setObjectName("bHelp") - self.gridlayout1.addWidget(self.bHelp,3,3,1,1) self.Commentaire = QtGui.QLabel(self.Widget8) - self.Commentaire.setMinimumSize(QtCore.QSize(0,40)) + self.Commentaire.setGeometry(QtCore.QRect(9, 356, 442, 31)) + self.Commentaire.setMinimumSize(QtCore.QSize(0, 20)) self.Commentaire.setWordWrap(False) self.Commentaire.setObjectName("Commentaire") - self.gridlayout1.addWidget(self.Commentaire,2,0,1,4) - self.hboxlayout = QtGui.QHBoxLayout() + self.textLabel1_2 = QtGui.QLabel(self.Widget8) + self.textLabel1_2.setGeometry(QtCore.QRect(217, 9, 234, 19)) + self.textLabel1_2.setWordWrap(False) + self.textLabel1_2.setObjectName("textLabel1_2") + self.widget = QtGui.QWidget(self.Widget8) + self.widget.setGeometry(QtCore.QRect(9, 33, 442, 331)) + self.widget.setObjectName("widget") + self.hboxlayout = QtGui.QHBoxLayout(self.widget) self.hboxlayout.setObjectName("hboxlayout") - self.LBValeurs = QtGui.QListWidget(self.Widget8) + self.LBValeurs = QtGui.QListWidget(self.widget) self.LBValeurs.setObjectName("LBValeurs") self.hboxlayout.addWidget(self.LBValeurs) self.vboxlayout = QtGui.QVBoxLayout() self.vboxlayout.setObjectName("vboxlayout") - spacerItem = QtGui.QSpacerItem(21,44,QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Expanding) + spacerItem = QtGui.QSpacerItem(21, 44, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.vboxlayout.addItem(spacerItem) self.vboxlayout1 = QtGui.QVBoxLayout() self.vboxlayout1.setObjectName("vboxlayout1") - self.BAjout1Val = QtGui.QToolButton(self.Widget8) - self.BAjout1Val.setMinimumSize(QtCore.QSize(40,31)) - self.BAjout1Val.setMaximumSize(QtCore.QSize(40,31)) + self.BAjout1Val = QtGui.QToolButton(self.widget) + self.BAjout1Val.setMinimumSize(QtCore.QSize(40, 31)) + self.BAjout1Val.setMaximumSize(QtCore.QSize(40, 31)) icon = QtGui.QIcon() - icon.addPixmap(QtGui.QPixmap("../../EficasV1/Editeur/icons/arrow_left.gif"),QtGui.QIcon.Normal,QtGui.QIcon.Off) + icon.addPixmap(QtGui.QPixmap("../Editeur/icons/arrow_left.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.BAjout1Val.setIcon(icon) self.BAjout1Val.setObjectName("BAjout1Val") self.vboxlayout1.addWidget(self.BAjout1Val) - self.BSup1Val = QtGui.QToolButton(self.Widget8) - self.BSup1Val.setMinimumSize(QtCore.QSize(40,31)) - self.BSup1Val.setMaximumSize(QtCore.QSize(40,31)) - icon = QtGui.QIcon() - icon.addPixmap(QtGui.QPixmap("../Editeur/icons/arrow_right.gif"),QtGui.QIcon.Normal,QtGui.QIcon.Off) - self.BSup1Val.setIcon(icon) + self.BSup1Val = QtGui.QToolButton(self.widget) + self.BSup1Val.setMinimumSize(QtCore.QSize(40, 31)) + self.BSup1Val.setMaximumSize(QtCore.QSize(40, 31)) + icon1 = QtGui.QIcon() + icon1.addPixmap(QtGui.QPixmap("../Editeur/icons/arrow_right.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) + self.BSup1Val.setIcon(icon1) self.BSup1Val.setObjectName("BSup1Val") self.vboxlayout1.addWidget(self.BSup1Val) - spacerItem1 = QtGui.QSpacerItem(21,176,QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Expanding) + spacerItem1 = QtGui.QSpacerItem(21, 176, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.vboxlayout1.addItem(spacerItem1) self.vboxlayout.addLayout(self.vboxlayout1) self.hboxlayout.addLayout(self.vboxlayout) - self.listBoxVal = QtGui.QListWidget(self.Widget8) + self.listBoxVal = QtGui.QListWidget(self.widget) self.listBoxVal.setObjectName("listBoxVal") self.hboxlayout.addWidget(self.listBoxVal) - self.gridlayout1.addLayout(self.hboxlayout,1,0,1,4) - self.textLabel1_2 = QtGui.QLabel(self.Widget8) - self.textLabel1_2.setWordWrap(False) - self.textLabel1_2.setObjectName("textLabel1_2") - self.gridlayout1.addWidget(self.textLabel1_2,0,2,1,2) - self.tabuniqueinto.addTab(self.Widget8,"") - self.gridlayout.addWidget(self.tabuniqueinto,0,0,1,1) + self.tabuniqueinto.addTab(self.Widget8, "") + self.gridlayout.addWidget(self.tabuniqueinto, 0, 0, 1, 1) self.retranslateUi(DPlusInto) QtCore.QMetaObject.connectSlotsByName(DPlusInto) - DPlusInto.setTabOrder(self.listBoxVal,self.tabuniqueinto) - DPlusInto.setTabOrder(self.tabuniqueinto,self.bSup) - DPlusInto.setTabOrder(self.bSup,self.bOk) - DPlusInto.setTabOrder(self.bOk,self.bHelp) - DPlusInto.setTabOrder(self.bHelp,self.LBValeurs) + DPlusInto.setTabOrder(self.listBoxVal, self.tabuniqueinto) + DPlusInto.setTabOrder(self.tabuniqueinto, self.bOk) + DPlusInto.setTabOrder(self.bOk, self.LBValeurs) def retranslateUi(self, DPlusInto): DPlusInto.setWindowTitle(QtGui.QApplication.translate("DPlusInto", "DUnIn", None, QtGui.QApplication.UnicodeUTF8)) self.textLabel1.setText(QtGui.QApplication.translate("DPlusInto", "Valeur(s) actuelle(s)", None, QtGui.QApplication.UnicodeUTF8)) - self.bSup.setToolTip(QtGui.QApplication.translate("DPlusInto", "suppression du mot clef", None, QtGui.QApplication.UnicodeUTF8)) - self.bSup.setText(QtGui.QApplication.translate("DPlusInto", "&Supprimer", None, QtGui.QApplication.UnicodeUTF8)) - self.bSup.setShortcut(QtGui.QApplication.translate("DPlusInto", "Alt+S", None, QtGui.QApplication.UnicodeUTF8)) self.bOk.setToolTip(QtGui.QApplication.translate("DPlusInto", "validation de la saisie", None, QtGui.QApplication.UnicodeUTF8)) self.bOk.setText(QtGui.QApplication.translate("DPlusInto", "&Valider", None, QtGui.QApplication.UnicodeUTF8)) self.bOk.setShortcut(QtGui.QApplication.translate("DPlusInto", "Shift+A, Alt+A, Alt+A, Alt+A", None, QtGui.QApplication.UnicodeUTF8)) - self.bHelp.setToolTip(QtGui.QApplication.translate("DPlusInto", "affichage documentation aster", None, QtGui.QApplication.UnicodeUTF8)) - self.bHelp.setText(QtGui.QApplication.translate("DPlusInto", "&Documentation", None, QtGui.QApplication.UnicodeUTF8)) - self.bHelp.setShortcut(QtGui.QApplication.translate("DPlusInto", "Alt+D", None, QtGui.QApplication.UnicodeUTF8)) + self.textLabel1_2.setText(QtGui.QApplication.translate("DPlusInto", "Valeur(s) possibles(s)", None, QtGui.QApplication.UnicodeUTF8)) self.BAjout1Val.setToolTip(QtGui.QApplication.translate("DPlusInto", "enleve l occurence selectionnee", None, QtGui.QApplication.UnicodeUTF8)) self.BSup1Val.setToolTip(QtGui.QApplication.translate("DPlusInto", "ajoute la valeur saisie sous l occurence selectionnée (en fin de liste si il n y a pas de selection)", None, QtGui.QApplication.UnicodeUTF8)) - self.textLabel1_2.setText(QtGui.QApplication.translate("DPlusInto", "Valeur(s) possibles(s)", None, QtGui.QApplication.UnicodeUTF8)) self.tabuniqueinto.setTabText(self.tabuniqueinto.indexOf(self.Widget8), QtGui.QApplication.translate("DPlusInto", "Saisir Valeur", None, QtGui.QApplication.UnicodeUTF8)) diff --git a/UiQT4/desPlusieursInto.ui b/UiQT4/desPlusieursInto.ui index d4e63a46..62b59acd 100644 --- a/UiQT4/desPlusieursInto.ui +++ b/UiQT4/desPlusieursInto.ui @@ -22,232 +22,204 @@ - - - 0 - 0 - 460 - 435 - - Saisir Valeur - - - - - <u><font size="+1">Valeur(s) actuelle(s)</font></u> - - - false - - - - - - - - 130 - 30 - - - - suppression du mot clef - - - &Supprimer - - - Alt+S - - - true - - - - - - - - 130 - 30 - - - - validation de la saisie - - - &Valider - - - Shift+A, Alt+A, Alt+A, Alt+A - - - true - - - true - - - - - - - - 150 - 0 - - - - - 130 - 30 - - - - affichage documentation aster - - - &Documentation - - - Alt+D - - - true - - - - - - - - 0 - 40 - - - - - - - false - - - - - - - - - - - - - - Qt::Vertical - - - QSizePolicy::Expanding - - - - 21 - 44 - - - - - - - - - - - 40 - 31 - - - - - 40 - 31 - - - - enleve l occurence selectionnee - - - - - - - ../Editeur/icons/arrow_left.png../Editeur/icons/arrow_left.png - - - - - - - - 40 - 31 - - - - - 40 - 31 - - - - ajoute la valeur saisie sous l occurence selectionnée (en fin de liste si il n y a pas de selection) - - - - - - - ../Editeur/icons/arrow_right.png../Editeur/icons/arrow_right.png - - - - - - - Qt::Vertical - - - QSizePolicy::Expanding - - - - 21 - 176 - - - - - - - - - - - - - - - - - <u><font size="+1">Valeur(s) possibles(s)</font></u> - - - false - - - - + + + + 9 + 9 + 203 + 19 + + + + <u><font size="+1">Valeur(s) actuelle(s)</font></u> + + + false + + + + + + 149 + 396 + 130 + 30 + + + + + 130 + 30 + + + + validation de la saisie + + + &Valider + + + Shift+A, Alt+A, Alt+A, Alt+A + + + true + + + true + + + + + + 9 + 356 + 442 + 31 + + + + + 0 + 20 + + + + + + + false + + + + + + 217 + 9 + 234 + 19 + + + + <u><font size="+1">Valeur(s) possibles(s)</font></u> + + + false + + + + + + 9 + 33 + 442 + 331 + + + + + + + + + + + + Qt::Vertical + + + QSizePolicy::Expanding + + + + 21 + 44 + + + + + + + + + + + 40 + 31 + + + + + 40 + 31 + + + + enleve l occurence selectionnee + + + + + + + ../Editeur/icons/arrow_left.png../Editeur/icons/arrow_left.png + + + + + + + + 40 + 31 + + + + + 40 + 31 + + + + ajoute la valeur saisie sous l occurence selectionnée (en fin de liste si il n y a pas de selection) + + + + + + + ../Editeur/icons/arrow_right.png../Editeur/icons/arrow_right.png + + + + + + + Qt::Vertical + + + QSizePolicy::Expanding + + + + 21 + 176 + + + + + + + + + + + + + @@ -257,9 +229,7 @@ listBoxVal tabuniqueinto - bSup bOk - bHelp LBValeurs diff --git a/UiQT4/desPoursuite.py b/UiQT4/desPoursuite.py index d02e1fc3..590b3058 100644 --- a/UiQT4/desPoursuite.py +++ b/UiQT4/desPoursuite.py @@ -2,8 +2,8 @@ # Form implementation generated from reading ui file 'desPoursuite.ui' # -# Created: Tue Nov 18 17:37:25 2008 -# by: PyQt4 UI code generator 4.4.2 +# Created: Thu Mar 12 10:42:31 2009 +# by: PyQt4 UI code generator 4.4.3 # # WARNING! All changes made in this file will be lost! @@ -12,43 +12,41 @@ from PyQt4 import QtCore, QtGui class Ui_DPour(object): def setupUi(self, DPour): DPour.setObjectName("DPour") - DPour.resize(521,544) - DPour.setMinimumSize(QtCore.QSize(505,0)) + DPour.resize(521, 544) + DPour.setMinimumSize(QtCore.QSize(505, 0)) self.gridlayout = QtGui.QGridLayout(DPour) self.gridlayout.setObjectName("gridlayout") self.TWChoix = QtGui.QTabWidget(DPour) self.TWChoix.setObjectName("TWChoix") self.MotClef = QtGui.QWidget() - self.MotClef.setGeometry(QtCore.QRect(0,0,499,433)) self.MotClef.setObjectName("MotClef") self.gridLayout_4 = QtGui.QGridLayout(self.MotClef) self.gridLayout_4.setObjectName("gridLayout_4") self.textLabel1 = QtGui.QLabel(self.MotClef) - self.textLabel1.setMinimumSize(QtCore.QSize(0,0)) + self.textLabel1.setMinimumSize(QtCore.QSize(0, 0)) self.textLabel1.setWordWrap(False) self.textLabel1.setObjectName("textLabel1") - self.gridLayout_4.addWidget(self.textLabel1,0,0,1,1) + self.gridLayout_4.addWidget(self.textLabel1, 0, 0, 1, 1) self.textLabel1_2 = QtGui.QLabel(self.MotClef) self.textLabel1_2.setWordWrap(False) self.textLabel1_2.setObjectName("textLabel1_2") - self.gridLayout_4.addWidget(self.textLabel1_2,0,1,1,1) + self.gridLayout_4.addWidget(self.textLabel1_2, 0, 1, 1, 1) self.LBMCPermis = QtGui.QListWidget(self.MotClef) - self.LBMCPermis.setMinimumSize(QtCore.QSize(0,0)) + self.LBMCPermis.setMinimumSize(QtCore.QSize(0, 0)) self.LBMCPermis.setObjectName("LBMCPermis") - self.gridLayout_4.addWidget(self.LBMCPermis,1,0,1,1) + self.gridLayout_4.addWidget(self.LBMCPermis, 1, 0, 1, 1) self.LBRegles = QtGui.QListWidget(self.MotClef) self.LBRegles.setObjectName("LBRegles") - self.gridLayout_4.addWidget(self.LBRegles,1,1,1,1) - self.TWChoix.addTab(self.MotClef,"") + self.gridLayout_4.addWidget(self.LBRegles, 1, 1, 1, 1) + self.TWChoix.addTab(self.MotClef, "") self.Commande = QtGui.QWidget() - self.Commande.setGeometry(QtCore.QRect(0,0,499,433)) self.Commande.setObjectName("Commande") self.gridLayout_3 = QtGui.QGridLayout(self.Commande) self.gridLayout_3.setObjectName("gridLayout_3") self.textLabel1_4 = QtGui.QLabel(self.Commande) self.textLabel1_4.setWordWrap(False) self.textLabel1_4.setObjectName("textLabel1_4") - self.gridLayout_3.addWidget(self.textLabel1_4,0,0,1,3) + self.gridLayout_3.addWidget(self.textLabel1_4, 0, 0, 1, 3) self.groupBox = QtGui.QGroupBox(self.Commande) self.groupBox.setObjectName("groupBox") self.gridLayout = QtGui.QGridLayout(self.groupBox) @@ -56,98 +54,82 @@ class Ui_DPour(object): self.RBalpha = QtGui.QRadioButton(self.groupBox) self.RBalpha.setChecked(True) self.RBalpha.setObjectName("RBalpha") - self.gridLayout.addWidget(self.RBalpha,0,0,1,1) + self.gridLayout.addWidget(self.RBalpha, 0, 0, 1, 1) self.RBGroupe = QtGui.QRadioButton(self.groupBox) self.RBGroupe.setObjectName("RBGroupe") - self.gridLayout.addWidget(self.RBGroupe,1,0,1,1) - self.gridLayout_3.addWidget(self.groupBox,0,3,2,1) + self.gridLayout.addWidget(self.RBGroupe, 1, 0, 1, 1) + self.gridLayout_3.addWidget(self.groupBox, 0, 3, 2, 1) self.textLabel6 = QtGui.QLabel(self.Commande) - self.textLabel6.setMinimumSize(QtCore.QSize(50,30)) + self.textLabel6.setMinimumSize(QtCore.QSize(50, 30)) self.textLabel6.setWordWrap(False) self.textLabel6.setObjectName("textLabel6") - self.gridLayout_3.addWidget(self.textLabel6,1,0,1,1) + self.gridLayout_3.addWidget(self.textLabel6, 1, 0, 1, 1) self.LEFiltre = QtGui.QLineEdit(self.Commande) - self.LEFiltre.setMinimumSize(QtCore.QSize(160,30)) + self.LEFiltre.setMinimumSize(QtCore.QSize(160, 30)) self.LEFiltre.setObjectName("LEFiltre") - self.gridLayout_3.addWidget(self.LEFiltre,1,1,1,1) + self.gridLayout_3.addWidget(self.LEFiltre, 1, 1, 1, 1) self.pushButton = QtGui.QPushButton(self.Commande) self.pushButton.setObjectName("pushButton") - self.gridLayout_3.addWidget(self.pushButton,1,2,1,1) + self.gridLayout_3.addWidget(self.pushButton, 1, 2, 1, 1) self.LBNouvCommande = QtGui.QListWidget(self.Commande) self.LBNouvCommande.setObjectName("LBNouvCommande") - self.gridLayout_3.addWidget(self.LBNouvCommande,2,0,1,4) + self.gridLayout_3.addWidget(self.LBNouvCommande, 2, 0, 1, 4) self.textLabel4 = QtGui.QLabel(self.Commande) self.textLabel4.setWordWrap(False) self.textLabel4.setObjectName("textLabel4") - self.gridLayout_3.addWidget(self.textLabel4,3,0,1,4) - self.TWChoix.addTab(self.Commande,"") + self.gridLayout_3.addWidget(self.textLabel4, 3, 0, 1, 4) + self.TWChoix.addTab(self.Commande, "") self.TabPage = QtGui.QWidget() - self.TabPage.setGeometry(QtCore.QRect(0,0,499,433)) self.TabPage.setObjectName("TabPage") - self.gridLayout_2 = QtGui.QGridLayout(self.TabPage) - self.gridLayout_2.setObjectName("gridLayout_2") self.textLabel1_3 = QtGui.QLabel(self.TabPage) + self.textLabel1_3.setGeometry(QtCore.QRect(9, 9, 481, 19)) self.textLabel1_3.setWordWrap(False) self.textLabel1_3.setObjectName("textLabel1_3") - self.gridLayout_2.addWidget(self.textLabel1_3,0,0,1,1) self.LENomFichier = QtGui.QLineEdit(self.TabPage) - self.LENomFichier.setMinimumSize(QtCore.QSize(470,40)) + self.LENomFichier.setGeometry(QtCore.QRect(9, 33, 481, 40)) + self.LENomFichier.setMinimumSize(QtCore.QSize(470, 40)) self.LENomFichier.setObjectName("LENomFichier") - self.gridLayout_2.addWidget(self.LENomFichier,1,0,1,1) - spacerItem = QtGui.QSpacerItem(21,190,QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Expanding) - self.gridLayout_2.addItem(spacerItem,2,0,1,1) - self.hboxlayout = QtGui.QHBoxLayout() - self.hboxlayout.setObjectName("hboxlayout") - spacerItem1 = QtGui.QSpacerItem(331,20,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum) - self.hboxlayout.addItem(spacerItem1) + self.BFichier = QtGui.QPushButton(self.TabPage) + self.BFichier.setGeometry(QtCore.QRect(330, 170, 140, 50)) + sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) + sizePolicy.setHorizontalStretch(0) + sizePolicy.setVerticalStretch(0) + sizePolicy.setHeightForWidth(self.BFichier.sizePolicy().hasHeightForWidth()) + self.BFichier.setSizePolicy(sizePolicy) + self.BFichier.setMinimumSize(QtCore.QSize(140, 50)) + self.BFichier.setObjectName("BFichier") self.BBrowse = QtGui.QPushButton(self.TabPage) - sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,QtGui.QSizePolicy.Fixed) + self.BBrowse.setGeometry(QtCore.QRect(330, 110, 140, 50)) + sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.BBrowse.sizePolicy().hasHeightForWidth()) self.BBrowse.setSizePolicy(sizePolicy) - self.BBrowse.setMinimumSize(QtCore.QSize(140,50)) + self.BBrowse.setMinimumSize(QtCore.QSize(140, 50)) self.BBrowse.setObjectName("BBrowse") - self.hboxlayout.addWidget(self.BBrowse) - self.gridLayout_2.addLayout(self.hboxlayout,3,0,1,1) - spacerItem2 = QtGui.QSpacerItem(21,87,QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Expanding) - self.gridLayout_2.addItem(spacerItem2,4,0,1,1) - self.TWChoix.addTab(self.TabPage,"") - self.gridlayout.addWidget(self.TWChoix,0,0,1,3) - self.bSup = QtGui.QPushButton(DPour) - self.bSup.setMinimumSize(QtCore.QSize(0,30)) - self.bSup.setAutoDefault(True) - self.bSup.setObjectName("bSup") - self.gridlayout.addWidget(self.bSup,2,0,1,1) + self.TWChoix.addTab(self.TabPage, "") + self.gridlayout.addWidget(self.TWChoix, 0, 0, 1, 3) self.bOk = QtGui.QPushButton(DPour) - self.bOk.setMinimumSize(QtCore.QSize(0,30)) + self.bOk.setMinimumSize(QtCore.QSize(0, 30)) self.bOk.setAutoDefault(True) self.bOk.setDefault(True) self.bOk.setObjectName("bOk") - self.gridlayout.addWidget(self.bOk,2,1,1,1) - self.bHelp = QtGui.QPushButton(DPour) - self.bHelp.setMinimumSize(QtCore.QSize(0,30)) - self.bHelp.setAutoDefault(True) - self.bHelp.setObjectName("bHelp") - self.gridlayout.addWidget(self.bHelp,2,2,1,1) + self.gridlayout.addWidget(self.bOk, 2, 1, 1, 1) self.Commentaire = QtGui.QLabel(DPour) self.Commentaire.setWordWrap(False) self.Commentaire.setObjectName("Commentaire") - self.gridlayout.addWidget(self.Commentaire,1,0,1,3) + self.gridlayout.addWidget(self.Commentaire, 1, 0, 1, 3) self.retranslateUi(DPour) - self.TWChoix.setCurrentIndex(0) + self.TWChoix.setCurrentIndex(2) QtCore.QMetaObject.connectSlotsByName(DPour) - DPour.setTabOrder(self.LEFiltre,self.LENomFichier) - DPour.setTabOrder(self.LENomFichier,self.TWChoix) - DPour.setTabOrder(self.TWChoix,self.LBMCPermis) - DPour.setTabOrder(self.LBMCPermis,self.LBRegles) - DPour.setTabOrder(self.LBRegles,self.LBNouvCommande) - DPour.setTabOrder(self.LBNouvCommande,self.RBalpha) - DPour.setTabOrder(self.RBalpha,self.BBrowse) - DPour.setTabOrder(self.BBrowse,self.bSup) - DPour.setTabOrder(self.bSup,self.bOk) - DPour.setTabOrder(self.bOk,self.bHelp) + DPour.setTabOrder(self.LEFiltre, self.LENomFichier) + DPour.setTabOrder(self.LENomFichier, self.TWChoix) + DPour.setTabOrder(self.TWChoix, self.LBMCPermis) + DPour.setTabOrder(self.LBMCPermis, self.LBRegles) + DPour.setTabOrder(self.LBRegles, self.LBNouvCommande) + DPour.setTabOrder(self.LBNouvCommande, self.RBalpha) + DPour.setTabOrder(self.RBalpha, self.bOk) def retranslateUi(self, DPour): DPour.setWindowTitle(QtGui.QApplication.translate("DPour", "DMacro", None, QtGui.QApplication.UnicodeUTF8)) @@ -163,17 +145,12 @@ class Ui_DPour(object): self.textLabel4.setText(QtGui.QApplication.translate("DPour", "La commande choisie sera ajoutée APRES la commande courante", None, QtGui.QApplication.UnicodeUTF8)) self.TWChoix.setTabText(self.TWChoix.indexOf(self.Commande), QtGui.QApplication.translate("DPour", "Nouvelle Commande", None, QtGui.QApplication.UnicodeUTF8)) self.textLabel1_3.setText(QtGui.QApplication.translate("DPour", "La commande POURSUITE requiert un nom de Fichier :", None, QtGui.QApplication.UnicodeUTF8)) + self.BFichier.setText(QtGui.QApplication.translate("DPour", "Autre Fichier", None, QtGui.QApplication.UnicodeUTF8)) self.BBrowse.setText(QtGui.QApplication.translate("DPour", "Edit", None, QtGui.QApplication.UnicodeUTF8)) self.TWChoix.setTabText(self.TWChoix.indexOf(self.TabPage), QtGui.QApplication.translate("DPour", "Fichier Poursuite", None, QtGui.QApplication.UnicodeUTF8)) - self.bSup.setToolTip(QtGui.QApplication.translate("DPour", "suppression du mot clef", None, QtGui.QApplication.UnicodeUTF8)) - self.bSup.setText(QtGui.QApplication.translate("DPour", "&Supprimer", None, QtGui.QApplication.UnicodeUTF8)) - self.bSup.setShortcut(QtGui.QApplication.translate("DPour", "Alt+S", None, QtGui.QApplication.UnicodeUTF8)) self.bOk.setToolTip(QtGui.QApplication.translate("DPour", "validation de la saisie", None, QtGui.QApplication.UnicodeUTF8)) self.bOk.setText(QtGui.QApplication.translate("DPour", "&Valider", None, QtGui.QApplication.UnicodeUTF8)) self.bOk.setShortcut(QtGui.QApplication.translate("DPour", "Shift+A, Alt+A, Alt+A, Alt+A", None, QtGui.QApplication.UnicodeUTF8)) - self.bHelp.setToolTip(QtGui.QApplication.translate("DPour", "affichage documentation aster", None, QtGui.QApplication.UnicodeUTF8)) - self.bHelp.setText(QtGui.QApplication.translate("DPour", "&Documentation", None, QtGui.QApplication.UnicodeUTF8)) - self.bHelp.setShortcut(QtGui.QApplication.translate("DPour", "Alt+D", None, QtGui.QApplication.UnicodeUTF8)) if __name__ == "__main__": diff --git a/UiQT4/desPoursuite.ui b/UiQT4/desPoursuite.ui index 71a35017..7fc41bf7 100644 --- a/UiQT4/desPoursuite.ui +++ b/UiQT4/desPoursuite.ui @@ -22,17 +22,9 @@ - 0 + 2 - - - 0 - 0 - 499 - 433 - - Ajouter Mot-Clef @@ -79,14 +71,6 @@ - - - 0 - 0 - 499 - 433 - - Nouvelle Commande @@ -176,135 +160,94 @@ - - - 0 - 0 - 499 - 433 - - Fichier Poursuite - - - - - <font size="+1">La commande POURSUITE requiert un nom de Fichier :</font> - - - false - - - - - - - - 470 - 40 - - - - - - - - Qt::Vertical - - - QSizePolicy::Expanding - - - - 21 - 190 - - - - - - - - - - Qt::Horizontal - - - QSizePolicy::Expanding - - - - 331 - 20 - - - - - - - - - 0 - 0 - - - - - 140 - 50 - - - - Edit - - - - - - - - - Qt::Vertical - - - QSizePolicy::Expanding - - - - 21 - 87 - - - - - + + + + 9 + 9 + 481 + 19 + + + + <font size="+1">La commande POURSUITE requiert un nom de Fichier :</font> + + + false + + + + + + 9 + 33 + 481 + 40 + + + + + 470 + 40 + + + + + + + 330 + 170 + 140 + 50 + + + + + 0 + 0 + + + + + 140 + 50 + + + + Autre Fichier + + + + + + 330 + 110 + 140 + 50 + + + + + 0 + 0 + + + + + 140 + 50 + + + + Edit + + - - - - - 0 - 30 - - - - suppression du mot clef - - - &Supprimer - - - Alt+S - - - true - - - @@ -330,28 +273,6 @@ - - - - - 0 - 30 - - - - affichage documentation aster - - - &Documentation - - - Alt+D - - - true - - - @@ -374,10 +295,7 @@ LBRegles LBNouvCommande RBalpha - BBrowse - bSup bOk - bHelp diff --git a/UiQT4/desRacine.py b/UiQT4/desRacine.py index 297b9adf..87e2f672 100644 --- a/UiQT4/desRacine.py +++ b/UiQT4/desRacine.py @@ -2,8 +2,8 @@ # Form implementation generated from reading ui file 'desRacine.ui' # -# Created: Tue Nov 18 17:37:25 2008 -# by: PyQt4 UI code generator 4.4.2 +# Created: Thu Mar 12 12:08:36 2009 +# by: PyQt4 UI code generator 4.4.3 # # WARNING! All changes made in this file will be lost! @@ -12,69 +12,108 @@ from PyQt4 import QtCore, QtGui class Ui_DRac(object): def setupUi(self, DRac): DRac.setObjectName("DRac") - DRac.resize(554,540) - DRac.setMinimumSize(QtCore.QSize(505,0)) - self.gridLayout = QtGui.QGridLayout(DRac) - self.gridLayout.setObjectName("gridLayout") + DRac.resize(582, 540) + sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding) + sizePolicy.setHorizontalStretch(0) + sizePolicy.setVerticalStretch(0) + sizePolicy.setHeightForWidth(DRac.sizePolicy().hasHeightForWidth()) + DRac.setSizePolicy(sizePolicy) + DRac.setMinimumSize(QtCore.QSize(505, 0)) + self.gridLayout_2 = QtGui.QGridLayout(DRac) + self.gridLayout_2.setObjectName("gridLayout_2") + self.verticalLayout = QtGui.QVBoxLayout() + self.verticalLayout.setObjectName("verticalLayout") + self.horizontalLayout = QtGui.QHBoxLayout() + self.horizontalLayout.setObjectName("horizontalLayout") self.textLabel1_4 = QtGui.QLabel(DRac) - self.textLabel1_4.setMinimumSize(QtCore.QSize(291,21)) + self.textLabel1_4.setMinimumSize(QtCore.QSize(0, 20)) self.textLabel1_4.setWordWrap(False) self.textLabel1_4.setObjectName("textLabel1_4") - self.gridLayout.addWidget(self.textLabel1_4,0,0,2,5) + self.horizontalLayout.addWidget(self.textLabel1_4) self.textLabel1_4_2 = QtGui.QLabel(DRac) self.textLabel1_4_2.setWordWrap(False) self.textLabel1_4_2.setObjectName("textLabel1_4_2") - self.gridLayout.addWidget(self.textLabel1_4_2,1,4,1,2) + self.horizontalLayout.addWidget(self.textLabel1_4_2) + self.verticalLayout.addLayout(self.horizontalLayout) + self.horizontalLayout_2 = QtGui.QHBoxLayout() + self.horizontalLayout_2.setObjectName("horizontalLayout_2") self.RBalpha = QtGui.QRadioButton(DRac) self.RBalpha.setChecked(True) self.RBalpha.setObjectName("RBalpha") - self.gridLayout.addWidget(self.RBalpha,2,0,1,2) + self.horizontalLayout_2.addWidget(self.RBalpha) self.RBGroupe = QtGui.QRadioButton(DRac) self.RBGroupe.setObjectName("RBGroupe") - self.gridLayout.addWidget(self.RBGroupe,2,2,1,3) + self.horizontalLayout_2.addWidget(self.RBGroupe) + spacerItem = QtGui.QSpacerItem(228, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) + self.horizontalLayout_2.addItem(spacerItem) + self.verticalLayout.addLayout(self.horizontalLayout_2) + self.horizontalLayout_3 = QtGui.QHBoxLayout() + self.horizontalLayout_3.setObjectName("horizontalLayout_3") self.textLabel6 = QtGui.QLabel(DRac) - self.textLabel6.setMinimumSize(QtCore.QSize(40,0)) + self.textLabel6.setMinimumSize(QtCore.QSize(40, 0)) self.textLabel6.setWordWrap(False) self.textLabel6.setObjectName("textLabel6") - self.gridLayout.addWidget(self.textLabel6,3,0,1,1) + self.horizontalLayout_3.addWidget(self.textLabel6) self.LEFiltre = QtGui.QLineEdit(DRac) - self.LEFiltre.setMinimumSize(QtCore.QSize(0,30)) + self.LEFiltre.setMinimumSize(QtCore.QSize(0, 30)) self.LEFiltre.setObjectName("LEFiltre") - self.gridLayout.addWidget(self.LEFiltre,3,1,1,1) + self.horizontalLayout_3.addWidget(self.LEFiltre) self.BNext = QtGui.QPushButton(DRac) + sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred) + sizePolicy.setHorizontalStretch(0) + sizePolicy.setVerticalStretch(0) + sizePolicy.setHeightForWidth(self.BNext.sizePolicy().hasHeightForWidth()) + self.BNext.setSizePolicy(sizePolicy) self.BNext.setObjectName("BNext") - self.gridLayout.addWidget(self.BNext,3,2,1,1) - self.LBRegles = QtGui.QListWidget(DRac) - self.LBRegles.setMinimumSize(QtCore.QSize(0,0)) - self.LBRegles.setObjectName("LBRegles") - self.gridLayout.addWidget(self.LBRegles,3,3,2,3) + self.horizontalLayout_3.addWidget(self.BNext) + spacerItem1 = QtGui.QSpacerItem(268, 27, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) + self.horizontalLayout_3.addItem(spacerItem1) + self.verticalLayout.addLayout(self.horizontalLayout_3) + self.gridLayout_2.addLayout(self.verticalLayout, 0, 0, 1, 1) + self.gridLayout = QtGui.QGridLayout() + self.gridLayout.setObjectName("gridLayout") self.LBNouvCommande = QtGui.QListWidget(DRac) + sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.MinimumExpanding) + sizePolicy.setHorizontalStretch(0) + sizePolicy.setVerticalStretch(0) + sizePolicy.setHeightForWidth(self.LBNouvCommande.sizePolicy().hasHeightForWidth()) + self.LBNouvCommande.setSizePolicy(sizePolicy) self.LBNouvCommande.setObjectName("LBNouvCommande") - self.gridLayout.addWidget(self.LBNouvCommande,4,0,1,3) - self.bSup = QtGui.QPushButton(DRac) - self.bSup.setMinimumSize(QtCore.QSize(160,30)) - self.bSup.setAutoDefault(True) - self.bSup.setObjectName("bSup") - self.gridLayout.addWidget(self.bSup,5,0,1,2) + self.gridLayout.addWidget(self.LBNouvCommande, 0, 0, 1, 1) + self.LBRegles = QtGui.QListWidget(DRac) + sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.MinimumExpanding) + sizePolicy.setHorizontalStretch(0) + sizePolicy.setVerticalStretch(0) + sizePolicy.setHeightForWidth(self.LBRegles.sizePolicy().hasHeightForWidth()) + self.LBRegles.setSizePolicy(sizePolicy) + self.LBRegles.setMinimumSize(QtCore.QSize(0, 0)) + self.LBRegles.setObjectName("LBRegles") + self.gridLayout.addWidget(self.LBRegles, 0, 1, 1, 1) + self.gridLayout_2.addLayout(self.gridLayout, 1, 0, 1, 1) + self.horizontalLayout_4 = QtGui.QHBoxLayout() + self.horizontalLayout_4.setObjectName("horizontalLayout_4") + spacerItem2 = QtGui.QSpacerItem(148, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) + self.horizontalLayout_4.addItem(spacerItem2) self.bOk = QtGui.QPushButton(DRac) - self.bOk.setMinimumSize(QtCore.QSize(160,30)) + sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) + sizePolicy.setHorizontalStretch(0) + sizePolicy.setVerticalStretch(0) + sizePolicy.setHeightForWidth(self.bOk.sizePolicy().hasHeightForWidth()) + self.bOk.setSizePolicy(sizePolicy) + self.bOk.setMinimumSize(QtCore.QSize(160, 30)) self.bOk.setAutoDefault(True) self.bOk.setDefault(True) self.bOk.setObjectName("bOk") - self.gridLayout.addWidget(self.bOk,5,2,1,3) - self.bHelp = QtGui.QPushButton(DRac) - self.bHelp.setMinimumSize(QtCore.QSize(160,30)) - self.bHelp.setAutoDefault(True) - self.bHelp.setObjectName("bHelp") - self.gridLayout.addWidget(self.bHelp,5,5,1,1) + self.horizontalLayout_4.addWidget(self.bOk) + spacerItem3 = QtGui.QSpacerItem(148, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) + self.horizontalLayout_4.addItem(spacerItem3) + self.gridLayout_2.addLayout(self.horizontalLayout_4, 2, 0, 1, 1) self.retranslateUi(DRac) QtCore.QMetaObject.connectSlotsByName(DRac) - DRac.setTabOrder(self.LEFiltre,self.LBNouvCommande) - DRac.setTabOrder(self.LBNouvCommande,self.bSup) - DRac.setTabOrder(self.bSup,self.bOk) - DRac.setTabOrder(self.bOk,self.bHelp) - DRac.setTabOrder(self.bHelp,self.LBRegles) + DRac.setTabOrder(self.LEFiltre, self.LBNouvCommande) + DRac.setTabOrder(self.LBNouvCommande, self.bOk) + DRac.setTabOrder(self.bOk, self.LBRegles) def retranslateUi(self, DRac): DRac.setWindowTitle(QtGui.QApplication.translate("DRac", "DMacro", None, QtGui.QApplication.UnicodeUTF8)) @@ -84,15 +123,9 @@ class Ui_DRac(object): self.RBGroupe.setText(QtGui.QApplication.translate("DRac", "par groupe", None, QtGui.QApplication.UnicodeUTF8)) self.textLabel6.setText(QtGui.QApplication.translate("DRac", "Filtre", None, QtGui.QApplication.UnicodeUTF8)) self.BNext.setText(QtGui.QApplication.translate("DRac", "Suivant", None, QtGui.QApplication.UnicodeUTF8)) - self.bSup.setToolTip(QtGui.QApplication.translate("DRac", "suppression du mot clef", None, QtGui.QApplication.UnicodeUTF8)) - self.bSup.setText(QtGui.QApplication.translate("DRac", "&Supprimer", None, QtGui.QApplication.UnicodeUTF8)) - self.bSup.setShortcut(QtGui.QApplication.translate("DRac", "Alt+S", None, QtGui.QApplication.UnicodeUTF8)) self.bOk.setToolTip(QtGui.QApplication.translate("DRac", "validation de la saisie", None, QtGui.QApplication.UnicodeUTF8)) self.bOk.setText(QtGui.QApplication.translate("DRac", "&Valider", None, QtGui.QApplication.UnicodeUTF8)) self.bOk.setShortcut(QtGui.QApplication.translate("DRac", "Shift+A, Alt+A, Alt+A, Alt+A", None, QtGui.QApplication.UnicodeUTF8)) - self.bHelp.setToolTip(QtGui.QApplication.translate("DRac", "affichage documentation aster", None, QtGui.QApplication.UnicodeUTF8)) - self.bHelp.setText(QtGui.QApplication.translate("DRac", "&Documentation", None, QtGui.QApplication.UnicodeUTF8)) - self.bHelp.setShortcut(QtGui.QApplication.translate("DRac", "Alt+D", None, QtGui.QApplication.UnicodeUTF8)) if __name__ == "__main__": diff --git a/UiQT4/desRacine.ui b/UiQT4/desRacine.ui index d21e3ce3..19b1a406 100644 --- a/UiQT4/desRacine.ui +++ b/UiQT4/desRacine.ui @@ -5,10 +5,16 @@ 0 0 - 554 + 582 540 + + + 0 + 0 + + 505 @@ -18,164 +24,221 @@ DMacro - - - - - - 291 - 21 - - - - <b><u>Commandes :</u></b> - - - false - - - - - - - <p align="center"><b><u>Régles :</u></b></p> - - - false - - - - - - - alphabétique - - - true - - - - - - - par groupe - - - - - - - - 40 - 0 - - - - Filtre - - - false - - - - - - - - 0 - 30 - - - - - - - - Suivant - - - - - - - - 0 - 0 - - - - - - - - - - - - 160 - 30 - - - - suppression du mot clef - - - &Supprimer - - - Alt+S - - - true - - + + + + + + + + + + 0 + 20 + + + + <b><u>Commandes :</u></b> + + + false + + + + + + + <p align="center"><b><u>Régles :</u></b></p> + + + false + + + + + + + + + + + alphabétique + + + true + + + + + + + par groupe + + + + + + + Qt::Horizontal + + + + 228 + 20 + + + + + + + + + + + + + 40 + 0 + + + + Filtre + + + false + + + + + + + + 0 + 30 + + + + + + + + + 0 + 0 + + + + Suivant + + + + + + + Qt::Horizontal + + + + 268 + 27 + + + + + + + - - - - - 160 - 30 - - - - validation de la saisie - - - &Valider - - - Shift+A, Alt+A, Alt+A, Alt+A - - - true - - - true - - + + + + + + + 0 + 0 + + + + + + + + + 0 + 0 + + + + + 0 + 0 + + + + + - - - - - 160 - 30 - - - - affichage documentation aster - - - &Documentation - - - Alt+D - - - true - - + + + + + + Qt::Horizontal + + + + 148 + 20 + + + + + + + + + 0 + 0 + + + + + 160 + 30 + + + + validation de la saisie + + + &Valider + + + Shift+A, Alt+A, Alt+A, Alt+A + + + true + + + true + + + + + + + Qt::Horizontal + + + + 148 + 20 + + + + + @@ -184,9 +247,7 @@ LEFiltre LBNouvCommande - bSup bOk - bHelp LBRegles diff --git a/UiQT4/desSelectVal.py b/UiQT4/desSelectVal.py index c4229194..29a89853 100644 --- a/UiQT4/desSelectVal.py +++ b/UiQT4/desSelectVal.py @@ -2,8 +2,8 @@ # Form implementation generated from reading ui file 'desSelectVal.ui' # -# Created: Tue Nov 18 17:37:25 2008 -# by: PyQt4 UI code generator 4.4.2 +# Created: Tue Jan 27 12:25:37 2009 +# by: PyQt4 UI code generator 4.4.3 # # WARNING! All changes made in this file will be lost! @@ -12,28 +12,28 @@ from PyQt4 import QtCore, QtGui class Ui_DSelVal(object): def setupUi(self, DSelVal): DSelVal.setObjectName("DSelVal") - DSelVal.resize(469,624) + DSelVal.resize(469, 624) self.TBtext = QtGui.QTextEdit(DSelVal) - self.TBtext.setGeometry(QtCore.QRect(9,9,451,476)) + self.TBtext.setGeometry(QtCore.QRect(9, 9, 451, 476)) self.TBtext.setObjectName("TBtext") self.BImportSel = QtGui.QPushButton(DSelVal) - self.BImportSel.setGeometry(QtCore.QRect(220,520,208,27)) + self.BImportSel.setGeometry(QtCore.QRect(220, 520, 208, 27)) self.BImportSel.setObjectName("BImportSel") self.BImportTout = QtGui.QPushButton(DSelVal) - self.BImportTout.setGeometry(QtCore.QRect(220,560,208,27)) + self.BImportTout.setGeometry(QtCore.QRect(220, 560, 208, 27)) self.BImportTout.setObjectName("BImportTout") self.BGSeparateur = QtGui.QGroupBox(DSelVal) - self.BGSeparateur.setGeometry(QtCore.QRect(20,500,188,103)) + self.BGSeparateur.setGeometry(QtCore.QRect(20, 500, 188, 103)) self.BGSeparateur.setObjectName("BGSeparateur") self.Bespace = QtGui.QRadioButton(self.BGSeparateur) - self.Bespace.setGeometry(QtCore.QRect(20,20,148,23)) + self.Bespace.setGeometry(QtCore.QRect(20, 20, 148, 23)) self.Bespace.setChecked(True) self.Bespace.setObjectName("Bespace") self.Bvirgule = QtGui.QRadioButton(self.BGSeparateur) - self.Bvirgule.setGeometry(QtCore.QRect(20,40,148,23)) + self.Bvirgule.setGeometry(QtCore.QRect(20, 40, 148, 23)) self.Bvirgule.setObjectName("Bvirgule") self.BpointVirgule = QtGui.QRadioButton(self.BGSeparateur) - self.BpointVirgule.setGeometry(QtCore.QRect(20,60,148,23)) + self.BpointVirgule.setGeometry(QtCore.QRect(20, 60, 148, 23)) self.BpointVirgule.setObjectName("BpointVirgule") self.retranslateUi(DSelVal) diff --git a/UiQT4/desUniqueASSD.py b/UiQT4/desUniqueASSD.py index 11130db3..3d843230 100644 --- a/UiQT4/desUniqueASSD.py +++ b/UiQT4/desUniqueASSD.py @@ -2,8 +2,8 @@ # Form implementation generated from reading ui file 'desUniqueASSD.ui' # -# Created: Tue Nov 18 17:37:25 2008 -# by: PyQt4 UI code generator 4.4.2 +# Created: Thu Mar 12 10:42:31 2009 +# by: PyQt4 UI code generator 4.4.3 # # WARNING! All changes made in this file will be lost! @@ -12,66 +12,46 @@ from PyQt4 import QtCore, QtGui class Ui_DUnASSD(object): def setupUi(self, DUnASSD): DUnASSD.setObjectName("DUnASSD") - DUnASSD.resize(482,480) - DUnASSD.setMinimumSize(QtCore.QSize(350,0)) + DUnASSD.resize(482, 480) + DUnASSD.setMinimumSize(QtCore.QSize(350, 0)) self.gridlayout = QtGui.QGridLayout(DUnASSD) self.gridlayout.setObjectName("gridlayout") self.tabuniqueinto = QtGui.QTabWidget(DUnASSD) self.tabuniqueinto.setObjectName("tabuniqueinto") self.Widget8 = QtGui.QWidget() self.Widget8.setObjectName("Widget8") - self.gridlayout1 = QtGui.QGridLayout(self.Widget8) - self.gridlayout1.setObjectName("gridlayout1") self.textLabel2 = QtGui.QLabel(self.Widget8) - self.textLabel2.setMinimumSize(QtCore.QSize(436,50)) + self.textLabel2.setGeometry(QtCore.QRect(9, 9, 442, 50)) + self.textLabel2.setMinimumSize(QtCore.QSize(436, 50)) self.textLabel2.setWordWrap(False) self.textLabel2.setObjectName("textLabel2") - self.gridlayout1.addWidget(self.textLabel2,0,0,1,1) self.listBoxASSD = QtGui.QListWidget(self.Widget8) + self.listBoxASSD.setGeometry(QtCore.QRect(9, 64, 442, 289)) self.listBoxASSD.setObjectName("listBoxASSD") - self.gridlayout1.addWidget(self.listBoxASSD,1,0,1,1) self.Commentaire = QtGui.QLabel(self.Widget8) - self.Commentaire.setMinimumSize(QtCore.QSize(380,30)) + self.Commentaire.setGeometry(QtCore.QRect(9, 359, 442, 30)) + self.Commentaire.setMinimumSize(QtCore.QSize(380, 30)) self.Commentaire.setWordWrap(False) self.Commentaire.setObjectName("Commentaire") - self.gridlayout1.addWidget(self.Commentaire,2,0,1,1) - self.hboxlayout = QtGui.QHBoxLayout() - self.hboxlayout.setObjectName("hboxlayout") - self.bSup = QtGui.QPushButton(self.Widget8) - self.bSup.setMinimumSize(QtCore.QSize(0,30)) - self.bSup.setAutoDefault(True) - self.bSup.setProperty("toolTip",QtCore.QVariant(QtGui.QApplication.translate("DUnASSD", "suppression du mot clef", None, QtGui.QApplication.UnicodeUTF8))) - self.bSup.setObjectName("bSup") - self.hboxlayout.addWidget(self.bSup) self.bOk = QtGui.QPushButton(self.Widget8) - self.bOk.setMinimumSize(QtCore.QSize(0,30)) + self.bOk.setGeometry(QtCore.QRect(160, 395, 140, 30)) + self.bOk.setMinimumSize(QtCore.QSize(0, 30)) self.bOk.setAutoDefault(True) self.bOk.setDefault(True) - self.bOk.setProperty("toolTip",QtCore.QVariant(QtGui.QApplication.translate("DUnASSD", "validation de la saisie", None, QtGui.QApplication.UnicodeUTF8))) self.bOk.setObjectName("bOk") - self.hboxlayout.addWidget(self.bOk) - self.bHelp = QtGui.QPushButton(self.Widget8) - self.bHelp.setMinimumSize(QtCore.QSize(0,30)) - self.bHelp.setAutoDefault(True) - self.bHelp.setProperty("toolTip",QtCore.QVariant(QtGui.QApplication.translate("DUnASSD", "affichage documentation aster", None, QtGui.QApplication.UnicodeUTF8))) - self.bHelp.setObjectName("bHelp") - self.hboxlayout.addWidget(self.bHelp) - self.gridlayout1.addLayout(self.hboxlayout,3,0,1,1) - self.tabuniqueinto.addTab(self.Widget8,"") - self.gridlayout.addWidget(self.tabuniqueinto,0,0,1,1) + self.tabuniqueinto.addTab(self.Widget8, "") + self.gridlayout.addWidget(self.tabuniqueinto, 0, 0, 1, 1) self.retranslateUi(DUnASSD) + QtCore.QMetaObject.connectSlotsByName(DUnASSD) def retranslateUi(self, DUnASSD): DUnASSD.setWindowTitle(QtGui.QApplication.translate("DUnASSD", "DUnIn", None, QtGui.QApplication.UnicodeUTF8)) self.textLabel2.setText(QtGui.QApplication.translate("DUnASSD", "

Structures de données du type\n" "requis par l\'objet courant :

", None, QtGui.QApplication.UnicodeUTF8)) - self.bSup.setText(QtGui.QApplication.translate("DUnASSD", "&Supprimer", None, QtGui.QApplication.UnicodeUTF8)) - self.bSup.setShortcut(QtGui.QApplication.translate("DUnASSD", "Alt+S", None, QtGui.QApplication.UnicodeUTF8)) + self.bOk.setToolTip(QtGui.QApplication.translate("DUnASSD", "validation de la saisie", None, QtGui.QApplication.UnicodeUTF8)) self.bOk.setText(QtGui.QApplication.translate("DUnASSD", "&Valider", None, QtGui.QApplication.UnicodeUTF8)) self.bOk.setShortcut(QtGui.QApplication.translate("DUnASSD", "Shift+A, Alt+A, Alt+A, Alt+A", None, QtGui.QApplication.UnicodeUTF8)) - self.bHelp.setText(QtGui.QApplication.translate("DUnASSD", "&Documentation", None, QtGui.QApplication.UnicodeUTF8)) - self.bHelp.setShortcut(QtGui.QApplication.translate("DUnASSD", "Alt+D", None, QtGui.QApplication.UnicodeUTF8)) self.tabuniqueinto.setTabText(self.tabuniqueinto.indexOf(self.Widget8), QtGui.QApplication.translate("DUnASSD", "Saisir Valeur", None, QtGui.QApplication.UnicodeUTF8)) diff --git a/UiQT4/desUniqueASSD.ui b/UiQT4/desUniqueASSD.ui index fd6ee2ab..3aa7434c 100644 --- a/UiQT4/desUniqueASSD.ui +++ b/UiQT4/desUniqueASSD.ui @@ -1,149 +1,123 @@ - - - - - DUnASSD - - - - 0 - 0 - 482 - 480 - - - - - 350 - 0 - - - - DUnIn - - - - - - - Saisir Valeur - - - - - - - 436 - 50 - - - - <font size="+1"><p align="center">Structures de données du type + + DUnASSD + + + + 0 + 0 + 482 + 480 + + + + + 350 + 0 + + + + DUnIn + + + + + + + Saisir Valeur + + + + + 9 + 9 + 442 + 50 + + + + + 436 + 50 + + + + <font size="+1"><p align="center">Structures de données du type requis par l'objet courant :</p></font> - - - false - - - - - - - - - - - 380 - 30 - - - - - - - false - - - - - - - - - - 0 - 30 - - - - &Supprimer - - - Alt+S - - - true - - - suppression du mot clef - - - - - - - - 0 - 30 - - - - &Valider - - - Shift+A, Alt+A, Alt+A, Alt+A - - - true - - - true - - - validation de la saisie - - - - - - - - 0 - 30 - - - - &Documentation - - - Alt+D - - - true - - - affichage documentation aster - - - - - - - - - - - - - qPixmapFromMimeSource + + + false + + + + + + 9 + 64 + 442 + 289 + + + + + + + 9 + 359 + 442 + 30 + + + + + 380 + 30 + + + + + + + false + + + + + + 160 + 395 + 140 + 30 + + + + + 0 + 30 + + + + validation de la saisie + + + &Valider + + + Shift+A, Alt+A, Alt+A, Alt+A + + + true + + + true + + + +
+
+ + + + qPixmapFromMimeSource + + diff --git a/UiQT4/desUniqueBase.py b/UiQT4/desUniqueBase.py index 6d2c6b33..cf105c5f 100644 --- a/UiQT4/desUniqueBase.py +++ b/UiQT4/desUniqueBase.py @@ -2,8 +2,8 @@ # Form implementation generated from reading ui file 'desUniqueBase.ui' # -# Created: Tue Nov 18 17:37:25 2008 -# by: PyQt4 UI code generator 4.4.2 +# Created: Thu Mar 12 15:01:03 2009 +# by: PyQt4 UI code generator 4.4.3 # # WARNING! All changes made in this file will be lost! @@ -12,102 +12,112 @@ from PyQt4 import QtCore, QtGui class Ui_DUnBase(object): def setupUi(self, DUnBase): DUnBase.setObjectName("DUnBase") - DUnBase.resize(482,480) - DUnBase.setMinimumSize(QtCore.QSize(350,0)) + DUnBase.resize(482, 480) + DUnBase.setMinimumSize(QtCore.QSize(350, 0)) self.gridlayout = QtGui.QGridLayout(DUnBase) self.gridlayout.setObjectName("gridlayout") self.tabuniqueinto = QtGui.QTabWidget(DUnBase) self.tabuniqueinto.setObjectName("tabuniqueinto") self.Widget8 = QtGui.QWidget() - self.Widget8.setGeometry(QtCore.QRect(0,0,460,435)) self.Widget8.setObjectName("Widget8") - self.gridlayout1 = QtGui.QGridLayout(self.Widget8) - self.gridlayout1.setObjectName("gridlayout1") - self.hboxlayout = QtGui.QHBoxLayout() - self.hboxlayout.setObjectName("hboxlayout") + self.gridLayout_2 = QtGui.QGridLayout(self.Widget8) + self.gridLayout_2.setObjectName("gridLayout_2") + self.horizontalLayout = QtGui.QHBoxLayout() + self.horizontalLayout.setObjectName("horizontalLayout") self.textLabel2 = QtGui.QLabel(self.Widget8) self.textLabel2.setWordWrap(False) self.textLabel2.setObjectName("textLabel2") - self.hboxlayout.addWidget(self.textLabel2) + self.horizontalLayout.addWidget(self.textLabel2) self.lineEditVal = QtGui.QLineEdit(self.Widget8) - self.lineEditVal.setMinimumSize(QtCore.QSize(290,50)) + self.lineEditVal.setMinimumSize(QtCore.QSize(290, 50)) self.lineEditVal.setObjectName("lineEditVal") - self.hboxlayout.addWidget(self.lineEditVal) - self.gridlayout1.addLayout(self.hboxlayout,1,0,1,3) - spacerItem = QtGui.QSpacerItem(288,21,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum) - self.gridlayout1.addItem(spacerItem,0,0,1,2) + self.horizontalLayout.addWidget(self.lineEditVal) + self.gridLayout_2.addLayout(self.horizontalLayout, 0, 0, 1, 3) + self.gridLayout = QtGui.QGridLayout() + self.gridLayout.setObjectName("gridLayout") + self.BSalome = QtGui.QPushButton(self.Widget8) + self.BSalome.setMinimumSize(QtCore.QSize(50, 40)) + icon = QtGui.QIcon() + icon.addPixmap(QtGui.QPixmap("image240.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) + self.BSalome.setIcon(icon) + self.BSalome.setObjectName("BSalome") + self.gridLayout.addWidget(self.BSalome, 1, 0, 1, 1) + spacerItem = QtGui.QSpacerItem(41, 112, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) + self.gridLayout.addItem(spacerItem, 1, 1, 2, 1) + self.BView2D = QtGui.QPushButton(self.Widget8) + sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) + sizePolicy.setHorizontalStretch(0) + sizePolicy.setVerticalStretch(0) + sizePolicy.setHeightForWidth(self.BView2D.sizePolicy().hasHeightForWidth()) + self.BView2D.setSizePolicy(sizePolicy) + self.BView2D.setMinimumSize(QtCore.QSize(140, 40)) + self.BView2D.setObjectName("BView2D") + self.gridLayout.addWidget(self.BView2D, 1, 2, 1, 1) + self.BFichier = QtGui.QPushButton(self.Widget8) + sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) + sizePolicy.setHorizontalStretch(0) + sizePolicy.setVerticalStretch(0) + sizePolicy.setHeightForWidth(self.BFichier.sizePolicy().hasHeightForWidth()) + self.BFichier.setSizePolicy(sizePolicy) + self.BFichier.setMinimumSize(QtCore.QSize(140, 40)) + self.BFichier.setIcon(icon) + self.BFichier.setObjectName("BFichier") + self.gridLayout.addWidget(self.BFichier, 2, 2, 1, 1) + spacerItem1 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) + self.gridLayout.addItem(spacerItem1, 0, 1, 1, 1) self.bParametres = QtGui.QPushButton(self.Widget8) - sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,QtGui.QSizePolicy.Fixed) + sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.bParametres.sizePolicy().hasHeightForWidth()) self.bParametres.setSizePolicy(sizePolicy) - self.bParametres.setMinimumSize(QtCore.QSize(140,30)) + self.bParametres.setMinimumSize(QtCore.QSize(140, 45)) self.bParametres.setObjectName("bParametres") - self.gridlayout1.addWidget(self.bParametres,0,2,1,1) - self.bSup = QtGui.QPushButton(self.Widget8) - self.bSup.setMinimumSize(QtCore.QSize(0,30)) - self.bSup.setAutoDefault(True) - self.bSup.setObjectName("bSup") - self.gridlayout1.addWidget(self.bSup,5,0,1,1) + self.gridLayout.addWidget(self.bParametres, 0, 2, 1, 1) + self.gridLayout_2.addLayout(self.gridLayout, 1, 0, 1, 3) + self.verticalLayout = QtGui.QVBoxLayout() + self.verticalLayout.setObjectName("verticalLayout") + spacerItem2 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) + self.verticalLayout.addItem(spacerItem2) + self.Commentaire = QtGui.QLineEdit(self.Widget8) + self.Commentaire.setObjectName("Commentaire") + self.verticalLayout.addWidget(self.Commentaire) + spacerItem3 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) + self.verticalLayout.addItem(spacerItem3) + self.gridLayout_2.addLayout(self.verticalLayout, 2, 0, 1, 3) + spacerItem4 = QtGui.QSpacerItem(138, 17, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) + self.gridLayout_2.addItem(spacerItem4, 3, 0, 1, 1) self.bOk = QtGui.QPushButton(self.Widget8) - self.bOk.setMinimumSize(QtCore.QSize(0,30)) + sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) + sizePolicy.setHorizontalStretch(0) + sizePolicy.setVerticalStretch(0) + sizePolicy.setHeightForWidth(self.bOk.sizePolicy().hasHeightForWidth()) + self.bOk.setSizePolicy(sizePolicy) + self.bOk.setMinimumSize(QtCore.QSize(140, 40)) self.bOk.setAutoDefault(True) self.bOk.setDefault(True) self.bOk.setObjectName("bOk") - self.gridlayout1.addWidget(self.bOk,5,1,1,1) - self.bHelp = QtGui.QPushButton(self.Widget8) - self.bHelp.setMinimumSize(QtCore.QSize(0,30)) - self.bHelp.setAutoDefault(True) - self.bHelp.setObjectName("bHelp") - self.gridlayout1.addWidget(self.bHelp,5,2,1,1) - spacerItem1 = QtGui.QSpacerItem(41,112,QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Expanding) - self.gridlayout1.addItem(spacerItem1,2,1,1,1) - spacerItem2 = QtGui.QSpacerItem(21,112,QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Expanding) - self.gridlayout1.addItem(spacerItem2,4,1,1,1) - self.Commentaire = QtGui.QLabel(self.Widget8) - self.Commentaire.setMinimumSize(QtCore.QSize(430,40)) - self.Commentaire.setWordWrap(False) - self.Commentaire.setObjectName("Commentaire") - self.gridlayout1.addWidget(self.Commentaire,3,0,1,3) - self.BView2D = QtGui.QPushButton(self.Widget8) - self.BView2D.setMinimumSize(QtCore.QSize(110,40)) - self.BView2D.setObjectName("BView2D") - self.gridlayout1.addWidget(self.BView2D,2,2,1,1) - self.BSalome = QtGui.QPushButton(self.Widget8) - self.BSalome.setMinimumSize(QtCore.QSize(50,40)) - icon = QtGui.QIcon() - icon.addPixmap(QtGui.QPixmap("image240.gif"),QtGui.QIcon.Normal,QtGui.QIcon.Off) - self.BSalome.setIcon(icon) - self.BSalome.setObjectName("BSalome") - self.gridlayout1.addWidget(self.BSalome,2,0,1,1) - self.tabuniqueinto.addTab(self.Widget8,"") - self.gridlayout.addWidget(self.tabuniqueinto,0,0,1,1) + self.gridLayout_2.addWidget(self.bOk, 3, 1, 1, 1) + spacerItem5 = QtGui.QSpacerItem(108, 17, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) + self.gridLayout_2.addItem(spacerItem5, 3, 2, 1, 1) + self.tabuniqueinto.addTab(self.Widget8, "") + self.gridlayout.addWidget(self.tabuniqueinto, 0, 0, 1, 1) self.retranslateUi(DUnBase) QtCore.QMetaObject.connectSlotsByName(DUnBase) - DUnBase.setTabOrder(self.lineEditVal,self.bOk) - DUnBase.setTabOrder(self.bOk,self.bSup) - DUnBase.setTabOrder(self.bSup,self.BSalome) - DUnBase.setTabOrder(self.BSalome,self.bHelp) - DUnBase.setTabOrder(self.bHelp,self.BView2D) - DUnBase.setTabOrder(self.BView2D,self.bParametres) - DUnBase.setTabOrder(self.bParametres,self.tabuniqueinto) + DUnBase.setTabOrder(self.lineEditVal, self.bOk) + DUnBase.setTabOrder(self.bOk, self.BSalome) + DUnBase.setTabOrder(self.BSalome, self.BView2D) def retranslateUi(self, DUnBase): DUnBase.setWindowTitle(QtGui.QApplication.translate("DUnBase", "DUnIn", None, QtGui.QApplication.UnicodeUTF8)) self.textLabel2.setText(QtGui.QApplication.translate("DUnBase", "

Valeur:

", None, QtGui.QApplication.UnicodeUTF8)) + self.BView2D.setText(QtGui.QApplication.translate("DUnBase", "Visualiser", None, QtGui.QApplication.UnicodeUTF8)) + self.BFichier.setText(QtGui.QApplication.translate("DUnBase", "Fichier", None, QtGui.QApplication.UnicodeUTF8)) self.bParametres.setText(QtGui.QApplication.translate("DUnBase", "Parametres", None, QtGui.QApplication.UnicodeUTF8)) - self.bSup.setToolTip(QtGui.QApplication.translate("DUnBase", "suppression du mot clef", None, QtGui.QApplication.UnicodeUTF8)) - self.bSup.setText(QtGui.QApplication.translate("DUnBase", "&Supprimer", None, QtGui.QApplication.UnicodeUTF8)) - self.bSup.setShortcut(QtGui.QApplication.translate("DUnBase", "Alt+S", None, QtGui.QApplication.UnicodeUTF8)) self.bOk.setToolTip(QtGui.QApplication.translate("DUnBase", "validation de la saisie", None, QtGui.QApplication.UnicodeUTF8)) self.bOk.setText(QtGui.QApplication.translate("DUnBase", "&Valider", None, QtGui.QApplication.UnicodeUTF8)) self.bOk.setShortcut(QtGui.QApplication.translate("DUnBase", "Shift+A, Alt+A, Alt+A, Alt+A", None, QtGui.QApplication.UnicodeUTF8)) - self.bHelp.setToolTip(QtGui.QApplication.translate("DUnBase", "affichage documentation aster", None, QtGui.QApplication.UnicodeUTF8)) - self.bHelp.setText(QtGui.QApplication.translate("DUnBase", "&Documentation", None, QtGui.QApplication.UnicodeUTF8)) - self.bHelp.setShortcut(QtGui.QApplication.translate("DUnBase", "Alt+D", None, QtGui.QApplication.UnicodeUTF8)) - self.BView2D.setText(QtGui.QApplication.translate("DUnBase", "Visualiser", None, QtGui.QApplication.UnicodeUTF8)) self.tabuniqueinto.setTabText(self.tabuniqueinto.indexOf(self.Widget8), QtGui.QApplication.translate("DUnBase", "Saisir Valeur", None, QtGui.QApplication.UnicodeUTF8)) diff --git a/UiQT4/desUniqueBase.ui b/UiQT4/desUniqueBase.ui index 54691a8b..5fdd72a1 100644 --- a/UiQT4/desUniqueBase.ui +++ b/UiQT4/desUniqueBase.ui @@ -25,44 +25,9 @@ Saisir Valeur - - - - - Qt::Horizontal - - - QSizePolicy::Expanding - - - - 288 - 21 - - - - - - - - - 0 - 0 - - - - - 140 - 30 - - - - Parametres - - - - - + + + @@ -85,129 +50,175 @@ - - - - - 50 - 40 - - - - - - - - image240.pngimage240.png - - - - - - - Qt::Vertical - - - QSizePolicy::Expanding - - - - 41 - 112 - - - - - - - - - 110 - 40 - - - - Visualiser - - - - - - - - 50 - 40 - - - - Fichier - - - - image240.pngimage240.png - - + + + + + + + 50 + 40 + + + + + + + + image240.pngimage240.png + + + + + + + Qt::Vertical + + + QSizePolicy::Expanding + + + + 41 + 112 + + + + + + + + + 0 + 0 + + + + + 140 + 40 + + + + Visualiser + + + + + + + + 0 + 0 + + + + + 140 + 40 + + + + Fichier + + + + image240.pngimage240.png + + + + + + + Qt::Vertical + + + + 20 + 40 + + + + + + + + + 0 + 0 + + + + + 140 + 45 + + + + Parametres + + + + - - - - - 430 - 40 - - - - - - - false - - + + + + + + Qt::Vertical + + + + 20 + 40 + + + + + + + + + + + Qt::Vertical + + + + 20 + 40 + + + + + - - + + - Qt::Vertical - - - QSizePolicy::Expanding + Qt::Horizontal - 21 - 112 + 138 + 17 - - - - - 0 - 30 - - - - suppression du mot clef - - - &Supprimer - - - Alt+S - - - true - - - - + + + + 0 + 0 + + - 0 - 30 + 140 + 40 @@ -227,27 +238,18 @@ - - - + + + + Qt::Horizontal + + - 0 - 30 + 108 + 17 - - affichage documentation aster - - - &Documentation - - - Alt+D - - - true - - + @@ -259,12 +261,8 @@ lineEditVal bOk - bSup BSalome - bHelp BView2D - bParametres - tabuniqueinto diff --git a/UiQT4/desUniqueComp.py b/UiQT4/desUniqueComp.py index 77b18a58..0c0f5f49 100644 --- a/UiQT4/desUniqueComp.py +++ b/UiQT4/desUniqueComp.py @@ -2,8 +2,8 @@ # Form implementation generated from reading ui file 'desUniqueComp.ui' # -# Created: Tue Nov 18 17:37:25 2008 -# by: PyQt4 UI code generator 4.4.2 +# Created: Thu Mar 12 10:42:31 2009 +# by: PyQt4 UI code generator 4.4.3 # # WARNING! All changes made in this file will be lost! @@ -12,64 +12,50 @@ from PyQt4 import QtCore, QtGui class Ui_DUnComp(object): def setupUi(self, DUnComp): DUnComp.setObjectName("DUnComp") - DUnComp.resize(484,529) - DUnComp.setMinimumSize(QtCore.QSize(350,0)) + DUnComp.resize(484, 529) + DUnComp.setMinimumSize(QtCore.QSize(350, 0)) self.gridlayout = QtGui.QGridLayout(DUnComp) self.gridlayout.setObjectName("gridlayout") self.tabuniqueinto = QtGui.QTabWidget(DUnComp) self.tabuniqueinto.setObjectName("tabuniqueinto") self.Widget8 = QtGui.QWidget() - self.Widget8.setGeometry(QtCore.QRect(0,0,462,484)) self.Widget8.setObjectName("Widget8") - self.gridLayout = QtGui.QGridLayout(self.Widget8) - self.gridLayout.setObjectName("gridLayout") self.textLabel1 = QtGui.QLabel(self.Widget8) + self.textLabel1.setGeometry(QtCore.QRect(10, -10, 444, 87)) self.textLabel1.setWordWrap(False) self.textLabel1.setObjectName("textLabel1") - self.gridLayout.addWidget(self.textLabel1,0,0,1,2) self.LEcomp = QtGui.QLineEdit(self.Widget8) - self.LEcomp.setMinimumSize(QtCore.QSize(390,40)) + self.LEcomp.setGeometry(QtCore.QRect(10, 60, 444, 51)) + self.LEcomp.setMinimumSize(QtCore.QSize(390, 40)) self.LEcomp.setObjectName("LEcomp") - self.gridLayout.addWidget(self.LEcomp,1,0,1,2) self.groupBox = QtGui.QGroupBox(self.Widget8) + self.groupBox.setGeometry(QtCore.QRect(10, 170, 444, 89)) self.groupBox.setObjectName("groupBox") self.RBRI = QtGui.QRadioButton(self.groupBox) - self.RBRI.setGeometry(QtCore.QRect(10,30,444,23)) + self.RBRI.setGeometry(QtCore.QRect(10, 30, 444, 23)) self.RBRI.setObjectName("RBRI") self.RBMP = QtGui.QRadioButton(self.groupBox) - self.RBMP.setGeometry(QtCore.QRect(10,50,444,23)) + self.RBMP.setGeometry(QtCore.QRect(10, 50, 444, 23)) self.RBMP.setObjectName("RBMP") - self.gridLayout.addWidget(self.groupBox,2,0,1,2) self.LEReel = QtGui.QLineEdit(self.Widget8) - self.LEReel.setMinimumSize(QtCore.QSize(190,40)) + self.LEReel.setGeometry(QtCore.QRect(4, 270, 219, 51)) + self.LEReel.setMinimumSize(QtCore.QSize(190, 40)) self.LEReel.setObjectName("LEReel") - self.gridLayout.addWidget(self.LEReel,3,0,1,1) self.LEImag = QtGui.QLineEdit(self.Widget8) - self.LEImag.setMinimumSize(QtCore.QSize(190,40)) + self.LEImag.setGeometry(QtCore.QRect(230, 270, 218, 51)) + self.LEImag.setMinimumSize(QtCore.QSize(190, 40)) self.LEImag.setObjectName("LEImag") - self.gridLayout.addWidget(self.LEImag,3,1,1,1) self.Commentaire = QtGui.QLabel(self.Widget8) + self.Commentaire.setGeometry(QtCore.QRect(9, 332, 444, 51)) self.Commentaire.setWordWrap(False) self.Commentaire.setObjectName("Commentaire") - self.gridLayout.addWidget(self.Commentaire,4,0,1,2) - self.horizontalLayout = QtGui.QHBoxLayout() - self.horizontalLayout.setObjectName("horizontalLayout") - self.bSup = QtGui.QPushButton(self.Widget8) - self.bSup.setAutoDefault(True) - self.bSup.setObjectName("bSup") - self.horizontalLayout.addWidget(self.bSup) self.bOk = QtGui.QPushButton(self.Widget8) + self.bOk.setGeometry(QtCore.QRect(150, 430, 140, 41)) self.bOk.setAutoDefault(True) self.bOk.setDefault(True) self.bOk.setObjectName("bOk") - self.horizontalLayout.addWidget(self.bOk) - self.bHelp = QtGui.QPushButton(self.Widget8) - self.bHelp.setAutoDefault(True) - self.bHelp.setObjectName("bHelp") - self.horizontalLayout.addWidget(self.bHelp) - self.gridLayout.addLayout(self.horizontalLayout,5,0,1,2) - self.tabuniqueinto.addTab(self.Widget8,"") - self.gridlayout.addWidget(self.tabuniqueinto,0,0,1,1) + self.tabuniqueinto.addTab(self.Widget8, "") + self.gridlayout.addWidget(self.tabuniqueinto, 0, 0, 1, 1) self.retranslateUi(DUnComp) QtCore.QMetaObject.connectSlotsByName(DUnComp) @@ -81,15 +67,9 @@ class Ui_DUnComp(object): self.RBRI.setText(QtGui.QApplication.translate("DUnComp", "RI : Réel Imaginaire", None, QtGui.QApplication.UnicodeUTF8)) self.RBMP.setText(QtGui.QApplication.translate("DUnComp", "MP : Module Phase", None, QtGui.QApplication.UnicodeUTF8)) self.Commentaire.setText(QtGui.QApplication.translate("DUnComp", "Un complexe est attendu", None, QtGui.QApplication.UnicodeUTF8)) - self.bSup.setToolTip(QtGui.QApplication.translate("DUnComp", "suppression du mot clef", None, QtGui.QApplication.UnicodeUTF8)) - self.bSup.setText(QtGui.QApplication.translate("DUnComp", "&Supprimer", None, QtGui.QApplication.UnicodeUTF8)) - self.bSup.setShortcut(QtGui.QApplication.translate("DUnComp", "Alt+S", None, QtGui.QApplication.UnicodeUTF8)) self.bOk.setToolTip(QtGui.QApplication.translate("DUnComp", "validation de la saisie", None, QtGui.QApplication.UnicodeUTF8)) self.bOk.setText(QtGui.QApplication.translate("DUnComp", "&Valider", None, QtGui.QApplication.UnicodeUTF8)) self.bOk.setShortcut(QtGui.QApplication.translate("DUnComp", "Shift+A, Alt+A, Alt+A, Alt+A", None, QtGui.QApplication.UnicodeUTF8)) - self.bHelp.setToolTip(QtGui.QApplication.translate("DUnComp", "affichage documentation aster", None, QtGui.QApplication.UnicodeUTF8)) - self.bHelp.setText(QtGui.QApplication.translate("DUnComp", "&Documentation", None, QtGui.QApplication.UnicodeUTF8)) - self.bHelp.setShortcut(QtGui.QApplication.translate("DUnComp", "Alt+D", None, QtGui.QApplication.UnicodeUTF8)) self.tabuniqueinto.setTabText(self.tabuniqueinto.indexOf(self.Widget8), QtGui.QApplication.translate("DUnComp", "Saisir Valeur", None, QtGui.QApplication.UnicodeUTF8)) diff --git a/UiQT4/desUniqueComp.ui b/UiQT4/desUniqueComp.ui index dcf31b22..870b6210 100644 --- a/UiQT4/desUniqueComp.ui +++ b/UiQT4/desUniqueComp.ui @@ -22,157 +22,153 @@ - - - 0 - 0 - 462 - 484 - - Saisir Valeur - - - - - <font size="+2">Complexe de la forme : a+bj</font> - - - false - - - - - - - - 390 - 40 - - - - - - - - Ou - - - - - 10 - 30 - 444 - 23 - - - - RI : Réel Imaginaire - - - - - - 10 - 50 - 444 - 23 - - - - MP : Module Phase - - - - - - - - - 190 - 40 - - - - - - - - - 190 - 40 - - - - - - - - <font size="+2">Un complexe est attendu</font> - - - false - - - - - - - - - suppression du mot clef - - - &Supprimer - - - Alt+S - - - true - - - - - - - validation de la saisie - - - &Valider - - - Shift+A, Alt+A, Alt+A, Alt+A - - - true - - - true - - - - - - - affichage documentation aster - - - &Documentation - - - Alt+D - - - true - - - - - - + + + + 10 + -10 + 444 + 87 + + + + <font size="+2">Complexe de la forme : a+bj</font> + + + false + + + + + + 10 + 60 + 444 + 51 + + + + + 390 + 40 + + + + + + + 10 + 170 + 444 + 89 + + + + Ou + + + + + 10 + 30 + 444 + 23 + + + + RI : Réel Imaginaire + + + + + + 10 + 50 + 444 + 23 + + + + MP : Module Phase + + + + + + + 4 + 270 + 219 + 51 + + + + + 190 + 40 + + + + + + + 230 + 270 + 218 + 51 + + + + + 190 + 40 + + + + + + + 9 + 332 + 444 + 51 + + + + <font size="+2">Un complexe est attendu</font> + + + false + + + + + + 150 + 430 + 140 + 41 + + + + validation de la saisie + + + &Valider + + + Shift+A, Alt+A, Alt+A, Alt+A + + + true + + + true + + diff --git a/UiQT4/desUniqueInto.py b/UiQT4/desUniqueInto.py index 9c2785c7..108c10f2 100644 --- a/UiQT4/desUniqueInto.py +++ b/UiQT4/desUniqueInto.py @@ -2,8 +2,8 @@ # Form implementation generated from reading ui file 'desUniqueInto.ui' # -# Created: Tue Nov 18 17:37:25 2008 -# by: PyQt4 UI code generator 4.4.2 +# Created: Thu Mar 12 10:42:31 2009 +# by: PyQt4 UI code generator 4.4.3 # # WARNING! All changes made in this file will be lost! @@ -12,64 +12,44 @@ from PyQt4 import QtCore, QtGui class Ui_DUnIn(object): def setupUi(self, DUnIn): DUnIn.setObjectName("DUnIn") - DUnIn.resize(482,480) - DUnIn.setMinimumSize(QtCore.QSize(350,0)) + DUnIn.resize(482, 480) + DUnIn.setMinimumSize(QtCore.QSize(350, 0)) self.gridlayout = QtGui.QGridLayout(DUnIn) self.gridlayout.setObjectName("gridlayout") self.tabuniqueinto = QtGui.QTabWidget(DUnIn) self.tabuniqueinto.setObjectName("tabuniqueinto") self.Widget8 = QtGui.QWidget() self.Widget8.setObjectName("Widget8") - self.gridlayout1 = QtGui.QGridLayout(self.Widget8) - self.gridlayout1.setObjectName("gridlayout1") self.Commentaire = QtGui.QLabel(self.Widget8) - self.Commentaire.setMinimumSize(QtCore.QSize(420,30)) + self.Commentaire.setGeometry(QtCore.QRect(9, 359, 442, 30)) + self.Commentaire.setMinimumSize(QtCore.QSize(420, 30)) self.Commentaire.setWordWrap(False) self.Commentaire.setObjectName("Commentaire") - self.gridlayout1.addWidget(self.Commentaire,2,0,1,1) - self.hboxlayout = QtGui.QHBoxLayout() - self.hboxlayout.setObjectName("hboxlayout") - self.bSup = QtGui.QPushButton(self.Widget8) - self.bSup.setMinimumSize(QtCore.QSize(0,30)) - self.bSup.setAutoDefault(True) - self.bSup.setProperty("toolTip",QtCore.QVariant(QtGui.QApplication.translate("DUnIn", "suppression du mot clef", None, QtGui.QApplication.UnicodeUTF8))) - self.bSup.setObjectName("bSup") - self.hboxlayout.addWidget(self.bSup) - self.bOk = QtGui.QPushButton(self.Widget8) - self.bOk.setMinimumSize(QtCore.QSize(0,30)) - self.bOk.setAutoDefault(True) - self.bOk.setDefault(True) - self.bOk.setProperty("toolTip",QtCore.QVariant(QtGui.QApplication.translate("DUnIn", "validation de la saisie", None, QtGui.QApplication.UnicodeUTF8))) - self.bOk.setObjectName("bOk") - self.hboxlayout.addWidget(self.bOk) - self.bHelp = QtGui.QPushButton(self.Widget8) - self.bHelp.setMinimumSize(QtCore.QSize(0,30)) - self.bHelp.setAutoDefault(True) - self.bHelp.setProperty("toolTip",QtCore.QVariant(QtGui.QApplication.translate("DUnIn", "affichage documentation aster", None, QtGui.QApplication.UnicodeUTF8))) - self.bHelp.setObjectName("bHelp") - self.hboxlayout.addWidget(self.bHelp) - self.gridlayout1.addLayout(self.hboxlayout,3,0,1,1) self.listBoxVal = QtGui.QListWidget(self.Widget8) + self.listBoxVal.setGeometry(QtCore.QRect(9, 31, 442, 322)) self.listBoxVal.setObjectName("listBoxVal") - self.gridlayout1.addWidget(self.listBoxVal,1,0,1,1) self.textLabel2 = QtGui.QLabel(self.Widget8) + self.textLabel2.setGeometry(QtCore.QRect(9, 9, 442, 17)) self.textLabel2.setWordWrap(False) self.textLabel2.setObjectName("textLabel2") - self.gridlayout1.addWidget(self.textLabel2,0,0,1,1) - self.tabuniqueinto.addTab(self.Widget8,"") - self.gridlayout.addWidget(self.tabuniqueinto,0,0,1,1) + self.bOk = QtGui.QPushButton(self.Widget8) + self.bOk.setGeometry(QtCore.QRect(160, 395, 140, 30)) + self.bOk.setMinimumSize(QtCore.QSize(0, 30)) + self.bOk.setAutoDefault(True) + self.bOk.setDefault(True) + self.bOk.setObjectName("bOk") + self.tabuniqueinto.addTab(self.Widget8, "") + self.gridlayout.addWidget(self.tabuniqueinto, 0, 0, 1, 1) self.retranslateUi(DUnIn) + QtCore.QMetaObject.connectSlotsByName(DUnIn) def retranslateUi(self, DUnIn): DUnIn.setWindowTitle(QtGui.QApplication.translate("DUnIn", "DUnIn", None, QtGui.QApplication.UnicodeUTF8)) - self.bSup.setText(QtGui.QApplication.translate("DUnIn", "&Supprimer", None, QtGui.QApplication.UnicodeUTF8)) - self.bSup.setShortcut(QtGui.QApplication.translate("DUnIn", "Alt+S", None, QtGui.QApplication.UnicodeUTF8)) + self.textLabel2.setText(QtGui.QApplication.translate("DUnIn", "

Valeurs possibles

", None, QtGui.QApplication.UnicodeUTF8)) + self.bOk.setToolTip(QtGui.QApplication.translate("DUnIn", "validation de la saisie", None, QtGui.QApplication.UnicodeUTF8)) self.bOk.setText(QtGui.QApplication.translate("DUnIn", "&Valider", None, QtGui.QApplication.UnicodeUTF8)) self.bOk.setShortcut(QtGui.QApplication.translate("DUnIn", "Shift+A, Alt+A, Alt+A, Alt+A", None, QtGui.QApplication.UnicodeUTF8)) - self.bHelp.setText(QtGui.QApplication.translate("DUnIn", "&Documentation", None, QtGui.QApplication.UnicodeUTF8)) - self.bHelp.setShortcut(QtGui.QApplication.translate("DUnIn", "Alt+D", None, QtGui.QApplication.UnicodeUTF8)) - self.textLabel2.setText(QtGui.QApplication.translate("DUnIn", "

Valeurs possibles

", None, QtGui.QApplication.UnicodeUTF8)) self.tabuniqueinto.setTabText(self.tabuniqueinto.indexOf(self.Widget8), QtGui.QApplication.translate("DUnIn", "Saisir Valeur", None, QtGui.QApplication.UnicodeUTF8)) diff --git a/UiQT4/desUniqueInto.ui b/UiQT4/desUniqueInto.ui index 7ab92b49..6eb525db 100644 --- a/UiQT4/desUniqueInto.ui +++ b/UiQT4/desUniqueInto.ui @@ -1,142 +1,116 @@ - - - - - DUnIn - - - - 0 - 0 - 482 - 480 - - - - - 350 - 0 - - - - DUnIn - - - - - - - Saisir Valeur - - - - - - - 420 - 30 - - - - - - - false - - - - - - - - - - 0 - 30 - - - - &Supprimer - - - Alt+S - - - true - - - suppression du mot clef - - - - - - - - 0 - 30 - - - - &Valider - - - Shift+A, Alt+A, Alt+A, Alt+A - - - true - - - true - - - validation de la saisie - - - - - - - - 0 - 30 - - - - &Documentation - - - Alt+D - - - true - - - affichage documentation aster - - - - - - - - - - - - <b><u><p align="center">Valeurs possibles</p></u></b> - - - false - - - - - - - - - - - qPixmapFromMimeSource + + DUnIn + + + + 0 + 0 + 482 + 480 + + + + + 350 + 0 + + + + DUnIn + + + + + + + Saisir Valeur + + + + + 9 + 359 + 442 + 30 + + + + + 420 + 30 + + + + + + + false + + + + + + 9 + 31 + 442 + 322 + + + + + + + 9 + 9 + 442 + 17 + + + + <b><u><p align="center">Valeurs possibles</p></u></b> + + + false + + + + + + 160 + 395 + 140 + 30 + + + + + 0 + 30 + + + + validation de la saisie + + + &Valider + + + Shift+A, Alt+A, Alt+A, Alt+A + + + true + + + true + + + + + + + + + qPixmapFromMimeSource + + diff --git a/UiQT4/desUniqueSDCO.py b/UiQT4/desUniqueSDCO.py index a65143e4..5bbfa88e 100644 --- a/UiQT4/desUniqueSDCO.py +++ b/UiQT4/desUniqueSDCO.py @@ -2,8 +2,8 @@ # Form implementation generated from reading ui file 'desUniqueSDCO.ui' # -# Created: Tue Nov 18 17:37:26 2008 -# by: PyQt4 UI code generator 4.4.2 +# Created: Thu Mar 12 10:42:32 2009 +# by: PyQt4 UI code generator 4.4.3 # # WARNING! All changes made in this file will be lost! @@ -12,8 +12,8 @@ from PyQt4 import QtCore, QtGui class Ui_DUnSDCO(object): def setupUi(self, DUnSDCO): DUnSDCO.setObjectName("DUnSDCO") - DUnSDCO.resize(461,480) - DUnSDCO.setMinimumSize(QtCore.QSize(350,0)) + DUnSDCO.resize(461, 480) + DUnSDCO.setMinimumSize(QtCore.QSize(350, 0)) self.gridlayout = QtGui.QGridLayout(DUnSDCO) self.gridlayout.setObjectName("gridlayout") self.tabuniqueinto = QtGui.QTabWidget(DUnSDCO) @@ -22,59 +22,42 @@ class Ui_DUnSDCO(object): self.Widget8.setObjectName("Widget8") self.gridlayout1 = QtGui.QGridLayout(self.Widget8) self.gridlayout1.setObjectName("gridlayout1") - self.bSup = QtGui.QPushButton(self.Widget8) - self.bSup.setMinimumSize(QtCore.QSize(0,30)) - self.bSup.setAutoDefault(True) - self.bSup.setProperty("toolTip",QtCore.QVariant(QtGui.QApplication.translate("DUnSDCO", "suppression du mot clef", None, QtGui.QApplication.UnicodeUTF8))) - self.bSup.setObjectName("bSup") - self.gridlayout1.addWidget(self.bSup,4,0,1,1) self.bOk = QtGui.QPushButton(self.Widget8) - self.bOk.setMinimumSize(QtCore.QSize(0,30)) + self.bOk.setMinimumSize(QtCore.QSize(0, 30)) self.bOk.setAutoDefault(True) self.bOk.setDefault(True) - self.bOk.setProperty("toolTip",QtCore.QVariant(QtGui.QApplication.translate("DUnSDCO", "validation de la saisie", None, QtGui.QApplication.UnicodeUTF8))) self.bOk.setObjectName("bOk") - self.gridlayout1.addWidget(self.bOk,4,1,1,1) - self.bHelp = QtGui.QPushButton(self.Widget8) - self.bHelp.setMinimumSize(QtCore.QSize(0,30)) - self.bHelp.setAutoDefault(True) - self.bHelp.setProperty("toolTip",QtCore.QVariant(QtGui.QApplication.translate("DUnSDCO", "affichage documentation aster", None, QtGui.QApplication.UnicodeUTF8))) - self.bHelp.setObjectName("bHelp") - self.gridlayout1.addWidget(self.bHelp,4,2,1,1) + self.gridlayout1.addWidget(self.bOk, 4, 1, 1, 1) self.Commentaire = QtGui.QLabel(self.Widget8) - self.Commentaire.setMinimumSize(QtCore.QSize(311,30)) + self.Commentaire.setMinimumSize(QtCore.QSize(311, 30)) self.Commentaire.setWordWrap(False) self.Commentaire.setObjectName("Commentaire") - self.gridlayout1.addWidget(self.Commentaire,3,0,1,3) + self.gridlayout1.addWidget(self.Commentaire, 3, 0, 1, 3) self.textLabel2_2 = QtGui.QLabel(self.Widget8) self.textLabel2_2.setWordWrap(False) self.textLabel2_2.setObjectName("textLabel2_2") - self.gridlayout1.addWidget(self.textLabel2_2,0,0,1,3) + self.gridlayout1.addWidget(self.textLabel2_2, 0, 0, 1, 3) self.LESDCO = QtGui.QLineEdit(self.Widget8) - self.LESDCO.setMinimumSize(QtCore.QSize(300,40)) + self.LESDCO.setMinimumSize(QtCore.QSize(300, 40)) self.LESDCO.setObjectName("LESDCO") - self.gridlayout1.addWidget(self.LESDCO,1,0,1,3) + self.gridlayout1.addWidget(self.LESDCO, 1, 0, 1, 3) self.textLabel2 = QtGui.QLabel(self.Widget8) self.textLabel2.setWordWrap(False) self.textLabel2.setObjectName("textLabel2") - self.gridlayout1.addWidget(self.textLabel2,2,0,1,3) - self.tabuniqueinto.addTab(self.Widget8,"") - self.gridlayout.addWidget(self.tabuniqueinto,0,0,1,1) + self.gridlayout1.addWidget(self.textLabel2, 2, 0, 1, 3) + self.tabuniqueinto.addTab(self.Widget8, "") + self.gridlayout.addWidget(self.tabuniqueinto, 0, 0, 1, 1) self.retranslateUi(DUnSDCO) - DUnSDCO.setTabOrder(self.LESDCO,self.tabuniqueinto) - DUnSDCO.setTabOrder(self.tabuniqueinto,self.bSup) - DUnSDCO.setTabOrder(self.bSup,self.bOk) - DUnSDCO.setTabOrder(self.bOk,self.bHelp) + QtCore.QMetaObject.connectSlotsByName(DUnSDCO) + DUnSDCO.setTabOrder(self.LESDCO, self.tabuniqueinto) + DUnSDCO.setTabOrder(self.tabuniqueinto, self.bOk) def retranslateUi(self, DUnSDCO): DUnSDCO.setWindowTitle(QtGui.QApplication.translate("DUnSDCO", "DUnIn", None, QtGui.QApplication.UnicodeUTF8)) - self.bSup.setText(QtGui.QApplication.translate("DUnSDCO", "&Supprimer", None, QtGui.QApplication.UnicodeUTF8)) - self.bSup.setShortcut(QtGui.QApplication.translate("DUnSDCO", "Alt+S", None, QtGui.QApplication.UnicodeUTF8)) + self.bOk.setToolTip(QtGui.QApplication.translate("DUnSDCO", "validation de la saisie", None, QtGui.QApplication.UnicodeUTF8)) self.bOk.setText(QtGui.QApplication.translate("DUnSDCO", "&Valider", None, QtGui.QApplication.UnicodeUTF8)) self.bOk.setShortcut(QtGui.QApplication.translate("DUnSDCO", "Shift+A, Alt+A, Alt+A, Alt+A", None, QtGui.QApplication.UnicodeUTF8)) - self.bHelp.setText(QtGui.QApplication.translate("DUnSDCO", "&Documentation", None, QtGui.QApplication.UnicodeUTF8)) - self.bHelp.setShortcut(QtGui.QApplication.translate("DUnSDCO", "Alt+D", None, QtGui.QApplication.UnicodeUTF8)) self.textLabel2_2.setText(QtGui.QApplication.translate("DUnSDCO", "

Nom du nouveau concept :

", None, QtGui.QApplication.UnicodeUTF8)) self.textLabel2.setText(QtGui.QApplication.translate("DUnSDCO", "Un objet de type CO est attendu", None, QtGui.QApplication.UnicodeUTF8)) self.tabuniqueinto.setTabText(self.tabuniqueinto.indexOf(self.Widget8), QtGui.QApplication.translate("DUnSDCO", "Saisir Valeur", None, QtGui.QApplication.UnicodeUTF8)) diff --git a/UiQT4/desUniqueSDCO.ui b/UiQT4/desUniqueSDCO.ui index 46a472ca..7e4739f2 100644 --- a/UiQT4/desUniqueSDCO.ui +++ b/UiQT4/desUniqueSDCO.ui @@ -1,162 +1,115 @@ - - - - - DUnSDCO - - - - 0 - 0 - 461 - 480 - - - - - 350 - 0 - - - - DUnIn - - - - - - - Saisir Valeur - - - - - - - 0 - 30 - - - - &Supprimer - - - Alt+S - - - true - - - suppression du mot clef - - - - - - - - 0 - 30 - - - - &Valider - - - Shift+A, Alt+A, Alt+A, Alt+A - - - true - - - true - - - validation de la saisie - - - - - - - - 0 - 30 - - - - &Documentation - - - Alt+D - - - true - - - affichage documentation aster - - - - - - - - 311 - 30 - - - - - - - false - - - - - - - <h1><font size="+2">Nom du nouveau concept : </font></h1> - - - false - - - - - - - - 300 - 40 - - - - - - - - <font size="+1">Un objet de type CO est attendu</font> - - - false - - - - - + + DUnSDCO + + + + 0 + 0 + 461 + 480 + + + + + 350 + 0 + + + + DUnIn + + + + + + + Saisir Valeur + + + + + + + 0 + 30 + + + + validation de la saisie + + + &Valider + + + Shift+A, Alt+A, Alt+A, Alt+A + + + true + + + true + - - - - - qPixmapFromMimeSource - - LESDCO - tabuniqueinto - bSup - bOk - bHelp - + + + + + + 311 + 30 + + + + + + + false + + + + + + + <h1><font size="+2">Nom du nouveau concept : </font></h1> + + + false + + + + + + + + 300 + 40 + + + + + + + + <font size="+1">Un objet de type CO est attendu</font> + + + false + + + + + + + + + + + qPixmapFromMimeSource + + LESDCO + tabuniqueinto + bOk + + + diff --git a/UiQT4/desUniqueSDCOInto.py b/UiQT4/desUniqueSDCOInto.py index 65367aaa..50d64c1f 100644 --- a/UiQT4/desUniqueSDCOInto.py +++ b/UiQT4/desUniqueSDCOInto.py @@ -2,8 +2,8 @@ # Form implementation generated from reading ui file 'desUniqueSDCOInto.ui' # -# Created: Tue Nov 18 17:37:25 2008 -# by: PyQt4 UI code generator 4.4.2 +# Created: Thu Mar 12 10:42:31 2009 +# by: PyQt4 UI code generator 4.4.3 # # WARNING! All changes made in this file will be lost! @@ -12,8 +12,8 @@ from PyQt4 import QtCore, QtGui class Ui_DUnSDCOInto(object): def setupUi(self, DUnSDCOInto): DUnSDCOInto.setObjectName("DUnSDCOInto") - DUnSDCOInto.resize(482,480) - DUnSDCOInto.setMinimumSize(QtCore.QSize(350,0)) + DUnSDCOInto.resize(482, 480) + DUnSDCOInto.setMinimumSize(QtCore.QSize(350, 0)) self.gridlayout = QtGui.QGridLayout(DUnSDCOInto) self.gridlayout.setObjectName("gridlayout") self.tabuniqueinto = QtGui.QTabWidget(DUnSDCOInto) @@ -25,79 +25,62 @@ class Ui_DUnSDCOInto(object): self.textLabel2 = QtGui.QLabel(self.Widget8) self.textLabel2.setWordWrap(False) self.textLabel2.setObjectName("textLabel2") - self.gridlayout1.addWidget(self.textLabel2,0,0,1,3) + self.gridlayout1.addWidget(self.textLabel2, 0, 0, 1, 3) self.LBSDCO = QtGui.QListWidget(self.Widget8) self.LBSDCO.setObjectName("LBSDCO") - self.gridlayout1.addWidget(self.LBSDCO,1,0,1,3) + self.gridlayout1.addWidget(self.LBSDCO, 1, 0, 1, 3) self.textLabel2_3 = QtGui.QLabel(self.Widget8) self.textLabel2_3.setWordWrap(False) self.textLabel2_3.setObjectName("textLabel2_3") - self.gridlayout1.addWidget(self.textLabel2_3,5,0,1,3) + self.gridlayout1.addWidget(self.textLabel2_3, 5, 0, 1, 3) self.Commentaire = QtGui.QLabel(self.Widget8) - self.Commentaire.setMinimumSize(QtCore.QSize(420,30)) + self.Commentaire.setMinimumSize(QtCore.QSize(420, 30)) self.Commentaire.setWordWrap(False) self.Commentaire.setObjectName("Commentaire") - self.gridlayout1.addWidget(self.Commentaire,4,0,1,3) + self.gridlayout1.addWidget(self.Commentaire, 4, 0, 1, 3) self.gridlayout2 = QtGui.QGridLayout() self.gridlayout2.setObjectName("gridlayout2") - self.gridlayout1.addLayout(self.gridlayout2,2,0,1,3) + self.gridlayout1.addLayout(self.gridlayout2, 2, 0, 1, 3) self.hboxlayout = QtGui.QHBoxLayout() self.hboxlayout.setObjectName("hboxlayout") self.frame3 = QtGui.QFrame(self.Widget8) - self.frame3.setMinimumSize(QtCore.QSize(190,50)) + self.frame3.setMinimumSize(QtCore.QSize(190, 50)) self.frame3.setFrameShape(QtGui.QFrame.StyledPanel) self.frame3.setFrameShadow(QtGui.QFrame.Raised) self.frame3.setObjectName("frame3") self.textLabel2_2 = QtGui.QLabel(self.frame3) - self.textLabel2_2.setGeometry(QtCore.QRect(20,10,150,30)) + self.textLabel2_2.setGeometry(QtCore.QRect(20, 10, 150, 30)) self.textLabel2_2.setWordWrap(False) self.textLabel2_2.setObjectName("textLabel2_2") self.hboxlayout.addWidget(self.frame3) self.LESDCO = QtGui.QLineEdit(self.Widget8) - self.LESDCO.setMinimumSize(QtCore.QSize(220,40)) + self.LESDCO.setMinimumSize(QtCore.QSize(220, 40)) self.LESDCO.setObjectName("LESDCO") self.hboxlayout.addWidget(self.LESDCO) - self.gridlayout1.addLayout(self.hboxlayout,3,0,1,3) - self.bSup = QtGui.QPushButton(self.Widget8) - self.bSup.setMinimumSize(QtCore.QSize(0,30)) - self.bSup.setAutoDefault(True) - self.bSup.setProperty("toolTip",QtCore.QVariant(QtGui.QApplication.translate("DUnSDCOInto", "suppression du mot clef", None, QtGui.QApplication.UnicodeUTF8))) - self.bSup.setObjectName("bSup") - self.gridlayout1.addWidget(self.bSup,6,0,1,1) + self.gridlayout1.addLayout(self.hboxlayout, 3, 0, 1, 3) self.bOk = QtGui.QPushButton(self.Widget8) - self.bOk.setMinimumSize(QtCore.QSize(0,30)) + self.bOk.setMinimumSize(QtCore.QSize(0, 30)) self.bOk.setAutoDefault(True) self.bOk.setDefault(True) - self.bOk.setProperty("toolTip",QtCore.QVariant(QtGui.QApplication.translate("DUnSDCOInto", "validation de la saisie", None, QtGui.QApplication.UnicodeUTF8))) self.bOk.setObjectName("bOk") - self.gridlayout1.addWidget(self.bOk,6,1,1,1) - self.bHelp = QtGui.QPushButton(self.Widget8) - self.bHelp.setMinimumSize(QtCore.QSize(0,30)) - self.bHelp.setAutoDefault(True) - self.bHelp.setProperty("toolTip",QtCore.QVariant(QtGui.QApplication.translate("DUnSDCOInto", "affichage documentation aster", None, QtGui.QApplication.UnicodeUTF8))) - self.bHelp.setObjectName("bHelp") - self.gridlayout1.addWidget(self.bHelp,6,2,1,1) - self.tabuniqueinto.addTab(self.Widget8,"") - self.gridlayout.addWidget(self.tabuniqueinto,0,0,1,1) + self.gridlayout1.addWidget(self.bOk, 6, 1, 1, 1) + self.tabuniqueinto.addTab(self.Widget8, "") + self.gridlayout.addWidget(self.tabuniqueinto, 0, 0, 1, 1) self.retranslateUi(DUnSDCOInto) - DUnSDCOInto.setTabOrder(self.LESDCO,self.LBSDCO) - DUnSDCOInto.setTabOrder(self.LBSDCO,self.tabuniqueinto) - DUnSDCOInto.setTabOrder(self.tabuniqueinto,self.bSup) - DUnSDCOInto.setTabOrder(self.bSup,self.bOk) - DUnSDCOInto.setTabOrder(self.bOk,self.bHelp) + QtCore.QMetaObject.connectSlotsByName(DUnSDCOInto) + DUnSDCOInto.setTabOrder(self.LESDCO, self.LBSDCO) + DUnSDCOInto.setTabOrder(self.LBSDCO, self.tabuniqueinto) + DUnSDCOInto.setTabOrder(self.tabuniqueinto, self.bOk) def retranslateUi(self, DUnSDCOInto): DUnSDCOInto.setWindowTitle(QtGui.QApplication.translate("DUnSDCOInto", "DUnIn", None, QtGui.QApplication.UnicodeUTF8)) self.textLabel2.setText(QtGui.QApplication.translate("DUnSDCOInto", "Structures de données du type requis par l\'objet courant ", None, QtGui.QApplication.UnicodeUTF8)) self.textLabel2_3.setText(QtGui.QApplication.translate("DUnSDCOInto", "Un objet de type CO est attendu", None, QtGui.QApplication.UnicodeUTF8)) self.textLabel2_2.setText(QtGui.QApplication.translate("DUnSDCOInto", " Nom concept : ", None, QtGui.QApplication.UnicodeUTF8)) - self.bSup.setText(QtGui.QApplication.translate("DUnSDCOInto", "&Supprimer", None, QtGui.QApplication.UnicodeUTF8)) - self.bSup.setShortcut(QtGui.QApplication.translate("DUnSDCOInto", "Alt+S", None, QtGui.QApplication.UnicodeUTF8)) + self.bOk.setToolTip(QtGui.QApplication.translate("DUnSDCOInto", "validation de la saisie", None, QtGui.QApplication.UnicodeUTF8)) self.bOk.setText(QtGui.QApplication.translate("DUnSDCOInto", "&Valider", None, QtGui.QApplication.UnicodeUTF8)) self.bOk.setShortcut(QtGui.QApplication.translate("DUnSDCOInto", "Shift+A, Alt+A, Alt+A, Alt+A", None, QtGui.QApplication.UnicodeUTF8)) - self.bHelp.setText(QtGui.QApplication.translate("DUnSDCOInto", "&Documentation", None, QtGui.QApplication.UnicodeUTF8)) - self.bHelp.setShortcut(QtGui.QApplication.translate("DUnSDCOInto", "Alt+D", None, QtGui.QApplication.UnicodeUTF8)) self.tabuniqueinto.setTabText(self.tabuniqueinto.indexOf(self.Widget8), QtGui.QApplication.translate("DUnSDCOInto", "Saisir Valeur", None, QtGui.QApplication.UnicodeUTF8)) diff --git a/UiQT4/desUniqueSDCOInto.ui b/UiQT4/desUniqueSDCOInto.ui index c42947b9..ad293273 100644 --- a/UiQT4/desUniqueSDCOInto.ui +++ b/UiQT4/desUniqueSDCOInto.ui @@ -1,205 +1,158 @@ - - - - - DUnSDCOInto - - - - 0 - 0 - 482 - 480 - - - - - 350 - 0 - - - - DUnIn - - - - - - - Saisir Valeur - - - - - - <font size="+1"><u>Structures de données du type requis par l'objet courant </u></font> - - - false - - - - - - - - - - <font size="+1">Un objet de type CO est attendu</font> - - - false - - - - - - - - 420 - 30 - - - - - - - false - - - - - - - - - - - - - 190 - 50 - - - - StyledPanel - - - Raised - - - - - 20 - 10 - 150 - 30 - - - - <font size="+1"> Nom concept : </font> - - - false - - - - - - - - - 220 - 40 - - - - - - - - - - - 0 - 30 - - - - &Supprimer - - - Alt+S - - - true - - - suppression du mot clef - - - - - - - - 0 - 30 - - - - &Valider - - - Shift+A, Alt+A, Alt+A, Alt+A - - - true - - - true - - - validation de la saisie - - - - - - - - 0 - 30 - - - - &Documentation - - - Alt+D - - - true - - - affichage documentation aster - - - - + + DUnSDCOInto + + + + 0 + 0 + 482 + 480 + + + + + 350 + 0 + + + + DUnIn + + + + + + + Saisir Valeur + + + + + + <font size="+1"><u>Structures de données du type requis par l'objet courant </u></font> + + + false + + + + + + + + + + <font size="+1">Un objet de type CO est attendu</font> + + + false + + + + + + + + 420 + 30 + + + + + + + false + + + + + + + + + + + + + 190 + 50 + + + + QFrame::StyledPanel + + + QFrame::Raised + + + + + 20 + 10 + 150 + 30 + + + + <font size="+1"> Nom concept : </font> + + + false + + + + + + + + + 220 + 40 + + + + + + + + + + 0 + 30 + + + + validation de la saisie + + + &Valider + + + Shift+A, Alt+A, Alt+A, Alt+A + + + true + + + true + - - - - - qPixmapFromMimeSource - - LESDCO - LBSDCO - tabuniqueinto - bSup - bOk - bHelp - + + + + + + + + + qPixmapFromMimeSource + + LESDCO + LBSDCO + tabuniqueinto + bOk + + + diff --git a/UiQT4/desViewTexte.py b/UiQT4/desViewTexte.py index 43e63fd3..a83037c3 100644 --- a/UiQT4/desViewTexte.py +++ b/UiQT4/desViewTexte.py @@ -2,8 +2,8 @@ # Form implementation generated from reading ui file 'desViewTexte.ui' # -# Created: Tue Nov 18 17:37:26 2008 -# by: PyQt4 UI code generator 4.4.2 +# Created: Tue Jan 27 12:25:39 2009 +# by: PyQt4 UI code generator 4.4.3 # # WARNING! All changes made in this file will be lost! @@ -12,20 +12,20 @@ from PyQt4 import QtCore, QtGui class Ui_dView(object): def setupUi(self, dView): dView.setObjectName("dView") - dView.resize(400,322) + dView.resize(400, 322) self.gridLayout = QtGui.QGridLayout(dView) self.gridLayout.setObjectName("gridLayout") self.view = QtGui.QTextBrowser(dView) self.view.setObjectName("view") - self.gridLayout.addWidget(self.view,0,0,1,4) - spacerItem = QtGui.QSpacerItem(209,20,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum) - self.gridLayout.addItem(spacerItem,1,0,1,1) + self.gridLayout.addWidget(self.view, 0, 0, 1, 4) + spacerItem = QtGui.QSpacerItem(209, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) + self.gridLayout.addItem(spacerItem, 1, 0, 1, 1) self.bclose = QtGui.QPushButton(dView) self.bclose.setObjectName("bclose") - self.gridLayout.addWidget(self.bclose,1,2,1,1) + self.gridLayout.addWidget(self.bclose, 1, 2, 1, 1) self.bsave = QtGui.QPushButton(dView) self.bsave.setObjectName("bsave") - self.gridLayout.addWidget(self.bsave,1,1,1,1) + self.gridLayout.addWidget(self.bsave, 1, 1, 1, 1) self.retranslateUi(dView) QtCore.QMetaObject.connectSlotsByName(dView) diff --git a/UiQT4/desVisu.py b/UiQT4/desVisu.py index 687d2f42..ca7866cb 100644 --- a/UiQT4/desVisu.py +++ b/UiQT4/desVisu.py @@ -2,8 +2,8 @@ # Form implementation generated from reading ui file 'desVisu.ui' # -# Created: Tue Nov 18 17:37:26 2008 -# by: PyQt4 UI code generator 4.4.2 +# Created: Tue Jan 27 12:25:38 2009 +# by: PyQt4 UI code generator 4.4.3 # # WARNING! All changes made in this file will be lost! @@ -12,12 +12,12 @@ from PyQt4 import QtCore, QtGui class Ui_DVisu(object): def setupUi(self, DVisu): DVisu.setObjectName("DVisu") - DVisu.resize(501,394) + DVisu.resize(501, 394) self.gridlayout = QtGui.QGridLayout(DVisu) self.gridlayout.setObjectName("gridlayout") self.TB = QtGui.QTextBrowser(DVisu) self.TB.setObjectName("TB") - self.gridlayout.addWidget(self.TB,0,0,1,1) + self.gridlayout.addWidget(self.TB, 0, 0, 1, 1) self.retranslateUi(DVisu) diff --git a/UiQT4/myMain.py b/UiQT4/myMain.py index 7720fb0c..02b3f50c 100644 --- a/UiQT4/myMain.py +++ b/UiQT4/myMain.py @@ -2,8 +2,8 @@ # Form implementation generated from reading ui file 'myMain.ui' # -# Created: Tue Nov 18 17:37:26 2008 -# by: PyQt4 UI code generator 4.4.2 +# Created: Wed Jan 28 11:24:41 2009 +# by: PyQt4 UI code generator 4.4.3 # # WARNING! All changes made in this file will be lost! @@ -12,13 +12,13 @@ from PyQt4 import QtCore, QtGui class Ui_Eficas(object): def setupUi(self, Eficas): Eficas.setObjectName("Eficas") - Eficas.resize(1406,600) + Eficas.resize(1406, 600) self.centralwidget = QtGui.QWidget(Eficas) - self.centralwidget.setGeometry(QtCore.QRect(0,68,1406,510)) + self.centralwidget.setGeometry(QtCore.QRect(0, 68, 1406, 510)) self.centralwidget.setObjectName("centralwidget") Eficas.setCentralWidget(self.centralwidget) self.menubar = QtGui.QMenuBar(Eficas) - self.menubar.setGeometry(QtCore.QRect(0,0,1406,29)) + self.menubar.setGeometry(QtCore.QRect(0, 0, 1406, 29)) self.menubar.setObjectName("menubar") self.menuFichier = QtGui.QMenu(self.menubar) self.menuFichier.setObjectName("menuFichier") @@ -36,29 +36,29 @@ class Ui_Eficas(object): self.menuPatrons.setObjectName("menuPatrons") Eficas.setMenuBar(self.menubar) self.statusbar = QtGui.QStatusBar(Eficas) - self.statusbar.setGeometry(QtCore.QRect(0,578,1406,22)) + self.statusbar.setGeometry(QtCore.QRect(0, 578, 1406, 22)) self.statusbar.setObjectName("statusbar") Eficas.setStatusBar(self.statusbar) self.toolBar = QtGui.QToolBar(Eficas) - self.toolBar.setGeometry(QtCore.QRect(0,29,1406,39)) + self.toolBar.setGeometry(QtCore.QRect(0, 29, 1406, 39)) self.toolBar.setObjectName("toolBar") - Eficas.addToolBar(QtCore.Qt.TopToolBarArea,self.toolBar) + Eficas.addToolBar(QtCore.Qt.TopToolBarArea, self.toolBar) self.action_Nouveau = QtGui.QAction(Eficas) icon = QtGui.QIcon() - icon.addPixmap(QtGui.QPixmap("icons/New24.gif"),QtGui.QIcon.Normal,QtGui.QIcon.Off) + icon.addPixmap(QtGui.QPixmap("../Editeur/icons/New24.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.action_Nouveau.setIcon(icon) self.action_Nouveau.setObjectName("action_Nouveau") self.actionNouvel_Include = QtGui.QAction(Eficas) self.actionNouvel_Include.setObjectName("actionNouvel_Include") self.action_Ouvrir = QtGui.QAction(Eficas) - icon = QtGui.QIcon() - icon.addPixmap(QtGui.QPixmap("icons/Open24.gif"),QtGui.QIcon.Normal,QtGui.QIcon.Off) - self.action_Ouvrir.setIcon(icon) + icon1 = QtGui.QIcon() + icon1.addPixmap(QtGui.QPixmap("../Editeur/icons/Open24.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) + self.action_Ouvrir.setIcon(icon1) self.action_Ouvrir.setObjectName("action_Ouvrir") self.actionEnregistrer = QtGui.QAction(Eficas) - icon = QtGui.QIcon() - icon.addPixmap(QtGui.QPixmap("icons/Save24.gif"),QtGui.QIcon.Normal,QtGui.QIcon.Off) - self.actionEnregistrer.setIcon(icon) + icon2 = QtGui.QIcon() + icon2.addPixmap(QtGui.QPixmap("../Editeur/icons/Save24.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) + self.actionEnregistrer.setIcon(icon2) self.actionEnregistrer.setObjectName("actionEnregistrer") self.actionEnregistrer_sous = QtGui.QAction(Eficas) self.actionEnregistrer_sous.setObjectName("actionEnregistrer_sous") @@ -67,19 +67,19 @@ class Ui_Eficas(object): self.actionFermer_tout = QtGui.QAction(Eficas) self.actionFermer_tout.setObjectName("actionFermer_tout") self.actionCouper = QtGui.QAction(Eficas) - icon = QtGui.QIcon() - icon.addPixmap(QtGui.QPixmap("icons/Cut24.gif"),QtGui.QIcon.Normal,QtGui.QIcon.Off) - self.actionCouper.setIcon(icon) + icon3 = QtGui.QIcon() + icon3.addPixmap(QtGui.QPixmap("../Editeur/icons/Cut24.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) + self.actionCouper.setIcon(icon3) self.actionCouper.setObjectName("actionCouper") self.actionCopier = QtGui.QAction(Eficas) - icon = QtGui.QIcon() - icon.addPixmap(QtGui.QPixmap("icons/Copy24.gif"),QtGui.QIcon.Normal,QtGui.QIcon.Off) - self.actionCopier.setIcon(icon) + icon4 = QtGui.QIcon() + icon4.addPixmap(QtGui.QPixmap("../Editeur/icons/Copy24.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) + self.actionCopier.setIcon(icon4) self.actionCopier.setObjectName("actionCopier") self.actionColler = QtGui.QAction(Eficas) - icon = QtGui.QIcon() - icon.addPixmap(QtGui.QPixmap("icons/Paste24.gif"),QtGui.QIcon.Normal,QtGui.QIcon.Off) - self.actionColler.setIcon(icon) + icon5 = QtGui.QIcon() + icon5.addPixmap(QtGui.QPixmap("../Editeur/icons/Paste24.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) + self.actionColler.setIcon(icon5) self.actionColler.setObjectName("actionColler") self.actionQuitter = QtGui.QAction(Eficas) self.actionQuitter.setObjectName("actionQuitter") diff --git a/UiQT4/myMain.ui b/UiQT4/myMain.ui index 6025ed61..4ffb0e3f 100644 --- a/UiQT4/myMain.ui +++ b/UiQT4/myMain.ui @@ -133,7 +133,7 @@ - icons/New24.gificons/New24.gif + ../Editeur/icons/New24.png../Editeur/icons/New24.png &Nouveau @@ -150,7 +150,7 @@ - icons/Open24.gificons/Open24.gif + ../Editeur/icons/Open24.png../Editeur/icons/Open24.png &Ouvrir @@ -162,7 +162,7 @@ - icons/Save24.gificons/Save24.gif + ../Editeur/icons/Save24.png../Editeur/icons/Save24.png Enregistrer @@ -195,7 +195,7 @@ - icons/Cut24.gificons/Cut24.gif + ../Editeur/icons/Cut24.png../Editeur/icons/Cut24.png Couper @@ -207,7 +207,7 @@ - icons/Copy24.gificons/Copy24.gif + ../Editeur/icons/Copy24.png../Editeur/icons/Copy24.png Copier @@ -219,7 +219,7 @@ - icons/Paste24.gificons/Paste24.gif + ../Editeur/icons/Paste24.png../Editeur/icons/Paste24.png Coller -- 2.39.2