From: cvs2git Date: Mon, 8 Dec 2008 13:50:35 +0000 (+0000) Subject: This commit was manufactured by cvs2git to create tag 'V1_15a2'. X-Git-Tag: V1_15a2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=f73ba0ad62c5d8bb2ceff2b122493745d97b62e1;p=tools%2Feficas.git This commit was manufactured by cvs2git to create tag 'V1_15a2'. Sprout from BR_dev_V1_15 2008-12-08 13:50:34 UTC Pascale Noyret '*** empty log message ***' Delete: Ui/OptionsEditeur.py Ui/OptionsPdf.py Ui/aideQT.py Ui/desChoixCata.py Ui/desCommande.py Ui/desCommentaire.py Ui/desError.py Ui/desFormule.py Ui/desInactif.py Ui/desInclude.py Ui/desListeParam.py Ui/desMCFact.py Ui/desMCListAjout.py Ui/desMacro.py Ui/desParam.py Ui/desPlusieursBase.py Ui/desPlusieursInto.py Ui/desPoursuite.py Ui/desRacine.py Ui/desSelectVal.py Ui/desUniqueASSD.py Ui/desUniqueBase.py Ui/desUniqueComp.py Ui/desUniqueInto.py Ui/desUniqueSDCO.py Ui/desUniqueSDCOInto.py Ui/desVisu.py Ui/myMain.py --- diff --git a/Ui/OptionsEditeur.py b/Ui/OptionsEditeur.py deleted file mode 100644 index 6a978086..00000000 --- a/Ui/OptionsEditeur.py +++ /dev/null @@ -1,138 +0,0 @@ -# -*- coding: utf-8 -*- - -# Form implementation generated from reading ui file 'OptionsEditeur.ui' -# -# Created: Mon Dec 1 10:32:43 2008 -# by: The PyQt User Interface Compiler (pyuic) 3.16 -# -# WARNING! All changes made in this file will be lost! - - -from qt import * - - -class desOptions(QDialog): - def __init__(self,parent = None,name = None,modal = 0,fl = 0): - QDialog.__init__(self,parent,name,modal,fl) - - if not name: - self.setName("desOptions") - - - - self.groupBox1 = QGroupBox(self,"groupBox1") - self.groupBox1.setGeometry(QRect(11,11,548,191)) - - self.textLabel1_3 = QLabel(self.groupBox1,"textLabel1_3") - self.textLabel1_3.setGeometry(QRect(30,60,280,20)) - - self.textLabel1_2_2 = QLabel(self.groupBox1,"textLabel1_2_2") - self.textLabel1_2_2.setGeometry(QRect(30,120,280,20)) - - self.CBVersions = QComboBox(0,self.groupBox1,"CBVersions") - self.CBVersions.setGeometry(QRect(30,20,90,30)) - - self.LERepMat = QLineEdit(self.groupBox1,"LERepMat") - self.LERepMat.setGeometry(QRect(30,140,501,31)) - - self.LERepCata = QLineEdit(self.groupBox1,"LERepCata") - self.LERepCata.setGeometry(QRect(30,80,501,31)) - - self.Bok = QPushButton(self.groupBox1,"Bok") - self.Bok.setGeometry(QRect(440,20,90,31)) - self.Bok.setAutoDefault(0) - - self.groupBox2 = QGroupBox(self,"groupBox2") - self.groupBox2.setGeometry(QRect(11,208,548,90)) - - self.LEVersionAjout = QLineEdit(self.groupBox2,"LEVersionAjout") - self.LEVersionAjout.setGeometry(QRect(120,31,101,30)) - - self.LEVersionSup = QLineEdit(self.groupBox2,"LEVersionSup") - self.LEVersionSup.setGeometry(QRect(410,30,101,30)) - - self.PBSup = QPushButton(self.groupBox2,"PBSup") - self.PBSup.setGeometry(QRect(300,20,101,41)) - - self.PBajout = QPushButton(self.groupBox2,"PBajout") - self.PBajout.setGeometry(QRect(10,20,101,41)) - - self.PBQuit = QPushButton(self,"PBQuit") - self.PBQuit.setGeometry(QRect(400,420,151,31)) - self.PBQuit.setMinimumSize(QSize(0,30)) - - self.groupBox3 = QGroupBox(self,"groupBox3") - self.groupBox3.setGeometry(QRect(10,310,548,90)) - - self.LERepDoc = QLineEdit(self.groupBox3,"LERepDoc") - self.LERepDoc.setGeometry(QRect(20,50,520,31)) - - self.textLabel1 = QLabel(self.groupBox3,"textLabel1") - self.textLabel1.setGeometry(QRect(20,20,280,30)) - - self.Bdefaut = QCheckBox(self,"Bdefaut") - self.Bdefaut.setGeometry(QRect(10,430,340,20)) - Bdefaut_font = QFont(self.Bdefaut.font()) - Bdefaut_font.setPointSize(12) - self.Bdefaut.setFont(Bdefaut_font) - - self.languageChange() - - self.resize(QSize(570,474).expandedTo(self.minimumSizeHint())) - self.clearWState(Qt.WState_Polished) - - self.connect(self.CBVersions,SIGNAL("activated(int)"),self.VersionChoisie) - self.connect(self.Bdefaut,SIGNAL("clicked()"),self.BdefautChecked) - self.connect(self.LEVersionAjout,SIGNAL("returnPressed()"),self.AjoutVersion) - self.connect(self.LERepDoc,SIGNAL("returnPressed()"),self.ChangePathDoc) - 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) - - - def languageChange(self): - self.setCaption(self.__tr("Options Aster")) - self.groupBox1.setTitle(self.__tr("Configurer une Version")) - self.textLabel1_3.setText(self.__trUtf8("\x52\xc3\xa9\x70\x65\x72\x74\x6f\x69\x72\x65\x20\x64\x27\x61\x63\x63\xc3\xa8\x73\x20\x61\x75\x20\x63\x61\x74\x61\x6c\x6f\x67\x75\x65\x20\x3a")) - self.textLabel1_2_2.setText(self.__trUtf8("\x52\xc3\xa9\x70\x65\x72\x74\x6f\x69\x72\x65\x20\x64\x27\x61\x63\x63\xc3\xa8\x73\x20\x61\x75\x78\x20\x6d\x61\x74\xc3\xa9\x72\x69\x61\x75\x78\x20\x3a")) - self.LERepMat.setText(QString.null) - self.LERepCata.setText(QString.null) - self.Bok.setText(self.__tr("Valider")) - self.groupBox2.setTitle(self.__trUtf8("\x47\xc3\xa9\x72\x65\x72\x20\x6c\x65\x73\x20\x76\x65\x72\x73\x69\x6f\x6e\x73")) - self.PBSup.setText(self.__tr("Supprimer\n" -"Version :")) - self.PBajout.setText(self.__tr("Ajouter\n" -"Version :")) - self.PBQuit.setText(self.__tr("Quitter")) - self.groupBox3.setTitle(self.__tr("Doc")) - self.LERepDoc.setText(QString.null) - self.textLabel1.setText(self.__trUtf8("\x52\x65\x70\x65\x72\x74\x6f\x69\x72\x65\x20\x64\x27\x61\x63\x63\x65\x73\x20\xc3\xa0\x20\x6c\x61\x20\x64\x6f\x63\x75\x6d\x65\x6e\x74\x61\x74\x69\x6f\x6e\x20\x3a")) - self.Bdefaut.setText(self.__tr("Reinitialiser avec les valeurs par defaut")) - - - def VersionChoisie(self): - print "desOptions.VersionChoisie(): Not implemented yet" - - def BdefautChecked(self): - print "desOptions.BdefautChecked(): Not implemented yet" - - def AjoutVersion(self): - print "desOptions.AjoutVersion(): Not implemented yet" - - def SupVersion(self): - print "desOptions.SupVersion(): Not implemented yet" - - def ChangePathDoc(self): - print "desOptions.ChangePathDoc(): Not implemented yet" - - def BokClicked(self): - print "desOptions.BokClicked(): Not implemented yet" - - def __tr(self,s,c = None): - return qApp.translate("desOptions",s,c) - - def __trUtf8(self,s,c = None): - return qApp.translate("desOptions",s,c,QApplication.UnicodeUTF8) diff --git a/Ui/OptionsPdf.py b/Ui/OptionsPdf.py deleted file mode 100644 index 17c90a85..00000000 --- a/Ui/OptionsPdf.py +++ /dev/null @@ -1,63 +0,0 @@ -# -*- coding: utf-8 -*- - -# Form implementation generated from reading ui file 'OptionsPdf.ui' -# -# Created: Mon Dec 1 10:32:43 2008 -# by: The PyQt User Interface Compiler (pyuic) 3.16 -# -# WARNING! All changes made in this file will be lost! - - -from qt import * - - -class desPdf(QDialog): - def __init__(self,parent = None,name = None,modal = 0,fl = 0): - QDialog.__init__(self,parent,name,modal,fl) - - if not name: - self.setName("desPdf") - - - - self.textLabel1_2 = QLabel(self,"textLabel1_2") - self.textLabel1_2.setGeometry(QRect(20,10,280,20)) - - self.BCancel = QPushButton(self,"BCancel") - self.BCancel.setGeometry(QRect(450,90,70,31)) - - self.LERepPdf = QLineEdit(self,"LERepPdf") - self.LERepPdf.setGeometry(QRect(20,40,501,31)) - - self.Bok = QPushButton(self,"Bok") - self.Bok.setGeometry(QRect(350,90,70,31)) - - self.languageChange() - - self.resize(QSize(538,142).expandedTo(self.minimumSizeHint())) - self.clearWState(Qt.WState_Polished) - - self.connect(self.BCancel,SIGNAL("clicked()"),self.reject) - self.connect(self.LERepPdf,SIGNAL("returnPressed()"),self.LeRepPdfPressed) - self.connect(self.Bok,SIGNAL("clicked()"),self.BokClicked) - - self.setTabOrder(self.LERepPdf,self.Bok) - self.setTabOrder(self.Bok,self.BCancel) - - - def languageChange(self): - self.setCaption(self.__tr("desPdf")) - self.textLabel1_2.setText(self.__tr("Lecteur Pdf")) - self.BCancel.setText(self.__tr("Cancel")) - self.LERepPdf.setText(self.__tr("acroread")) - self.Bok.setText(self.__tr("Ok")) - - - def LeRepPdfPressed(self): - print "desPdf.LeRepPdfPressed(): Not implemented yet" - - def BokClicked(self): - print "desPdf.BokClicked(): Not implemented yet" - - def __tr(self,s,c = None): - return qApp.translate("desPdf",s,c) diff --git a/Ui/aideQT.py b/Ui/aideQT.py deleted file mode 100644 index 1aac5f8b..00000000 --- a/Ui/aideQT.py +++ /dev/null @@ -1,78 +0,0 @@ -# -*- coding: utf-8 -*- - -# Form implementation generated from reading ui file 'aideQT.ui' -# -# Created: Mon Dec 1 10:32:43 2008 -# by: The PyQt User Interface Compiler (pyuic) 3.16 -# -# WARNING! All changes made in this file will be lost! - - -from qt import * - - -class Aide(QWidget): - def __init__(self,parent = None,name = None,fl = 0): - QWidget.__init__(self,parent,name,fl) - - if not name: - self.setName("Aide") - - - AideLayout = QGridLayout(self,1,1,11,6,"AideLayout") - - layout2 = QHBoxLayout(None,0,6,"layout2") - - self.PBIndex = QPushButton(self,"PBIndex") - self.PBIndex.setMinimumSize(QSize(0,30)) - layout2.addWidget(self.PBIndex) - - self.PBBack = QPushButton(self,"PBBack") - self.PBBack.setEnabled(1) - self.PBBack.setMinimumSize(QSize(0,30)) - layout2.addWidget(self.PBBack) - - self.PBForward = QPushButton(self,"PBForward") - self.PBForward.setEnabled(1) - self.PBForward.setMinimumSize(QSize(0,30)) - layout2.addWidget(self.PBForward) - - AideLayout.addLayout(layout2,1,0) - - self.TB1 = QTextBrowser(self,"TB1") - - AideLayout.addMultiCellWidget(self.TB1,0,0,0,1) - spacer1 = QSpacerItem(311,20,QSizePolicy.Expanding,QSizePolicy.Minimum) - AideLayout.addItem(spacer1,1,1) - - self.languageChange() - - self.resize(QSize(602,480).expandedTo(self.minimumSizeHint())) - self.clearWState(Qt.WState_Polished) - - self.connect(self.PBBack,SIGNAL("clicked()"),self.TB1.backward) - self.connect(self.PBForward,SIGNAL("clicked()"),self.TB1.forward) - self.connect(self.PBIndex,SIGNAL("clicked()"),self.TB1.home) - - - def languageChange(self): - self.setCaption(self.__tr("Aide")) - self.PBIndex.setText(self.__tr("Index")) - self.PBBack.setText(self.__tr("Back")) - self.PBForward.setText(self.__tr("Forward")) - - - def PBIndexPushed(self): - print "Aide.PBIndexPushed(): Not implemented yet" - - def PBBackPushed(self): - print "Aide.PBBackPushed(): Not implemented yet" - - def PBForwardPushed(self): - print "Aide.PBForwardPushed(): Not implemented yet" - - def SlotSourceChanged(self): - print "Aide.SlotSourceChanged(): Not implemented yet" - - def __tr(self,s,c = None): - return qApp.translate("Aide",s,c) diff --git a/Ui/desChoixCata.py b/Ui/desChoixCata.py deleted file mode 100644 index a650bb19..00000000 --- a/Ui/desChoixCata.py +++ /dev/null @@ -1,87 +0,0 @@ -# -*- coding: utf-8 -*- - -# Form implementation generated from reading ui file 'desChoixCata.ui' -# -# Created: Mon Dec 1 12:10:18 2008 -# by: The PyQt User Interface Compiler (pyuic) 3.16 -# -# WARNING! All changes made in this file will be lost! - - -from qt import * - - -class DChoixCata(QDialog): - def __init__(self,parent = None,name = None,modal = 0,fl = 0): - QDialog.__init__(self,parent,name,modal,fl) - - if not name: - self.setName("DChoixCata") - - self.setSizeGripEnabled(1) - - DChoixCataLayout = QGridLayout(self,1,1,11,6,"DChoixCataLayout") - - self.frame3 = QFrame(self,"frame3") - self.frame3.setFrameShape(QFrame.StyledPanel) - self.frame3.setFrameShadow(QFrame.Raised) - - self.buttonCancel = QPushButton(self.frame3,"buttonCancel") - self.buttonCancel.setGeometry(QRect(380,6,90,30)) - self.buttonCancel.setAutoDefault(1) - - self.buttonOk = QPushButton(self.frame3,"buttonOk") - self.buttonOk.setGeometry(QRect(40,6,90,30)) - self.buttonOk.setAutoDefault(1) - self.buttonOk.setDefault(1) - - DChoixCataLayout.addMultiCellWidget(self.frame3,2,2,0,1) - - self.TLNb = QLabel(self,"TLNb") - self.TLNb.setMinimumSize(QSize(30,0)) - - DChoixCataLayout.addWidget(self.TLNb,0,0) - - self.textLabel1_2 = QLabel(self,"textLabel1_2") - self.textLabel1_2.setSizePolicy(QSizePolicy(QSizePolicy.Ignored,QSizePolicy.Preferred,0,0,self.textLabel1_2.sizePolicy().hasHeightForWidth())) - self.textLabel1_2.setMinimumSize(QSize(30,60)) - - DChoixCataLayout.addWidget(self.textLabel1_2,1,0) - - self.CBChoixCata = QComboBox(0,self,"CBChoixCata") - self.CBChoixCata.setEnabled(1) - self.CBChoixCata.setSizePolicy(QSizePolicy(QSizePolicy.Fixed,QSizePolicy.Fixed,0,0,self.CBChoixCata.sizePolicy().hasHeightForWidth())) - - DChoixCataLayout.addWidget(self.CBChoixCata,1,1) - - self.languageChange() - - self.resize(QSize(523,172).expandedTo(self.minimumSizeHint())) - self.clearWState(Qt.WState_Polished) - - self.connect(self.buttonOk,SIGNAL("clicked()"),self.BOkPressed) - self.connect(self.buttonCancel,SIGNAL("clicked()"),self.BCancelPressed) - self.connect(self.CBChoixCata,SIGNAL("activated(const QString&)"),self.CataChoisi) - - - def languageChange(self): - self.setCaption(self.__tr("Choix d'une version du code Aster")) - self.buttonCancel.setText(self.__tr("&Cancel")) - self.buttonCancel.setAccel(QKeySequence(QString.null)) - self.buttonOk.setText(self.__tr("&OK")) - self.buttonOk.setAccel(QKeySequence(QString.null)) - self.TLNb.setText(self.__tr("2")) - self.textLabel1_2.setText(self.__tr("Veuillez choisir celle avec laquelle vous souhaitez travailler")) - - - def CataChoisi(self): - print "DChoixCata.CataChoisi(): Not implemented yet" - - def BOkPressed(self): - print "DChoixCata.BOkPressed(): Not implemented yet" - - def BCancelPressed(self): - print "DChoixCata.BCancelPressed(): Not implemented yet" - - def __tr(self,s,c = None): - return qApp.translate("DChoixCata",s,c) diff --git a/Ui/desCommande.py b/Ui/desCommande.py deleted file mode 100644 index a9f53a82..00000000 --- a/Ui/desCommande.py +++ /dev/null @@ -1,233 +0,0 @@ -# -*- coding: utf-8 -*- - -# Form implementation generated from reading ui file 'desCommande.ui' -# -# Created: Mon Dec 1 12:10:18 2008 -# by: The PyQt User Interface Compiler (pyuic) 3.16 -# -# WARNING! All changes made in this file will be lost! - - -from qt import * - - -class DComm(QWidget): - def __init__(self,parent = None,name = None,fl = 0): - QWidget.__init__(self,parent,name,fl) - - if not name: - self.setName("DComm") - - self.setSizePolicy(QSizePolicy(QSizePolicy.MinimumExpanding,QSizePolicy.MinimumExpanding,0,0,self.sizePolicy().hasHeightForWidth())) - self.setMinimumSize(QSize(0,0)) - - DCommLayout = QGridLayout(self,1,1,11,6,"DCommLayout") - - layout1 = QHBoxLayout(None,0,6,"layout1") - - self.bSup = QPushButton(self,"bSup") - self.bSup.setSizePolicy(QSizePolicy(QSizePolicy.Ignored,QSizePolicy.Fixed,0,0,self.bSup.sizePolicy().hasHeightForWidth())) - self.bSup.setMinimumSize(QSize(0,30)) - self.bSup.setAutoDefault(1) - layout1.addWidget(self.bSup) - - self.bOk = QPushButton(self,"bOk") - self.bOk.setSizePolicy(QSizePolicy(QSizePolicy.Ignored,QSizePolicy.Fixed,0,0,self.bOk.sizePolicy().hasHeightForWidth())) - self.bOk.setMinimumSize(QSize(0,30)) - self.bOk.setAutoDefault(1) - self.bOk.setDefault(1) - layout1.addWidget(self.bOk) - - self.bHelp = QPushButton(self,"bHelp") - self.bHelp.setSizePolicy(QSizePolicy(QSizePolicy.Ignored,QSizePolicy.Fixed,0,0,self.bHelp.sizePolicy().hasHeightForWidth())) - self.bHelp.setMinimumSize(QSize(0,30)) - self.bHelp.setAutoDefault(1) - layout1.addWidget(self.bHelp) - - DCommLayout.addLayout(layout1,2,0) - - self.Commentaire = QLabel(self,"Commentaire") - self.Commentaire.setFrameShape(QLabel.NoFrame) - self.Commentaire.setFrameShadow(QLabel.Plain) - - DCommLayout.addWidget(self.Commentaire,1,0) - - self.TWChoix = QTabWidget(self,"TWChoix") - - self.MotClef = QWidget(self.TWChoix,"MotClef") - - self.textLabel1 = QLabel(self.MotClef,"textLabel1") - self.textLabel1.setGeometry(QRect(11,11,226,23)) - self.textLabel1.setMinimumSize(QSize(0,0)) - - self.textLabel1_2 = QLabel(self.MotClef,"textLabel1_2") - self.textLabel1_2.setGeometry(QRect(243,11,225,23)) - - self.LBRegles = QListBox(self.MotClef,"LBRegles") - self.LBRegles.setGeometry(QRect(243,40,230,318)) - - self.LBMCPermis = QListBox(self.MotClef,"LBMCPermis") - self.LBMCPermis.setGeometry(QRect(11,40,220,318)) - self.LBMCPermis.setMinimumSize(QSize(0,0)) - self.TWChoix.insertTab(self.MotClef,QString.fromLatin1("")) - - self.Concept = QWidget(self.TWChoix,"Concept") - - self.groupBox1 = QGroupBox(self.Concept,"groupBox1") - self.groupBox1.setGeometry(QRect(11,11,460,340)) - - self.textLabel1_3 = QLabel(self.groupBox1,"textLabel1_3") - self.textLabel1_3.setGeometry(QRect(80,50,130,31)) - - self.textLabel1_3_2 = QLabel(self.groupBox1,"textLabel1_3_2") - self.textLabel1_3_2.setGeometry(QRect(80,170,150,31)) - - self.typeConcept = QLabel(self.groupBox1,"typeConcept") - self.typeConcept.setGeometry(QRect(310,200,130,31)) - - self.textLabel3 = QLabel(self.groupBox1,"textLabel3") - self.textLabel3.setGeometry(QRect(10,200,290,31)) - self.textLabel3.setSizePolicy(QSizePolicy(QSizePolicy.Ignored,QSizePolicy.Preferred,0,0,self.textLabel3.sizePolicy().hasHeightForWidth())) - - self.LENomConcept = QLineEdit(self.groupBox1,"LENomConcept") - self.LENomConcept.setGeometry(QRect(80,110,310,30)) - self.TWChoix.insertTab(self.Concept,QString.fromLatin1("")) - - self.Commande = QWidget(self.TWChoix,"Commande") - CommandeLayout = QGridLayout(self.Commande,1,1,11,6,"CommandeLayout") - - self.buttonGroup1 = QButtonGroup(self.Commande,"buttonGroup1") - - self.RBalpha = QRadioButton(self.buttonGroup1,"RBalpha") - self.RBalpha.setGeometry(QRect(20,20,120,20)) - self.RBalpha.setChecked(1) - - self.RBGroupe = QRadioButton(self.buttonGroup1,"RBGroupe") - self.RBGroupe.setGeometry(QRect(20,40,110,20)) - - CommandeLayout.addMultiCellWidget(self.buttonGroup1,0,1,3,3) - - self.LBNouvCommande = QListBox(self.Commande,"LBNouvCommande") - - CommandeLayout.addMultiCellWidget(self.LBNouvCommande,2,2,0,3) - - self.textLabel1_4 = QLabel(self.Commande,"textLabel1_4") - self.textLabel1_4.setMaximumSize(QSize(32767,20)) - - CommandeLayout.addMultiCellWidget(self.textLabel1_4,0,0,0,2) - - self.textLabel4 = QLabel(self.Commande,"textLabel4") - self.textLabel4.setSizePolicy(QSizePolicy(QSizePolicy.Ignored,QSizePolicy.Preferred,0,0,self.textLabel4.sizePolicy().hasHeightForWidth())) - - CommandeLayout.addMultiCellWidget(self.textLabel4,3,3,0,3) - - self.textLabel6 = QLabel(self.Commande,"textLabel6") - self.textLabel6.setMinimumSize(QSize(40,40)) - - CommandeLayout.addWidget(self.textLabel6,1,0) - - self.LEFiltre = QLineEdit(self.Commande,"LEFiltre") - self.LEFiltre.setMinimumSize(QSize(0,40)) - - CommandeLayout.addWidget(self.LEFiltre,1,1) - - self.BNext = QToolButton(self.Commande,"BNext") - self.BNext.setMinimumSize(QSize(70,40)) - self.BNext.setIconSet(QIconSet()) - - CommandeLayout.addWidget(self.BNext,1,2) - self.TWChoix.insertTab(self.Commande,QString.fromLatin1("")) - - DCommLayout.addWidget(self.TWChoix,0,0) - - self.languageChange() - - self.resize(QSize(506,483).expandedTo(self.minimumSizeHint())) - self.clearWState(Qt.WState_Polished) - - 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) - - self.setTabOrder(self.LEFiltre,self.LBRegles) - self.setTabOrder(self.LBRegles,self.LENomConcept) - self.setTabOrder(self.LENomConcept,self.TWChoix) - self.setTabOrder(self.TWChoix,self.LBMCPermis) - self.setTabOrder(self.LBMCPermis,self.RBalpha) - self.setTabOrder(self.RBalpha,self.LBNouvCommande) - self.setTabOrder(self.LBNouvCommande,self.bOk) - self.setTabOrder(self.bOk,self.bSup) - self.setTabOrder(self.bSup,self.bHelp) - - - def languageChange(self): - self.setCaption(self.__tr("DComm")) - self.bSup.setText(self.__tr("&Supprimer")) - self.bSup.setAccel(QKeySequence(self.__tr("Alt+S"))) - QToolTip.add(self.bSup,self.__tr("suppression du mot clef")) - self.bOk.setText(self.__tr("&Valider")) - self.bOk.setAccel(QKeySequence(self.__tr("Shift+A, Alt+A, Alt+A, Alt+A"))) - QToolTip.add(self.bOk,self.__tr("validation de la saisie")) - self.bHelp.setText(self.__tr("&Documentation")) - self.bHelp.setAccel(QKeySequence(self.__tr("Alt+D"))) - QToolTip.add(self.bHelp,self.__tr("affichage documentation aster")) - self.Commentaire.setText(QString.null) - self.textLabel1.setText(self.__tr("

Mots Clefs Permis

")) - self.textLabel1_2.setText(self.__trUtf8("\x3c\x68\x33\x3e\x3c\x70\x20\x61\x6c\x69\x67\x6e\x3d\x22\x63\x65\x6e\x74\x65\x72\x22\x3e\x3c\x75\x3e\x3c\x62\x3e\x52\xc3\xa8\x67\x6c\x65\x73\x3c\x2f\x62\x3e\x3c\x2f\x75\x3e\x3c\x2f\x70\x3e\x3c\x2f\x68\x33\x3e")) - self.TWChoix.changeTab(self.MotClef,self.__tr("Ajouter Mot-Clef")) - self.groupBox1.setTitle(self.__tr("Concept")) - self.textLabel1_3.setText(self.__tr("Nom du concept :")) - self.textLabel1_3_2.setText(self.__tr("Type du concept :")) - self.typeConcept.setText(self.__tr("TypeDuConcept")) - self.textLabel3.setText(self.__trUtf8("\x4c\x27\x6f\x70\xc3\xa9\x72\x61\x74\x65\x75\x72\x20\x72\x65\x74\x6f\x75\x72\x6e\x65\x20\x75\x6e\x20\x63\x6f\x6e\x63\x65\x70\x74\x20\x64\x65\x20\x74\x79\x70\x65\x20\x3a")) - self.TWChoix.changeTab(self.Concept,self.__tr("Nommer Concept")) - self.buttonGroup1.setTitle(self.__tr("Affichage")) - self.RBalpha.setText(self.__trUtf8("\x61\x6c\x70\x68\x61\x62\xc3\xa9\x74\x69\x71\x75\x65")) - self.RBGroupe.setText(self.__tr("par groupe")) - self.textLabel1_4.setText(self.__tr("Commandes :")) - self.textLabel4.setText(self.__trUtf8("\x4c\x61\x20\x63\x6f\x6d\x6d\x61\x6e\x64\x65\x20\x63\x68\x6f\x69\x73\x69\x65\x20\x73\x65\x72\x61\x20\x61\x6a\x6f\x75\x74\xc3\xa9\x65\x20\x41\x50\x52\x45\x53\x20\x6c\x61\x20\x63\x6f\x6d\x6d\x61\x6e\x64\x65\x20\x63\x6f\x75\x72\x61\x6e\x74\x65")) - self.textLabel6.setText(self.__tr("Filtre")) - self.BNext.setText(self.__tr("Suivant")) - QToolTip.add(self.BNext,self.__tr("affiche la prochaine occurence")) - self.TWChoix.changeTab(self.Commande,self.__tr("Nouvelle Commande")) - - - def LBNouvCommandeClicked(self): - print "DComm.LBNouvCommandeClicked(): Not implemented yet" - - def LEFiltreTextChanged(self): - print "DComm.LEFiltreTextChanged(): Not implemented yet" - - def LEfiltreReturnPressed(self): - print "DComm.LEfiltreReturnPressed(): Not implemented yet" - - def BSupPressed(self): - print "DComm.BSupPressed(): Not implemented yet" - - def LENomConceptReturnPressed(self): - print "DComm.LENomConceptReturnPressed(): Not implemented yet" - - def BOkPressed(self): - print "DComm.BOkPressed(): Not implemented yet" - - def BuildTabCommand(self): - print "DComm.BuildTabCommand(): Not implemented yet" - - def ViewDoc(self): - print "DComm.ViewDoc(): Not implemented yet" - - def BNextPressed(self): - print "DComm.BNextPressed(): Not implemented yet" - - def __tr(self,s,c = None): - return qApp.translate("DComm",s,c) - - def __trUtf8(self,s,c = None): - return qApp.translate("DComm",s,c,QApplication.UnicodeUTF8) diff --git a/Ui/desCommentaire.py b/Ui/desCommentaire.py deleted file mode 100644 index f4b246a8..00000000 --- a/Ui/desCommentaire.py +++ /dev/null @@ -1,199 +0,0 @@ -# -*- coding: utf-8 -*- - -# Form implementation generated from reading ui file 'desCommentaire.ui' -# -# Created: Mon Dec 1 12:10:18 2008 -# by: The PyQt User Interface Compiler (pyuic) 3.16 -# -# WARNING! All changes made in this file will be lost! - - -from qt import * - - -class DComment(QWidget): - def __init__(self,parent = None,name = None,fl = 0): - QWidget.__init__(self,parent,name,fl) - - if not name: - self.setName("DComment") - - self.setMinimumSize(QSize(0,0)) - - DCommentLayout = QGridLayout(self,1,1,11,6,"DCommentLayout") - - layout3 = QHBoxLayout(None,0,6,"layout3") - - self.bSup = QPushButton(self,"bSup") - self.bSup.setSizePolicy(QSizePolicy(QSizePolicy.MinimumExpanding,QSizePolicy.Fixed,0,0,self.bSup.sizePolicy().hasHeightForWidth())) - self.bSup.setMinimumSize(QSize(0,30)) - self.bSup.setAutoDefault(1) - layout3.addWidget(self.bSup) - - self.bOk = QPushButton(self,"bOk") - self.bOk.setSizePolicy(QSizePolicy(QSizePolicy.MinimumExpanding,QSizePolicy.Fixed,0,0,self.bOk.sizePolicy().hasHeightForWidth())) - self.bOk.setMinimumSize(QSize(0,30)) - self.bOk.setAutoDefault(1) - self.bOk.setDefault(1) - layout3.addWidget(self.bOk) - - self.bHelp = QPushButton(self,"bHelp") - self.bHelp.setSizePolicy(QSizePolicy(QSizePolicy.MinimumExpanding,QSizePolicy.Fixed,0,0,self.bHelp.sizePolicy().hasHeightForWidth())) - self.bHelp.setMinimumSize(QSize(0,30)) - self.bHelp.setAutoDefault(1) - layout3.addWidget(self.bHelp) - - DCommentLayout.addLayout(layout3,2,0) - - self.Commentaire = QLabel(self,"Commentaire") - self.Commentaire.setFrameShape(QLabel.NoFrame) - self.Commentaire.setFrameShadow(QLabel.Plain) - - DCommentLayout.addWidget(self.Commentaire,1,0) - - self.TWChoix = QTabWidget(self,"TWChoix") - - self.Valeur_Parametre = QWidget(self.TWChoix,"Valeur_Parametre") - - self.textCommentaire = QTextEdit(self.Valeur_Parametre,"textCommentaire") - self.textCommentaire.setGeometry(QRect(11,11,425,347)) - self.textCommentaire.setSizePolicy(QSizePolicy(QSizePolicy.MinimumExpanding,QSizePolicy.MinimumExpanding,0,0,self.textCommentaire.sizePolicy().hasHeightForWidth())) - self.TWChoix.insertTab(self.Valeur_Parametre,QString.fromLatin1("")) - - self.Commande = QWidget(self.TWChoix,"Commande") - CommandeLayout = QVBoxLayout(self.Commande,11,6,"CommandeLayout") - - layout2 = QHBoxLayout(None,0,6,"layout2") - - layout1 = QGridLayout(None,1,1,0,6,"layout1") - - self.textLabel1_4 = QLabel(self.Commande,"textLabel1_4") - self.textLabel1_4.setSizePolicy(QSizePolicy(QSizePolicy.MinimumExpanding,QSizePolicy.Preferred,0,0,self.textLabel1_4.sizePolicy().hasHeightForWidth())) - - layout1.addMultiCellWidget(self.textLabel1_4,0,0,0,2) - - self.textLabel6 = QLabel(self.Commande,"textLabel6") - self.textLabel6.setSizePolicy(QSizePolicy(QSizePolicy.Preferred,QSizePolicy.Preferred,0,0,self.textLabel6.sizePolicy().hasHeightForWidth())) - self.textLabel6.setMinimumSize(QSize(50,30)) - - layout1.addWidget(self.textLabel6,1,0) - - self.LEFiltre = QLineEdit(self.Commande,"LEFiltre") - self.LEFiltre.setSizePolicy(QSizePolicy(QSizePolicy.MinimumExpanding,QSizePolicy.Fixed,0,0,self.LEFiltre.sizePolicy().hasHeightForWidth())) - self.LEFiltre.setMinimumSize(QSize(30,30)) - - layout1.addWidget(self.LEFiltre,1,1) - - self.BNext = QToolButton(self.Commande,"BNext") - self.BNext.setSizePolicy(QSizePolicy(QSizePolicy.MinimumExpanding,QSizePolicy.Minimum,0,0,self.BNext.sizePolicy().hasHeightForWidth())) - self.BNext.setMinimumSize(QSize(20,30)) - self.BNext.setIconSet(QIconSet()) - - layout1.addWidget(self.BNext,1,2) - layout2.addLayout(layout1) - - self.buttonGroup1 = QButtonGroup(self.Commande,"buttonGroup1") - - self.RBalpha = QRadioButton(self.buttonGroup1,"RBalpha") - self.RBalpha.setGeometry(QRect(20,20,110,20)) - self.RBalpha.setSizePolicy(QSizePolicy(QSizePolicy.MinimumExpanding,QSizePolicy.Fixed,0,0,self.RBalpha.sizePolicy().hasHeightForWidth())) - self.RBalpha.setChecked(1) - - self.RBGroupe = QRadioButton(self.buttonGroup1,"RBGroupe") - self.RBGroupe.setGeometry(QRect(20,40,101,20)) - layout2.addWidget(self.buttonGroup1) - CommandeLayout.addLayout(layout2) - - self.LBNouvCommande = QListBox(self.Commande,"LBNouvCommande") - CommandeLayout.addWidget(self.LBNouvCommande) - - self.textLabel4 = QLabel(self.Commande,"textLabel4") - self.textLabel4.setSizePolicy(QSizePolicy(QSizePolicy.Ignored,QSizePolicy.Preferred,0,0,self.textLabel4.sizePolicy().hasHeightForWidth())) - CommandeLayout.addWidget(self.textLabel4) - self.TWChoix.insertTab(self.Commande,QString.fromLatin1("")) - - DCommentLayout.addWidget(self.TWChoix,0,0) - - self.languageChange() - - self.resize(QSize(478,483).expandedTo(self.minimumSizeHint())) - self.clearWState(Qt.WState_Polished) - - 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.setTabOrder(self.LEFiltre,self.TWChoix) - self.setTabOrder(self.TWChoix,self.textCommentaire) - self.setTabOrder(self.textCommentaire,self.LBNouvCommande) - self.setTabOrder(self.LBNouvCommande,self.RBalpha) - self.setTabOrder(self.RBalpha,self.bOk) - self.setTabOrder(self.bOk,self.bSup) - self.setTabOrder(self.bSup,self.bHelp) - - - def languageChange(self): - self.setCaption(self.__tr("DComm")) - self.bSup.setText(self.__tr("&Supprimer")) - self.bSup.setAccel(QKeySequence(self.__tr("Alt+S"))) - QToolTip.add(self.bSup,self.__tr("suppression du mot cle30")) - self.bOk.setText(self.__tr("&Valider")) - self.bOk.setAccel(QKeySequence(self.__tr("Shift+A, Alt+A, Alt+A, Alt+A"))) - QToolTip.add(self.bOk,self.__tr("validation de la saisie")) - self.bHelp.setText(self.__tr("&Documentation")) - self.bHelp.setAccel(QKeySequence(self.__tr("Alt+D"))) - QToolTip.add(self.bHelp,self.__tr("affichage documentation aster")) - self.Commentaire.setText(QString.null) - self.TWChoix.changeTab(self.Valeur_Parametre,self.__tr("Commentaire")) - self.textLabel1_4.setText(self.__tr("Commandes :")) - self.textLabel6.setText(self.__tr("Filtre")) - self.BNext.setText(self.__tr("Suivant")) - QToolTip.add(self.BNext,self.__tr("affiche la prochaine occurence")) - self.buttonGroup1.setTitle(self.__tr("Affichage")) - self.RBalpha.setText(self.__trUtf8("\x61\x6c\x70\x68\x61\x62\xc3\xa9\x74\x69\x71\x75\x65")) - self.RBGroupe.setText(self.__tr("par groupe")) - self.textLabel4.setText(self.__trUtf8("\x4c\x61\x20\x63\x6f\x6d\x6d\x61\x6e\x64\x65\x20\x63\x68\x6f\x69\x73\x69\x65\x20\x73\x65\x72\x61\x20\x61\x6a\x6f\x75\x74\xc3\xa9\x65\x20\x41\x50\x52\x45\x53\x20\x6c\x61\x20\x63\x6f\x6d\x6d\x61\x6e\x64\x65\x20\x63\x6f\x75\x72\x61\x6e\x74\x65")) - self.TWChoix.changeTab(self.Commande,self.__tr("Nouvelle Commande")) - - - def LBNouvCommandeClicked(self): - print "DComment.LBNouvCommandeClicked(): Not implemented yet" - - def LEFiltreTextChanged(self): - print "DComment.LEFiltreTextChanged(): Not implemented yet" - - def LEfiltreReturnPressed(self): - print "DComment.LEfiltreReturnPressed(): Not implemented yet" - - def BSupPressed(self): - print "DComment.BSupPressed(): Not implemented yet" - - def LENomConceptReturnPressed(self): - print "DComment.LENomConceptReturnPressed(): Not implemented yet" - - def BOkPressed(self): - print "DComment.BOkPressed(): Not implemented yet" - - def BuildTabCommand(self): - print "DComment.BuildTabCommand(): Not implemented yet" - - def ViewDoc(self): - print "DComment.ViewDoc(): Not implemented yet" - - def BNextPressed(self): - print "DComment.BNextPressed(): Not implemented yet" - - def textCommentaireChanged(self): - print "DComment.textCommentaireChanged(): Not implemented yet" - - def __tr(self,s,c = None): - return qApp.translate("DComment",s,c) - - def __trUtf8(self,s,c = None): - return qApp.translate("DComment",s,c,QApplication.UnicodeUTF8) diff --git a/Ui/desError.py b/Ui/desError.py deleted file mode 100644 index 33f9a048..00000000 --- a/Ui/desError.py +++ /dev/null @@ -1,71 +0,0 @@ -# -*- coding: utf-8 -*- - -# Form implementation generated from reading ui file 'desError.ui' -# -# Created: Mon Dec 1 12:10:18 2008 -# by: The PyQt User Interface Compiler (pyuic) 3.16 -# -# WARNING! All changes made in this file will be lost! - - -from qt import * - - -class DError(QWidget): - def __init__(self,parent = None,name = None,fl = 0): - QWidget.__init__(self,parent,name,fl) - - if not name: - self.setName("DError") - - self.setMinimumSize(QSize(350,0)) - - DErrorLayout = QGridLayout(self,1,1,11,6,"DErrorLayout") - - self.textLabel1_3 = QLabel(self,"textLabel1_3") - self.textLabel1_3.setSizePolicy(QSizePolicy(QSizePolicy.Ignored,QSizePolicy.Preferred,0,0,self.textLabel1_3.sizePolicy().hasHeightForWidth())) - - DErrorLayout.addWidget(self.textLabel1_3,0,0) - - layout1 = QHBoxLayout(None,0,6,"layout1") - spacer1_2 = QSpacerItem(171,20,QSizePolicy.Expanding,QSizePolicy.Minimum) - layout1.addItem(spacer1_2) - - self.bSup = QPushButton(self,"bSup") - self.bSup.setAutoDefault(1) - layout1.addWidget(self.bSup) - spacer1 = QSpacerItem(171,20,QSizePolicy.Expanding,QSizePolicy.Minimum) - layout1.addItem(spacer1) - - DErrorLayout.addLayout(layout1,1,0) - - self.languageChange() - - self.resize(QSize(538,480).expandedTo(self.minimumSizeHint())) - self.clearWState(Qt.WState_Polished) - - self.connect(self.bSup,SIGNAL("clicked()"),self.BSupPressed) - - - def languageChange(self): - self.setCaption(self.__tr("DInactif")) - self.textLabel1_3.setText(self.__trUtf8("\x3c\x66\x6f\x6e\x74\x20\x73\x69\x7a\x65\x3d\x22\x2b\x34\x22\x3e\x3c\x70\x20\x61\x6c\x69\x67\x6e\x3d\x22\x63\x65\x6e\x74\x65\x72\x22\x3e\x4c\x65\x20\x6e\x6f\x65\x75\x64\x20\x73\xc3\xa9\x6c\x65\x63\x74\x69\x6f\x6e\x6e\xc3\xa9\x20\x6e\x65\x20\x63\x6f\x72\x72\x65\x73\x70\x6f\x6e\x64\x20\x70\x61\x73\x20\xc3\xa0\x20\x75\x6e\x20\x6f\x62\x6a\x65\x74\x20\x61\x63\x74\x69\x66\x2e\x3c\x2f\x70\x3e\x3c\x2f\x66\x6f\x6e\x74\x3e")) - self.bSup.setText(self.__tr("&Supprimer")) - self.bSup.setAccel(QKeySequence(self.__tr("Alt+S"))) - QToolTip.add(self.bSup,self.__tr("suppression du mot clef")) - - - def BSupPressed(self): - print "DError.BSupPressed(): Not implemented yet" - - def ViewDoc(self): - print "DError.ViewDoc(): Not implemented yet" - - def BOkPressed(self): - print "DError.BOkPressed(): Not implemented yet" - - def __tr(self,s,c = None): - return qApp.translate("DError",s,c) - - def __trUtf8(self,s,c = None): - return qApp.translate("DError",s,c,QApplication.UnicodeUTF8) diff --git a/Ui/desFormule.py b/Ui/desFormule.py deleted file mode 100644 index e000561a..00000000 --- a/Ui/desFormule.py +++ /dev/null @@ -1,253 +0,0 @@ -# -*- coding: utf-8 -*- - -# Form implementation generated from reading ui file 'desFormule.ui' -# -# Created: Mon Dec 1 12:10:18 2008 -# by: The PyQt User Interface Compiler (pyuic) 3.16 -# -# WARNING! All changes made in this file will be lost! - - -from qt import * - - -class DFormule(QWidget): - def __init__(self,parent = None,name = None,fl = 0): - QWidget.__init__(self,parent,name,fl) - - if not name: - self.setName("DFormule") - - self.setMinimumSize(QSize(505,0)) - - DFormuleLayout = QGridLayout(self,1,1,11,6,"DFormuleLayout") - - layout4 = QHBoxLayout(None,0,6,"layout4") - - self.bSup = QPushButton(self,"bSup") - self.bSup.setMinimumSize(QSize(0,30)) - self.bSup.setAutoDefault(1) - layout4.addWidget(self.bSup) - - self.bOk = QPushButton(self,"bOk") - self.bOk.setMinimumSize(QSize(0,30)) - self.bOk.setAutoDefault(1) - self.bOk.setDefault(1) - layout4.addWidget(self.bOk) - - self.bHelp = QPushButton(self,"bHelp") - self.bHelp.setMinimumSize(QSize(0,30)) - self.bHelp.setAutoDefault(1) - layout4.addWidget(self.bHelp) - - DFormuleLayout.addLayout(layout4,2,0) - - self.Commentaire = QLabel(self,"Commentaire") - - DFormuleLayout.addWidget(self.Commentaire,1,0) - - self.TWChoix = QTabWidget(self,"TWChoix") - - self.Formule = QWidget(self.TWChoix,"Formule") - - self.textLabel1 = QLabel(self.Formule,"textLabel1") - self.textLabel1.setGeometry(QRect(11,11,242,40)) - self.textLabel1.setMinimumSize(QSize(0,0)) - - LayoutWidget = QWidget(self.Formule,"layout6") - LayoutWidget.setGeometry(QRect(11,103,489,44)) - layout6 = QHBoxLayout(LayoutWidget,11,6,"layout6") - - self.LENomFormule = QLineEdit(LayoutWidget,"LENomFormule") - self.LENomFormule.setMinimumSize(QSize(0,40)) - layout6.addWidget(self.LENomFormule) - - layout4_2 = QHBoxLayout(None,0,6,"layout4_2") - - self.textLabel1_6 = QLabel(LayoutWidget,"textLabel1_6") - layout4_2.addWidget(self.textLabel1_6) - - self.LENomsArgs = QLineEdit(LayoutWidget,"LENomsArgs") - self.LENomsArgs.setMinimumSize(QSize(230,40)) - layout4_2.addWidget(self.LENomsArgs) - - self.textLabel1_6_2 = QLabel(LayoutWidget,"textLabel1_6_2") - layout4_2.addWidget(self.textLabel1_6_2) - layout6.addLayout(layout4_2) - - self.textLabel2 = QLabel(self.Formule,"textLabel2") - self.textLabel2.setGeometry(QRect(259,57,241,40)) - - self.textLabel2_2 = QLabel(self.Formule,"textLabel2_2") - self.textLabel2_2.setGeometry(QRect(11,153,489,39)) - - self.textLabel1_5 = QLabel(self.Formule,"textLabel1_5") - self.textLabel1_5.setGeometry(QRect(11,198,489,40)) - self.textLabel1_5.setMinimumSize(QSize(0,0)) - - self.LECorpsFormule = QLineEdit(self.Formule,"LECorpsFormule") - self.LECorpsFormule.setGeometry(QRect(11,244,489,30)) - self.LECorpsFormule.setMinimumSize(QSize(0,30)) - - self.textLabel1_2 = QLabel(self.Formule,"textLabel1_2") - self.textLabel1_2.setGeometry(QRect(259,11,241,40)) - - self.textLabel1_3_2 = QLabel(self.Formule,"textLabel1_3_2") - self.textLabel1_3_2.setGeometry(QRect(11,326,470,40)) - self.textLabel1_3_2.setSizePolicy(QSizePolicy(QSizePolicy.MinimumExpanding,QSizePolicy.Preferred,0,0,self.textLabel1_3_2.sizePolicy().hasHeightForWidth())) - - self.textLabel1_3 = QLabel(self.Formule,"textLabel1_3") - self.textLabel1_3.setGeometry(QRect(11,280,460,40)) - self.textLabel1_3.setSizePolicy(QSizePolicy(QSizePolicy.Ignored,QSizePolicy.Preferred,0,0,self.textLabel1_3.sizePolicy().hasHeightForWidth())) - self.TWChoix.insertTab(self.Formule,QString.fromLatin1("")) - - self.Commande = QWidget(self.TWChoix,"Commande") - - self.textLabel6 = QLabel(self.Commande,"textLabel6") - self.textLabel6.setGeometry(QRect(11,59,40,40)) - self.textLabel6.setMinimumSize(QSize(40,0)) - - self.BNext = QToolButton(self.Commande,"BNext") - self.BNext.setGeometry(QRect(249,59,60,40)) - self.BNext.setMinimumSize(QSize(60,40)) - self.BNext.setIconSet(QIconSet()) - - self.LBNouvCommande = QListBox(self.Commande,"LBNouvCommande") - self.LBNouvCommande.setGeometry(QRect(11,105,490,234)) - - self.LEFiltre = QLineEdit(self.Commande,"LEFiltre") - self.LEFiltre.setGeometry(QRect(57,59,180,40)) - self.LEFiltre.setMinimumSize(QSize(20,40)) - - self.textLabel1_4 = QLabel(self.Commande,"textLabel1_4") - self.textLabel1_4.setGeometry(QRect(11,11,260,42)) - self.textLabel1_4.setSizePolicy(QSizePolicy(QSizePolicy.Ignored,QSizePolicy.Ignored,0,0,self.textLabel1_4.sizePolicy().hasHeightForWidth())) - - self.buttonGroup1 = QButtonGroup(self.Commande,"buttonGroup1") - self.buttonGroup1.setGeometry(QRect(315,11,180,86)) - self.buttonGroup1.setSizePolicy(QSizePolicy(QSizePolicy.MinimumExpanding,QSizePolicy.Preferred,0,0,self.buttonGroup1.sizePolicy().hasHeightForWidth())) - self.buttonGroup1.setColumnLayout(0,Qt.Vertical) - self.buttonGroup1.layout().setSpacing(6) - self.buttonGroup1.layout().setMargin(11) - buttonGroup1Layout = QGridLayout(self.buttonGroup1.layout()) - buttonGroup1Layout.setAlignment(Qt.AlignTop) - - layout1 = QVBoxLayout(None,0,6,"layout1") - - self.RBalpha = QRadioButton(self.buttonGroup1,"RBalpha") - self.RBalpha.setChecked(1) - layout1.addWidget(self.RBalpha) - - self.RBGroupe = QRadioButton(self.buttonGroup1,"RBGroupe") - layout1.addWidget(self.RBGroupe) - - buttonGroup1Layout.addLayout(layout1,0,0) - - self.textLabel4 = QLabel(self.Commande,"textLabel4") - self.textLabel4.setGeometry(QRect(10,340,480,21)) - self.textLabel4.setSizePolicy(QSizePolicy(QSizePolicy.MinimumExpanding,QSizePolicy.Preferred,0,0,self.textLabel4.sizePolicy().hasHeightForWidth())) - self.TWChoix.insertTab(self.Commande,QString.fromLatin1("")) - - DFormuleLayout.addWidget(self.TWChoix,0,0) - - self.languageChange() - - self.resize(QSize(537,493).expandedTo(self.minimumSizeHint())) - self.clearWState(Qt.WState_Polished) - - 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.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) - - self.setTabOrder(self.LEFiltre,self.LENomFormule) - self.setTabOrder(self.LENomFormule,self.LENomsArgs) - self.setTabOrder(self.LENomsArgs,self.LECorpsFormule) - self.setTabOrder(self.LECorpsFormule,self.bSup) - self.setTabOrder(self.bSup,self.bOk) - self.setTabOrder(self.bOk,self.bHelp) - self.setTabOrder(self.bHelp,self.TWChoix) - self.setTabOrder(self.TWChoix,self.RBalpha) - self.setTabOrder(self.RBalpha,self.RBGroupe) - self.setTabOrder(self.RBGroupe,self.LBNouvCommande) - - - def languageChange(self): - self.setCaption(self.__tr("DMacro")) - self.bSup.setText(self.__tr("&Supprimer")) - self.bSup.setAccel(QKeySequence(self.__tr("Alt+S"))) - QToolTip.add(self.bSup,self.__tr("suppression du mot clef")) - self.bOk.setText(self.__tr("&Valider")) - self.bOk.setAccel(QKeySequence(self.__tr("Shift+A, Alt+A, Alt+A, Alt+A"))) - QToolTip.add(self.bOk,self.__tr("validation de la saisie")) - self.bHelp.setText(self.__tr("&Documentation")) - self.bHelp.setAccel(QKeySequence(self.__tr("Alt+D"))) - QToolTip.add(self.bHelp,self.__tr("affichage documentation aster")) - self.Commentaire.setText(QString.null) - self.textLabel1.setText(self.__tr("

Nom de la formule

")) - self.textLabel1_6.setText(self.__tr("

(

")) - self.textLabel1_6_2.setText(self.__tr("

)

")) - self.textLabel2.setText(self.__trUtf8("\x76\x61\x72\x69\x61\x62\x6c\x65\x73\x20\x73\xc3\xa9\x70\x61\x72\xc3\xa9\x65\x73\x20\x70\x61\x72\x20\x64\x65\x73\x20\x22\x2c\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x70\x61\x72\x20\x65\x78\x2e\x20\x3a\x20\x78\x2c\x79\x2c\x7a")) - self.textLabel2_2.setText(self.__tr("=")) - self.textLabel1_5.setText(self.__tr("

Expression

")) - self.textLabel1_2.setText(self.__tr("

Arguments

")) - self.textLabel1_3_2.setText(self.__trUtf8("\x43\x65\x20\x6e\x27\x65\x73\x74\x20\x71\x75\x27\x61\x70\x72\xc3\xa8\x73\x20\x61\x76\x6f\x69\x72\x20\x61\x70\x70\x75\x79\xc3\xa9\x20\x73\x75\x72\x20\x6c\x65\x20\x62\x6f\x75\x74\x6f\x6e\x20\x56\x61\x6c\x69\x64\x65\x72\x20\x71\x75\x65\x20\x6c\x65\x73\x20\x6e\x6f\x75\x76\x65\x6c\x6c\x65\x73\x0a\x76\x61\x6c\x65\x75\x72\x73\x20\x73\x65\x72\x6f\x6e\x74\x20\x65\x66\x66\x65\x63\x74\x69\x76\x65\x6d\x65\x6e\x74\x20\x70\x72\x69\x73\x65\x73\x20\x65\x6e\x20\x63\x6f\x6d\x70\x74\x65")) - self.textLabel1_3.setText(self.__trUtf8("\x52\x65\x74\x6f\x75\x72\x2d\x43\x68\x61\x72\x69\x6f\x74\x20\x70\x65\x72\x6d\x65\x74\x20\x64\x65\x20\x76\xc3\xa9\x72\x69\x66\x69\x65\x72\x20\x71\x75\x65\x20\x6c\x27\x65\x78\x70\x72\x65\x73\x73\x69\x6f\x6e\x20\x65\x73\x74\x20\x76\x61\x6c\x69\x64\x65\x2e")) - self.TWChoix.changeTab(self.Formule,self.__trUtf8("\x44\xc3\xa9\x66\x69\x6e\x69\x74\x69\x6f\x6e\x20\x46\x6f\x72\x6d\x75\x6c\x65")) - self.textLabel6.setText(self.__tr("Filtre")) - self.BNext.setText(self.__tr("Suivant")) - QToolTip.add(self.BNext,self.__tr("affiche la prochaine occurence")) - self.textLabel1_4.setText(self.__tr("Commandes :")) - self.buttonGroup1.setTitle(self.__tr("Affichage")) - self.RBalpha.setText(self.__trUtf8("\x61\x6c\x70\x68\x61\x62\xc3\xa9\x74\x69\x71\x75\x65")) - self.RBGroupe.setText(self.__tr("par groupe")) - self.textLabel4.setText(self.__trUtf8("\x3c\x70\x20\x61\x6c\x69\x67\x6e\x3d\x22\x6c\x65\x66\x74\x22\x3e\x4c\x61\x20\x63\x6f\x6d\x6d\x61\x6e\x64\x65\x20\x63\x68\x6f\x69\x73\x69\x65\x20\x73\x65\x72\x61\x20\x61\x6a\x6f\x75\x74\xc3\xa9\x65\x20\x41\x50\x52\x45\x53\x20\x6c\x61\x20\x63\x6f\x6d\x6d\x61\x6e\x64\x65\x20\x63\x6f\x75\x72\x61\x6e\x74\x65\x3c\x2f\x70\x3e")) - self.TWChoix.changeTab(self.Commande,self.__tr("Nouvelle Commande")) - - - def LBNouvCommandeClicked(self): - print "DFormule.LBNouvCommandeClicked(): Not implemented yet" - - def LEFiltreTextChanged(self): - print "DFormule.LEFiltreTextChanged(): Not implemented yet" - - def LEfiltreReturnPressed(self): - print "DFormule.LEfiltreReturnPressed(): Not implemented yet" - - def BSupPressed(self): - print "DFormule.BSupPressed(): Not implemented yet" - - def BOkPressed(self): - print "DFormule.BOkPressed(): Not implemented yet" - - def BuildTabCommand(self): - print "DFormule.BuildTabCommand(): Not implemented yet" - - def BNextPressed(self): - print "DFormule.BNextPressed(): Not implemented yet" - - def NomFormuleSaisi(self): - print "DFormule.NomFormuleSaisi(): Not implemented yet" - - def argsSaisis(self): - print "DFormule.argsSaisis(): Not implemented yet" - - def FormuleSaisie(self): - print "DFormule.FormuleSaisie(): Not implemented yet" - - def ViewDoc(self): - print "DFormule.ViewDoc(): Not implemented yet" - - def __tr(self,s,c = None): - return qApp.translate("DFormule",s,c) - - def __trUtf8(self,s,c = None): - return qApp.translate("DFormule",s,c,QApplication.UnicodeUTF8) diff --git a/Ui/desInactif.py b/Ui/desInactif.py deleted file mode 100644 index 2cebe337..00000000 --- a/Ui/desInactif.py +++ /dev/null @@ -1,77 +0,0 @@ -# -*- coding: utf-8 -*- - -# Form implementation generated from reading ui file 'desInactif.ui' -# -# Created: Mon Dec 1 12:10:18 2008 -# by: The PyQt User Interface Compiler (pyuic) 3.16 -# -# WARNING! All changes made in this file will be lost! - - -from qt import * - - -class DInactif(QWidget): - def __init__(self,parent = None,name = None,fl = 0): - QWidget.__init__(self,parent,name,fl) - - if not name: - self.setName("DInactif") - - self.setMinimumSize(QSize(350,0)) - - DInactifLayout = QGridLayout(self,1,1,11,6,"DInactifLayout") - - self.textLabel1_3 = QLabel(self,"textLabel1_3") - self.textLabel1_3.setSizePolicy(QSizePolicy(QSizePolicy.Ignored,QSizePolicy.Preferred,0,0,self.textLabel1_3.sizePolicy().hasHeightForWidth())) - - DInactifLayout.addWidget(self.textLabel1_3,0,0) - - self.textLabel1 = QLabel(self,"textLabel1") - self.textLabel1.setSizePolicy(QSizePolicy(QSizePolicy.Ignored,QSizePolicy.Preferred,0,0,self.textLabel1.sizePolicy().hasHeightForWidth())) - - DInactifLayout.addWidget(self.textLabel1,1,0) - - layout1 = QHBoxLayout(None,0,6,"layout1") - spacer2 = QSpacerItem(171,20,QSizePolicy.Expanding,QSizePolicy.Minimum) - layout1.addItem(spacer2) - - self.bSup = QPushButton(self,"bSup") - self.bSup.setAutoDefault(1) - layout1.addWidget(self.bSup) - spacer1 = QSpacerItem(171,20,QSizePolicy.Expanding,QSizePolicy.Minimum) - layout1.addItem(spacer1) - - DInactifLayout.addLayout(layout1,2,0) - - self.languageChange() - - self.resize(QSize(635,480).expandedTo(self.minimumSizeHint())) - self.clearWState(Qt.WState_Polished) - - self.connect(self.bSup,SIGNAL("clicked()"),self.BSupPressed) - - - def languageChange(self): - self.setCaption(self.__tr("DInactif")) - self.textLabel1_3.setText(self.__trUtf8("\x3c\x66\x6f\x6e\x74\x20\x73\x69\x7a\x65\x3d\x22\x2b\x32\x22\x3e\x3c\x70\x20\x61\x6c\x69\x67\x6e\x3d\x22\x63\x65\x6e\x74\x65\x72\x22\x3e\x4c\x65\x20\x6e\x6f\x65\x75\x64\x20\x73\xc3\xa9\x6c\x65\x63\x74\x69\x6f\x6e\x6e\xc3\xa9\x20\x6e\x65\x20\x63\x6f\x72\x72\x65\x73\x70\x6f\x6e\x64\x20\x70\x61\x73\x20\xc3\xa0\x20\x75\x6e\x20\x6f\x62\x6a\x65\x74\x20\x61\x63\x74\x69\x66\x2e\x3c\x2f\x70\x3e\x3c\x2f\x66\x6f\x6e\x74\x3e")) - self.textLabel1.setText(self.__trUtf8("\x3c\x66\x6f\x6e\x74\x20\x73\x69\x7a\x65\x3d\x22\x2b\x32\x22\x3e\x3c\x70\x20\x61\x6c\x69\x67\x6e\x3d\x22\x63\x65\x6e\x74\x65\x72\x22\x3e\x0a\x53\x65\x75\x6c\x65\x73\x20\x6c\x65\x73\x20\x63\x6f\x6d\x6d\x61\x6e\x64\x65\x73\x20\x70\x6c\x61\x63\xc3\xa9\x65\x73\x20\x65\x6e\x74\x72\x65\x20\x3a\x0a\x0a\x44\x45\x42\x55\x54\x20\x2f\x20\x46\x49\x4e\x0a\x0a\x73\x6f\x6e\x74\x20\x61\x63\x74\x69\x76\x65\x73\x0a\x3c\x2f\x70\x3e\x3c\x2f\x66\x6f\x6e\x74\x3e")) - self.bSup.setText(self.__tr("&Supprimer")) - self.bSup.setAccel(QKeySequence(self.__tr("Alt+S"))) - QToolTip.add(self.bSup,self.__tr("suppression du mot clef")) - - - def BSupPressed(self): - print "DInactif.BSupPressed(): Not implemented yet" - - def ViewDoc(self): - print "DInactif.ViewDoc(): Not implemented yet" - - def BOkPressed(self): - print "DInactif.BOkPressed(): Not implemented yet" - - def __tr(self,s,c = None): - return qApp.translate("DInactif",s,c) - - def __trUtf8(self,s,c = None): - return qApp.translate("DInactif",s,c,QApplication.UnicodeUTF8) diff --git a/Ui/desInclude.py b/Ui/desInclude.py deleted file mode 100644 index 8e1fd103..00000000 --- a/Ui/desInclude.py +++ /dev/null @@ -1,243 +0,0 @@ -# -*- coding: utf-8 -*- - -# Form implementation generated from reading ui file 'desInclude.ui' -# -# Created: Mon Dec 1 12:10:18 2008 -# by: The PyQt User Interface Compiler (pyuic) 3.16 -# -# WARNING! All changes made in this file will be lost! - - -from qt import * - - -class DInc1(QWidget): - def __init__(self,parent = None,name = None,fl = 0): - QWidget.__init__(self,parent,name,fl) - - if not name: - self.setName("DInc1") - - self.setMinimumSize(QSize(505,0)) - - - LayoutWidget = QWidget(self,"layout1") - LayoutWidget.setGeometry(QRect(11,447,550,55)) - layout1 = QGridLayout(LayoutWidget,1,1,11,6,"layout1") - - self.Commentaire = QLabel(LayoutWidget,"Commentaire") - - layout1.addMultiCellWidget(self.Commentaire,0,0,0,2) - - self.bSup = QPushButton(LayoutWidget,"bSup") - self.bSup.setMinimumSize(QSize(0,30)) - self.bSup.setAutoDefault(1) - - layout1.addWidget(self.bSup,1,0) - - self.bHelp = QPushButton(LayoutWidget,"bHelp") - self.bHelp.setMinimumSize(QSize(0,30)) - self.bHelp.setAutoDefault(1) - - layout1.addWidget(self.bHelp,1,2) - - self.bOk = QPushButton(LayoutWidget,"bOk") - self.bOk.setMinimumSize(QSize(0,30)) - self.bOk.setAutoDefault(1) - self.bOk.setDefault(1) - - layout1.addWidget(self.bOk,1,1) - - self.TWChoix = QTabWidget(self,"TWChoix") - self.TWChoix.setGeometry(QRect(10,10,550,430)) - - self.MotClef = QWidget(self.TWChoix,"MotClef") - - LayoutWidget_2 = QWidget(self.MotClef,"layout2") - LayoutWidget_2.setGeometry(QRect(11,11,520,380)) - layout2 = QGridLayout(LayoutWidget_2,1,1,11,6,"layout2") - - self.textLabel1_2 = QLabel(LayoutWidget_2,"textLabel1_2") - - layout2.addWidget(self.textLabel1_2,0,1) - - self.textLabel1 = QLabel(LayoutWidget_2,"textLabel1") - self.textLabel1.setMinimumSize(QSize(0,0)) - - layout2.addWidget(self.textLabel1,0,0) - - self.LBMCPermis = QListBox(LayoutWidget_2,"LBMCPermis") - self.LBMCPermis.setMinimumSize(QSize(0,0)) - - layout2.addWidget(self.LBMCPermis,1,0) - - self.LBRegles = QListBox(LayoutWidget_2,"LBRegles") - self.LBRegles.setSizePolicy(QSizePolicy(QSizePolicy.MinimumExpanding,QSizePolicy.MinimumExpanding,0,0,self.LBRegles.sizePolicy().hasHeightForWidth())) - - layout2.addWidget(self.LBRegles,1,1) - self.TWChoix.insertTab(self.MotClef,QString.fromLatin1("")) - - self.Commande = QWidget(self.TWChoix,"Commande") - - self.LBNouvCommande = QListBox(self.Commande,"LBNouvCommande") - self.LBNouvCommande.setGeometry(QRect(11,97,524,266)) - self.LBNouvCommande.setSizePolicy(QSizePolicy(QSizePolicy.MinimumExpanding,QSizePolicy.Expanding,0,0,self.LBNouvCommande.sizePolicy().hasHeightForWidth())) - - self.buttonGroup1 = QButtonGroup(self.Commande,"buttonGroup1") - self.buttonGroup1.setGeometry(QRect(375,11,160,80)) - - self.RBGroupe = QRadioButton(self.buttonGroup1,"RBGroupe") - self.RBGroupe.setGeometry(QRect(20,40,101,20)) - - self.RBalpha = QRadioButton(self.buttonGroup1,"RBalpha") - self.RBalpha.setGeometry(QRect(20,20,120,20)) - self.RBalpha.setChecked(1) - - self.textLabel4 = QLabel(self.Commande,"textLabel4") - self.textLabel4.setGeometry(QRect(11,369,524,17)) - self.textLabel4.setSizePolicy(QSizePolicy(QSizePolicy.Ignored,QSizePolicy.Preferred,0,0,self.textLabel4.sizePolicy().hasHeightForWidth())) - - self.BNext = QToolButton(self.Commande,"BNext") - self.BNext.setGeometry(QRect(309,51,60,40)) - self.BNext.setMinimumSize(QSize(60,0)) - self.BNext.setIconSet(QIconSet()) - - self.LEFiltre = QLineEdit(self.Commande,"LEFiltre") - self.LEFiltre.setGeometry(QRect(57,51,240,40)) - self.LEFiltre.setSizePolicy(QSizePolicy(QSizePolicy.MinimumExpanding,QSizePolicy.Fixed,0,0,self.LEFiltre.sizePolicy().hasHeightForWidth())) - self.LEFiltre.setMinimumSize(QSize(20,40)) - - self.textLabel6 = QLabel(self.Commande,"textLabel6") - self.textLabel6.setGeometry(QRect(11,51,40,40)) - self.textLabel6.setMinimumSize(QSize(40,0)) - - self.textLabel1_4 = QLabel(self.Commande,"textLabel1_4") - self.textLabel1_4.setGeometry(QRect(11,11,358,34)) - self.TWChoix.insertTab(self.Commande,QString.fromLatin1("")) - - self.TabPage = QWidget(self.TWChoix,"TabPage") - - self.BBrowse = QPushButton(self.TabPage,"BBrowse") - self.BBrowse.setGeometry(QRect(288,306,161,41)) - self.BBrowse.setSizePolicy(QSizePolicy(QSizePolicy.Fixed,QSizePolicy.Fixed,0,0,self.BBrowse.sizePolicy().hasHeightForWidth())) - - self.BChangeFile = QPushButton(self.TabPage,"BChangeFile") - self.BChangeFile.setGeometry(QRect(290,350,161,41)) - self.BChangeFile.setSizePolicy(QSizePolicy(QSizePolicy.Fixed,QSizePolicy.Fixed,0,0,self.BChangeFile.sizePolicy().hasHeightForWidth())) - - self.textLabel1_3 = QLabel(self.TabPage,"textLabel1_3") - self.textLabel1_3.setGeometry(QRect(30,40,440,41)) - self.textLabel1_3.setSizePolicy(QSizePolicy(QSizePolicy.Preferred,QSizePolicy.Ignored,0,0,self.textLabel1_3.sizePolicy().hasHeightForWidth())) - - self.LENomFichier = QLineEdit(self.TabPage,"LENomFichier") - self.LENomFichier.setGeometry(QRect(18,117,500,40)) - self.LENomFichier.setSizePolicy(QSizePolicy(QSizePolicy.MinimumExpanding,QSizePolicy.Fixed,0,0,self.LENomFichier.sizePolicy().hasHeightForWidth())) - self.LENomFichier.setMinimumSize(QSize(40,40)) - self.TWChoix.insertTab(self.TabPage,QString.fromLatin1("")) - - self.TabPage_2 = QWidget(self.TWChoix,"TabPage_2") - TabPageLayout = QGridLayout(self.TabPage_2,1,1,11,6,"TabPageLayout") - - self.textLabel1_5 = QLabel(self.TabPage_2,"textLabel1_5") - self.textLabel1_5.setSizePolicy(QSizePolicy(QSizePolicy.MinimumExpanding,QSizePolicy.Preferred,0,0,self.textLabel1_5.sizePolicy().hasHeightForWidth())) - - TabPageLayout.addWidget(self.textLabel1_5,0,0) - self.TWChoix.insertTab(self.TabPage_2,QString.fromLatin1("")) - - self.languageChange() - - self.resize(QSize(570,511).expandedTo(self.minimumSizeHint())) - self.clearWState(Qt.WState_Polished) - - 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.BBrowse,SIGNAL("clicked()"),self.BBrowsePressed) - self.connect(self.LENomFichier,SIGNAL("returnPressed()"),self.LENomFichReturnPressed) - self.connect(self.bHelp,SIGNAL("clicked()"),self.ViewDoc) - - self.setTabOrder(self.LEFiltre,self.LENomFichier) - self.setTabOrder(self.LENomFichier,self.bHelp) - self.setTabOrder(self.bHelp,self.bSup) - self.setTabOrder(self.bSup,self.bOk) - self.setTabOrder(self.bOk,self.TWChoix) - self.setTabOrder(self.TWChoix,self.LBMCPermis) - self.setTabOrder(self.LBMCPermis,self.LBRegles) - self.setTabOrder(self.LBRegles,self.LBNouvCommande) - self.setTabOrder(self.LBNouvCommande,self.RBalpha) - self.setTabOrder(self.RBalpha,self.BBrowse) - self.setTabOrder(self.BBrowse,self.BChangeFile) - - - def languageChange(self): - self.setCaption(self.__tr("DMacro")) - self.Commentaire.setText(QString.null) - self.bSup.setText(self.__tr("&Supprimer")) - self.bSup.setAccel(QKeySequence(self.__tr("Alt+S"))) - QToolTip.add(self.bSup,self.__tr("suppression du mot clef")) - self.bHelp.setText(self.__tr("&Documentation")) - self.bHelp.setAccel(QKeySequence(self.__tr("Alt+D"))) - QToolTip.add(self.bHelp,self.__tr("affichage documentation aster")) - self.bOk.setText(self.__tr("&Valider")) - self.bOk.setAccel(QKeySequence(self.__tr("Shift+A, Alt+A, Alt+A, Alt+A"))) - QToolTip.add(self.bOk,self.__tr("validation de la saisie")) - self.textLabel1_2.setText(self.__trUtf8("\x3c\x68\x33\x3e\x3c\x70\x20\x61\x6c\x69\x67\x6e\x3d\x22\x63\x65\x6e\x74\x65\x72\x22\x3e\x3c\x75\x3e\x3c\x62\x3e\x52\xc3\xa9\x67\x6c\x65\x73\x3c\x2f\x62\x3e\x3c\x2f\x75\x3e\x3c\x2f\x70\x3e\x3c\x2f\x68\x33\x3e")) - self.textLabel1.setText(self.__tr("

Mots Clefs Permis

")) - self.TWChoix.changeTab(self.MotClef,self.__tr("Ajouter Mot-Clef")) - self.buttonGroup1.setTitle(self.__tr("Affichage")) - self.RBGroupe.setText(self.__tr("par groupe")) - self.RBalpha.setText(self.__trUtf8("\x61\x6c\x70\x68\x61\x62\xc3\xa9\x74\x69\x71\x75\x65")) - self.textLabel4.setText(self.__trUtf8("\x4c\x61\x20\x63\x6f\x6d\x6d\x61\x6e\x64\x65\x20\x63\x68\x6f\x69\x73\x69\x65\x20\x73\x65\x72\x61\x20\x61\x6a\x6f\x75\x74\xc3\xa9\x65\x20\x41\x50\x52\x45\x53\x20\x6c\x61\x20\x63\x6f\x6d\x6d\x61\x6e\x64\x65\x20\x63\x6f\x75\x72\x61\x6e\x74\x65")) - self.BNext.setText(self.__tr("Suivant")) - QToolTip.add(self.BNext,self.__tr("affiche la prochaine occurence")) - self.textLabel6.setText(self.__tr("Filtre")) - self.textLabel1_4.setText(self.__tr("Commandes :")) - self.TWChoix.changeTab(self.Commande,self.__tr("Nouvelle Commande")) - self.BBrowse.setText(self.__tr("Edit")) - self.BChangeFile.setText(self.__tr("Autre Fichier")) - self.textLabel1_3.setText(self.__tr("La commande INCLUDE requiert un nom de Fichier :")) - self.TWChoix.changeTab(self.TabPage,self.__tr("Fichier Include")) - self.textLabel1_5.setText(self.__trUtf8("\x3c\x66\x6f\x6e\x74\x20\x73\x69\x7a\x65\x3d\x22\x2b\x31\x22\x3e\x3c\x70\x20\x61\x6c\x69\x67\x6e\x3d\x22\x63\x65\x6e\x74\x65\x72\x22\x3e\x4c\x61\x20\x63\x6f\x6d\x6d\x61\x6e\x64\x65\x20\x49\x4e\x43\x4c\x55\x44\x45\x20\x6e\x27\x61\x20\x70\x61\x73\x20\x64\x65\x20\x66\x69\x63\x68\x69\x65\x72\x20\x61\x73\x73\x6f\x63\x69\xc3\xa9\x2e\x0a\x49\x6c\x20\x66\x61\x75\x74\x20\x64\x27\x61\x62\x6f\x72\x64\x20\x63\x68\x6f\x69\x73\x69\x72\x20\x75\x6e\x20\x6e\x75\x6d\xc3\xa9\x72\x6f\x20\x64\x27\x75\x6e\x69\x74\xc3\xa9\x3c\x2f\x70\x3e\x3c\x2f\x66\x6f\x6e\x74\x3e")) - self.TWChoix.changeTab(self.TabPage_2,self.__tr("Fichier Inc")) - - - def LBNouvCommandeClicked(self): - print "DInc1.LBNouvCommandeClicked(): Not implemented yet" - - def LEFiltreTextChanged(self): - print "DInc1.LEFiltreTextChanged(): Not implemented yet" - - def LEfiltreReturnPressed(self): - print "DInc1.LEfiltreReturnPressed(): Not implemented yet" - - def BSupPressed(self): - print "DInc1.BSupPressed(): Not implemented yet" - - def BOkPressed(self): - print "DInc1.BOkPressed(): Not implemented yet" - - def BuildTabCommand(self): - print "DInc1.BuildTabCommand(): Not implemented yet" - - def BNextPressed(self): - print "DInc1.BNextPressed(): Not implemented yet" - - def BBrowsePressed(self): - print "DInc1.BBrowsePressed(): Not implemented yet" - - def LENomFichReturnPressed(self): - print "DInc1.LENomFichReturnPressed(): Not implemented yet" - - def ViewDoc(self): - print "DInc1.ViewDoc(): Not implemented yet" - - def __tr(self,s,c = None): - return qApp.translate("DInc1",s,c) - - def __trUtf8(self,s,c = None): - return qApp.translate("DInc1",s,c,QApplication.UnicodeUTF8) diff --git a/Ui/desListeParam.py b/Ui/desListeParam.py deleted file mode 100644 index 3d244d9f..00000000 --- a/Ui/desListeParam.py +++ /dev/null @@ -1,45 +0,0 @@ -# -*- coding: utf-8 -*- - -# Form implementation generated from reading ui file 'desListeParam.ui' -# -# Created: Mon Dec 1 10:32:43 2008 -# by: The PyQt User Interface Compiler (pyuic) 3.16 -# -# WARNING! All changes made in this file will be lost! - - -from qt import * - - -class DLisParam(QWidget): - def __init__(self,parent = None,name = None,fl = 0): - QWidget.__init__(self,parent,name,fl) - - if not name: - self.setName("DLisParam") - - - DLisParamLayout = QGridLayout(self,1,1,11,6,"DLisParamLayout") - - self.LBParam = QListBox(self,"LBParam") - self.LBParam.setSelectionMode(QListBox.Single) - - DLisParamLayout.addWidget(self.LBParam,0,0) - - self.languageChange() - - self.resize(QSize(413,394).expandedTo(self.minimumSizeHint())) - self.clearWState(Qt.WState_Polished) - - self.connect(self.LBParam,SIGNAL("clicked(QListBoxItem*)"),self.LBParamItemPressed) - - - def languageChange(self): - self.setCaption(self.__trUtf8("\x53\xc3\xa9\x6c\x65\x63\x74\x69\x6f\x6e\x20\x64\x65\x20\x70\x61\x72\x61\x6d\xc3\xa9\x74\x72\x65\x73")) - - - def LBParamItemPressed(self): - print "DLisParam.LBParamItemPressed(): Not implemented yet" - - def __trUtf8(self,s,c = None): - return qApp.translate("DLisParam",s,c,QApplication.UnicodeUTF8) diff --git a/Ui/desMCFact.py b/Ui/desMCFact.py deleted file mode 100644 index 9aba929c..00000000 --- a/Ui/desMCFact.py +++ /dev/null @@ -1,121 +0,0 @@ -# -*- coding: utf-8 -*- - -# Form implementation generated from reading ui file 'desMCFact.ui' -# -# Created: Mon Dec 1 12:10:19 2008 -# by: The PyQt User Interface Compiler (pyuic) 3.16 -# -# WARNING! All changes made in this file will be lost! - - -from qt import * - - -class DMCFact(QWidget): - def __init__(self,parent = None,name = None,fl = 0): - QWidget.__init__(self,parent,name,fl) - - if not name: - self.setName("DMCFact") - - self.setMinimumSize(QSize(505,0)) - - DMCFactLayout = QGridLayout(self,1,1,11,6,"DMCFactLayout") - - self.TWChoix = QTabWidget(self,"TWChoix") - self.TWChoix.setSizePolicy(QSizePolicy(QSizePolicy.MinimumExpanding,QSizePolicy.Expanding,0,0,self.TWChoix.sizePolicy().hasHeightForWidth())) - - self.MotClef = QWidget(self.TWChoix,"MotClef") - - LayoutWidget = QWidget(self.MotClef,"layout1") - LayoutWidget.setGeometry(QRect(10,40,550,330)) - layout1 = QHBoxLayout(LayoutWidget,11,6,"layout1") - - self.LBMCPermis = QListBox(LayoutWidget,"LBMCPermis") - self.LBMCPermis.setSizePolicy(QSizePolicy(QSizePolicy.MinimumExpanding,QSizePolicy.Expanding,0,0,self.LBMCPermis.sizePolicy().hasHeightForWidth())) - self.LBMCPermis.setMinimumSize(QSize(0,0)) - layout1.addWidget(self.LBMCPermis) - - self.LBRegles = QListBox(LayoutWidget,"LBRegles") - layout1.addWidget(self.LBRegles) - - LayoutWidget_2 = QWidget(self.MotClef,"layout2") - LayoutWidget_2.setGeometry(QRect(11,-4,560,40)) - layout2 = QHBoxLayout(LayoutWidget_2,11,6,"layout2") - - self.textLabel1 = QLabel(LayoutWidget_2,"textLabel1") - self.textLabel1.setSizePolicy(QSizePolicy(QSizePolicy.MinimumExpanding,QSizePolicy.Preferred,0,0,self.textLabel1.sizePolicy().hasHeightForWidth())) - self.textLabel1.setMinimumSize(QSize(0,0)) - layout2.addWidget(self.textLabel1) - - self.textLabel1_2 = QLabel(LayoutWidget_2,"textLabel1_2") - self.textLabel1_2.setSizePolicy(QSizePolicy(QSizePolicy.MinimumExpanding,QSizePolicy.Preferred,0,0,self.textLabel1_2.sizePolicy().hasHeightForWidth())) - layout2.addWidget(self.textLabel1_2) - self.TWChoix.insertTab(self.MotClef,QString.fromLatin1("")) - - DMCFactLayout.addMultiCellWidget(self.TWChoix,0,0,0,2) - - self.bSup = QPushButton(self,"bSup") - self.bSup.setSizePolicy(QSizePolicy(QSizePolicy.MinimumExpanding,QSizePolicy.Fixed,0,0,self.bSup.sizePolicy().hasHeightForWidth())) - self.bSup.setAutoDefault(1) - - DMCFactLayout.addWidget(self.bSup,2,0) - - self.Commentaire = QLabel(self,"Commentaire") - - DMCFactLayout.addMultiCellWidget(self.Commentaire,1,1,0,2) - - self.bHelp = QPushButton(self,"bHelp") - self.bHelp.setSizePolicy(QSizePolicy(QSizePolicy.MinimumExpanding,QSizePolicy.Fixed,0,0,self.bHelp.sizePolicy().hasHeightForWidth())) - self.bHelp.setAutoDefault(1) - - DMCFactLayout.addWidget(self.bHelp,2,2) - - self.bOk = QPushButton(self,"bOk") - self.bOk.setSizePolicy(QSizePolicy(QSizePolicy.MinimumExpanding,QSizePolicy.Fixed,0,0,self.bOk.sizePolicy().hasHeightForWidth())) - self.bOk.setAutoDefault(1) - self.bOk.setDefault(1) - - DMCFactLayout.addWidget(self.bOk,2,1) - - self.languageChange() - - self.resize(QSize(592,499).expandedTo(self.minimumSizeHint())) - self.clearWState(Qt.WState_Polished) - - 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 languageChange(self): - self.setCaption(self.__tr("DMacro")) - self.textLabel1.setText(self.__tr("

Mots Clefs Permis

")) - self.textLabel1_2.setText(self.__trUtf8("\x3c\x68\x33\x3e\x3c\x70\x20\x61\x6c\x69\x67\x6e\x3d\x22\x63\x65\x6e\x74\x65\x72\x22\x3e\x3c\x75\x3e\x3c\x62\x3e\x52\xc3\xa9\x67\x6c\x65\x73\x3c\x2f\x62\x3e\x3c\x2f\x75\x3e\x3c\x2f\x70\x3e\x3c\x2f\x68\x33\x3e")) - self.TWChoix.changeTab(self.MotClef,self.__tr("Ajouter Mot-Clef")) - self.bSup.setText(self.__tr("&Supprimer")) - self.bSup.setAccel(QKeySequence(self.__tr("Alt+S"))) - QToolTip.add(self.bSup,self.__tr("suppression du mot clef")) - self.Commentaire.setText(QString.null) - self.bHelp.setText(self.__tr("&Documentation")) - self.bHelp.setAccel(QKeySequence(self.__tr("Alt+D"))) - QToolTip.add(self.bHelp,self.__tr("affichage documentation aster")) - self.bOk.setText(self.__tr("&Valider")) - self.bOk.setAccel(QKeySequence(self.__tr("Shift+A, Alt+A, Alt+A, Alt+A"))) - QToolTip.add(self.bOk,self.__tr("validation de la saisie")) - - - def ViewDoc(self): - print "DMCFact.ViewDoc(): Not implemented yet" - - def BSupPressed(self): - print "DMCFact.BSupPressed(): Not implemented yet" - - def BOkPressed(self): - print "DMCFact.BOkPressed(): Not implemented yet" - - def __tr(self,s,c = None): - return qApp.translate("DMCFact",s,c) - - def __trUtf8(self,s,c = None): - return qApp.translate("DMCFact",s,c,QApplication.UnicodeUTF8) diff --git a/Ui/desMCListAjout.py b/Ui/desMCListAjout.py deleted file mode 100644 index eca1d98f..00000000 --- a/Ui/desMCListAjout.py +++ /dev/null @@ -1,122 +0,0 @@ -# -*- coding: utf-8 -*- - -# Form implementation generated from reading ui file 'desMCListAjout.ui' -# -# Created: Mon Dec 1 12:10:19 2008 -# by: The PyQt User Interface Compiler (pyuic) 3.16 -# -# WARNING! All changes made in this file will be lost! - - -from qt import * - - -class DMCListAjout(QWidget): - def __init__(self,parent = None,name = None,fl = 0): - QWidget.__init__(self,parent,name,fl) - - if not name: - self.setName("DMCListAjout") - - self.setSizePolicy(QSizePolicy(QSizePolicy.MinimumExpanding,QSizePolicy.Preferred,0,0,self.sizePolicy().hasHeightForWidth())) - self.setMinimumSize(QSize(50,0)) - - DMCListAjoutLayout = QGridLayout(self,1,1,11,6,"DMCListAjoutLayout") - - self.textLabel1 = QLabel(self,"textLabel1") - - DMCListAjoutLayout.addMultiCellWidget(self.textLabel1,1,1,0,2) - - self.textLabel1_2 = QLabel(self,"textLabel1_2") - - DMCListAjoutLayout.addMultiCellWidget(self.textLabel1_2,2,2,0,2) - - layout9 = QHBoxLayout(None,0,6,"layout9") - spacer4 = QSpacerItem(60,21,QSizePolicy.Expanding,QSizePolicy.Minimum) - layout9.addItem(spacer4) - - self.bAjout = QPushButton(self,"bAjout") - self.bAjout.setAutoDefault(1) - self.bAjout.setDefault(1) - layout9.addWidget(self.bAjout) - spacer2 = QSpacerItem(80,21,QSizePolicy.Expanding,QSizePolicy.Minimum) - layout9.addItem(spacer2) - - DMCListAjoutLayout.addMultiCellLayout(layout9,8,8,0,2) - spacer1 = QSpacerItem(21,40,QSizePolicy.Minimum,QSizePolicy.Expanding) - DMCListAjoutLayout.addItem(spacer1,9,1) - - self.textLabel1_2_2 = QLabel(self,"textLabel1_2_2") - - DMCListAjoutLayout.addMultiCellWidget(self.textLabel1_2_2,6,6,0,2) - spacer5 = QSpacerItem(20,20,QSizePolicy.Minimum,QSizePolicy.Expanding) - DMCListAjoutLayout.addItem(spacer5,7,1) - - self.MCFacteur = QLabel(self,"MCFacteur") - - DMCListAjoutLayout.addMultiCellWidget(self.MCFacteur,4,4,0,2) - spacer6 = QSpacerItem(21,31,QSizePolicy.Minimum,QSizePolicy.Expanding) - DMCListAjoutLayout.addItem(spacer6,5,1) - spacer7 = QSpacerItem(21,51,QSizePolicy.Minimum,QSizePolicy.Expanding) - DMCListAjoutLayout.addItem(spacer7,3,1) - spacer8 = QSpacerItem(41,51,QSizePolicy.Minimum,QSizePolicy.Expanding) - DMCListAjoutLayout.addItem(spacer8,0,1) - - self.bSup = QPushButton(self,"bSup") - self.bSup.setAutoDefault(1) - - DMCListAjoutLayout.addWidget(self.bSup,10,0) - - self.bOk = QPushButton(self,"bOk") - self.bOk.setAutoDefault(1) - self.bOk.setDefault(1) - - DMCListAjoutLayout.addWidget(self.bOk,10,1) - - self.bHelp = QPushButton(self,"bHelp") - self.bHelp.setAutoDefault(1) - - DMCListAjoutLayout.addWidget(self.bHelp,10,2) - - self.languageChange() - - self.resize(QSize(509,472).expandedTo(self.minimumSizeHint())) - self.clearWState(Qt.WState_Polished) - - self.connect(self.bOk,SIGNAL("clicked()"),self.BAjoutClicked) - self.connect(self.bAjout,SIGNAL("clicked()"),self.BAjoutClicked) - self.connect(self.bSup,SIGNAL("clicked()"),self.BSupPressed) - self.connect(self.bHelp,SIGNAL("clicked()"),self.ViewDoc) - - - def languageChange(self): - self.setCaption(self.__tr("Form1")) - self.textLabel1.setText(self.__tr("

Pour ajouter une autre occurrence

")) - self.textLabel1_2.setText(self.__tr("

du mot clef-facteur

")) - self.bAjout.setText(self.__tr("&Ajouter")) - self.bAjout.setAccel(QKeySequence(self.__tr("Alt+A"))) - QToolTip.add(self.bAjout,self.__tr("validation de la saisie")) - self.textLabel1_2_2.setText(self.__tr("

cliquez ci-dessous

")) - self.MCFacteur.setText(self.__tr("

AFFE

")) - self.bSup.setText(self.__tr("&Supprimer")) - self.bSup.setAccel(QKeySequence(self.__tr("Alt+S"))) - QToolTip.add(self.bSup,self.__tr("suppression du mot clef")) - self.bOk.setText(self.__tr("&Valider")) - self.bOk.setAccel(QKeySequence(self.__tr("Shift+A, Alt+A, Alt+A, Alt+A"))) - QToolTip.add(self.bOk,self.__tr("validation de la saisie")) - self.bHelp.setText(self.__tr("&Documentation")) - self.bHelp.setAccel(QKeySequence(self.__tr("Alt+D"))) - QToolTip.add(self.bHelp,self.__tr("affichage documentation aster")) - - - def BAjoutClicked(self): - print "DMCListAjout.BAjoutClicked(): Not implemented yet" - - def BSupPressed(self): - print "DMCListAjout.BSupPressed(): Not implemented yet" - - def ViewDoc(self): - print "DMCListAjout.ViewDoc(): Not implemented yet" - - def __tr(self,s,c = None): - return qApp.translate("DMCListAjout",s,c) diff --git a/Ui/desMacro.py b/Ui/desMacro.py deleted file mode 100644 index 715403c0..00000000 --- a/Ui/desMacro.py +++ /dev/null @@ -1,229 +0,0 @@ -# -*- coding: utf-8 -*- - -# Form implementation generated from reading ui file 'desMacro.ui' -# -# Created: Mon Dec 1 12:10:18 2008 -# by: The PyQt User Interface Compiler (pyuic) 3.16 -# -# WARNING! All changes made in this file will be lost! - - -from qt import * - - -class DMacro(QWidget): - def __init__(self,parent = None,name = None,fl = 0): - QWidget.__init__(self,parent,name,fl) - - if not name: - self.setName("DMacro") - - self.setSizePolicy(QSizePolicy(QSizePolicy.MinimumExpanding,QSizePolicy.Preferred,0,0,self.sizePolicy().hasHeightForWidth())) - self.setMinimumSize(QSize(50,0)) - - DMacroLayout = QGridLayout(self,1,1,11,6,"DMacroLayout") - - self.Commentaire = QLabel(self,"Commentaire") - - DMacroLayout.addMultiCellWidget(self.Commentaire,1,1,0,2) - - self.TWChoix = QTabWidget(self,"TWChoix") - - self.MotClef = QWidget(self.TWChoix,"MotClef") - MotClefLayout = QGridLayout(self.MotClef,1,1,11,6,"MotClefLayout") - - self.LBMCPermis = QListBox(self.MotClef,"LBMCPermis") - self.LBMCPermis.setMinimumSize(QSize(0,0)) - - MotClefLayout.addWidget(self.LBMCPermis,1,0) - - self.LBRegles = QListBox(self.MotClef,"LBRegles") - - MotClefLayout.addWidget(self.LBRegles,1,1) - - self.textLabel1_2 = QLabel(self.MotClef,"textLabel1_2") - - MotClefLayout.addWidget(self.textLabel1_2,0,1) - - self.textLabel1 = QLabel(self.MotClef,"textLabel1") - self.textLabel1.setMinimumSize(QSize(0,0)) - - MotClefLayout.addWidget(self.textLabel1,0,0) - self.TWChoix.insertTab(self.MotClef,QString.fromLatin1("")) - - self.Commande = QWidget(self.TWChoix,"Commande") - CommandeLayout = QGridLayout(self.Commande,1,1,11,6,"CommandeLayout") - - self.LBNouvCommande = QListBox(self.Commande,"LBNouvCommande") - - CommandeLayout.addMultiCellWidget(self.LBNouvCommande,2,2,0,3) - - self.buttonGroup1 = QButtonGroup(self.Commande,"buttonGroup1") - - self.RBalpha = QRadioButton(self.buttonGroup1,"RBalpha") - self.RBalpha.setGeometry(QRect(20,20,120,20)) - self.RBalpha.setChecked(1) - - self.RBGroupe = QRadioButton(self.buttonGroup1,"RBGroupe") - self.RBGroupe.setGeometry(QRect(20,40,120,20)) - - CommandeLayout.addMultiCellWidget(self.buttonGroup1,0,1,3,3) - - self.textLabel1_4 = QLabel(self.Commande,"textLabel1_4") - - CommandeLayout.addMultiCellWidget(self.textLabel1_4,0,0,0,1) - - self.BNext = QToolButton(self.Commande,"BNext") - self.BNext.setMinimumSize(QSize(60,0)) - self.BNext.setIconSet(QIconSet()) - - CommandeLayout.addWidget(self.BNext,1,2) - - self.textLabel6 = QLabel(self.Commande,"textLabel6") - self.textLabel6.setMinimumSize(QSize(40,0)) - - CommandeLayout.addWidget(self.textLabel6,1,0) - - self.textLabel4 = QLabel(self.Commande,"textLabel4") - - CommandeLayout.addMultiCellWidget(self.textLabel4,3,3,0,3) - - self.LEFiltre = QLineEdit(self.Commande,"LEFiltre") - self.LEFiltre.setMinimumSize(QSize(160,30)) - - CommandeLayout.addWidget(self.LEFiltre,1,1) - self.TWChoix.insertTab(self.Commande,QString.fromLatin1("")) - - self.TabPage = QWidget(self.TWChoix,"TabPage") - - self.groupBox1_2 = QGroupBox(self.TabPage,"groupBox1_2") - self.groupBox1_2.setGeometry(QRect(0,0,520,380)) - - self.textLabel3_2 = QLabel(self.groupBox1_2,"textLabel3_2") - self.textLabel3_2.setGeometry(QRect(10,230,320,31)) - - self.typeConcept = QLabel(self.groupBox1_2,"typeConcept") - self.typeConcept.setGeometry(QRect(360,230,130,31)) - - self.textLabel1_3_2_3 = QLabel(self.groupBox1_2,"textLabel1_3_2_3") - self.textLabel1_3_2_3.setGeometry(QRect(20,200,160,31)) - - self.textLabel1_3_3 = QLabel(self.groupBox1_2,"textLabel1_3_3") - self.textLabel1_3_3.setGeometry(QRect(20,50,150,31)) - - self.LENomConcept = QLineEdit(self.groupBox1_2,"LENomConcept") - self.LENomConcept.setGeometry(QRect(20,80,440,30)) - self.TWChoix.insertTab(self.TabPage,QString.fromLatin1("")) - - DMacroLayout.addMultiCellWidget(self.TWChoix,0,0,0,2) - - self.bSup = QPushButton(self,"bSup") - self.bSup.setMinimumSize(QSize(0,30)) - self.bSup.setAutoDefault(1) - - DMacroLayout.addWidget(self.bSup,2,0) - - self.bHelp = QPushButton(self,"bHelp") - self.bHelp.setMinimumSize(QSize(0,30)) - self.bHelp.setAutoDefault(1) - - DMacroLayout.addWidget(self.bHelp,2,2) - - self.bOk = QPushButton(self,"bOk") - self.bOk.setMinimumSize(QSize(0,30)) - self.bOk.setAutoDefault(1) - self.bOk.setDefault(1) - - DMacroLayout.addWidget(self.bOk,2,1) - - self.languageChange() - - self.resize(QSize(529,499).expandedTo(self.minimumSizeHint())) - self.clearWState(Qt.WState_Polished) - - 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.LENomConcept,SIGNAL("returnPressed()"),self.LENomConceptReturnPressed) - self.connect(self.bHelp,SIGNAL("clicked()"),self.ViewDoc) - - self.setTabOrder(self.LEFiltre,self.LENomConcept) - self.setTabOrder(self.LENomConcept,self.TWChoix) - self.setTabOrder(self.TWChoix,self.LBMCPermis) - self.setTabOrder(self.LBMCPermis,self.LBRegles) - self.setTabOrder(self.LBRegles,self.LBNouvCommande) - self.setTabOrder(self.LBNouvCommande,self.RBalpha) - self.setTabOrder(self.RBalpha,self.bSup) - self.setTabOrder(self.bSup,self.bHelp) - self.setTabOrder(self.bHelp,self.bOk) - - - def languageChange(self): - self.setCaption(self.__tr("DMacro")) - self.Commentaire.setText(QString.null) - self.textLabel1_2.setText(self.__trUtf8("\x3c\x68\x33\x3e\x3c\x70\x20\x61\x6c\x69\x67\x6e\x3d\x22\x63\x65\x6e\x74\x65\x72\x22\x3e\x3c\x75\x3e\x3c\x62\x3e\x52\xc3\xa9\x67\x6c\x65\x73\x3c\x2f\x62\x3e\x3c\x2f\x75\x3e\x3c\x2f\x70\x3e\x3c\x2f\x68\x33\x3e")) - self.textLabel1.setText(self.__tr("

Mots Clefs Permis

")) - self.TWChoix.changeTab(self.MotClef,self.__tr("Ajouter Mot-Clef")) - self.buttonGroup1.setTitle(self.__tr("Affichage")) - self.RBalpha.setText(self.__trUtf8("\x61\x6c\x70\x68\x61\x62\xc3\xa9\x74\x69\x71\x75\x65")) - self.RBGroupe.setText(self.__tr("par groupe")) - self.textLabel1_4.setText(self.__tr("Commandes :")) - self.BNext.setText(self.__tr("Suivant")) - QToolTip.add(self.BNext,self.__tr("affiche la prochaine occurence")) - self.textLabel6.setText(self.__tr("Filtre")) - self.textLabel4.setText(self.__trUtf8("\x4c\x61\x20\x63\x6f\x6d\x6d\x61\x6e\x64\x65\x20\x63\x68\x6f\x69\x73\x69\x65\x20\x73\x65\x72\x61\x20\x61\x6a\x6f\x75\x74\xc3\xa9\x65\x20\x41\x50\x52\x45\x53\x20\x6c\x61\x20\x63\x6f\x6d\x6d\x61\x6e\x64\x65\x20\x63\x6f\x75\x72\x61\x6e\x74\x65")) - self.TWChoix.changeTab(self.Commande,self.__tr("Nouvelle Commande")) - self.groupBox1_2.setTitle(self.__tr("Concept")) - self.textLabel3_2.setText(self.__trUtf8("\x4c\x27\x6f\x70\xc3\xa9\x72\x61\x74\x65\x75\x72\x20\x63\x6f\x75\x72\x61\x6e\x74\x20\x72\x65\x74\x6f\x75\x72\x6e\x65\x20\x75\x6e\x20\x63\x6f\x6e\x63\x65\x70\x74\x20\x64\x65\x20\x74\x79\x70\x65\x20\x3a")) - self.typeConcept.setText(self.__tr("TypeDuConcept")) - self.textLabel1_3_2_3.setText(self.__tr("Type du concept :")) - self.textLabel1_3_3.setText(self.__tr("Nom du concept :")) - self.TWChoix.changeTab(self.TabPage,self.__tr("Nommer Concept")) - self.bSup.setText(self.__tr("&Supprimer")) - self.bSup.setAccel(QKeySequence(self.__tr("Alt+S"))) - QToolTip.add(self.bSup,self.__tr("suppression du mot clef")) - self.bHelp.setText(self.__tr("&Documentation")) - self.bHelp.setAccel(QKeySequence(self.__tr("Alt+D"))) - QToolTip.add(self.bHelp,self.__tr("affichage documentation aster")) - self.bOk.setText(self.__tr("&Valider")) - self.bOk.setAccel(QKeySequence(self.__tr("Shift+A, Alt+A, Alt+A, Alt+A"))) - QToolTip.add(self.bOk,self.__tr("validation de la saisie")) - - - def LBNouvCommandeClicked(self): - print "DMacro.LBNouvCommandeClicked(): Not implemented yet" - - def LEFiltreTextChanged(self): - print "DMacro.LEFiltreTextChanged(): Not implemented yet" - - def LEfiltreReturnPressed(self): - print "DMacro.LEfiltreReturnPressed(): Not implemented yet" - - def BSupPressed(self): - print "DMacro.BSupPressed(): Not implemented yet" - - def BOkPressed(self): - print "DMacro.BOkPressed(): Not implemented yet" - - def BuildTabCommand(self): - print "DMacro.BuildTabCommand(): Not implemented yet" - - def BNextPressed(self): - print "DMacro.BNextPressed(): Not implemented yet" - - def LENomConceptReturnPressed(self): - print "DMacro.LENomConceptReturnPressed(): Not implemented yet" - - def ViewDoc(self): - print "DMacro.ViewDoc(): Not implemented yet" - - def __tr(self,s,c = None): - return qApp.translate("DMacro",s,c) - - def __trUtf8(self,s,c = None): - return qApp.translate("DMacro",s,c,QApplication.UnicodeUTF8) diff --git a/Ui/desParam.py b/Ui/desParam.py deleted file mode 100644 index 2f50e328..00000000 --- a/Ui/desParam.py +++ /dev/null @@ -1,210 +0,0 @@ -# -*- coding: utf-8 -*- - -# Form implementation generated from reading ui file 'desParam.ui' -# -# Created: Mon Dec 1 12:10:19 2008 -# by: The PyQt User Interface Compiler (pyuic) 3.16 -# -# WARNING! All changes made in this file will be lost! - - -from qt import * - - -class DParam(QWidget): - def __init__(self,parent = None,name = None,fl = 0): - QWidget.__init__(self,parent,name,fl) - - if not name: - self.setName("DParam") - - self.setSizePolicy(QSizePolicy(QSizePolicy.MinimumExpanding,QSizePolicy.Preferred,0,0,self.sizePolicy().hasHeightForWidth())) - self.setMinimumSize(QSize(50,0)) - - DParamLayout = QGridLayout(self,1,1,11,6,"DParamLayout") - - self.Commentaire = QLabel(self,"Commentaire") - self.Commentaire.setFrameShape(QLabel.NoFrame) - self.Commentaire.setFrameShadow(QLabel.Plain) - - DParamLayout.addMultiCellWidget(self.Commentaire,1,1,0,2) - - self.TWChoix = QTabWidget(self,"TWChoix") - - self.Valeur_Parametre = QWidget(self.TWChoix,"Valeur_Parametre") - - self.textLabel2_2_2 = QLabel(self.Valeur_Parametre,"textLabel2_2_2") - self.textLabel2_2_2.setGeometry(QRect(80,11,231,89)) - - self.Commentaire_2 = QLabel(self.Valeur_Parametre,"Commentaire_2") - self.Commentaire_2.setGeometry(QRect(11,275,459,89)) - - self.lineEditNom = QLineEdit(self.Valeur_Parametre,"lineEditNom") - self.lineEditNom.setGeometry(QRect(80,106,231,31)) - self.lineEditNom.setMinimumSize(QSize(231,31)) - - self.textLabel2_2 = QLabel(self.Valeur_Parametre,"textLabel2_2") - self.textLabel2_2.setGeometry(QRect(11,106,63,31)) - - self.textLabel2 = QLabel(self.Valeur_Parametre,"textLabel2") - self.textLabel2.setGeometry(QRect(11,143,63,31)) - - self.Commentaire2 = QLabel(self.Valeur_Parametre,"Commentaire2") - self.Commentaire2.setGeometry(QRect(11,180,459,89)) - - self.lineEditVal = QLineEdit(self.Valeur_Parametre,"lineEditVal") - self.lineEditVal.setGeometry(QRect(80,143,231,31)) - self.lineEditVal.setMinimumSize(QSize(231,31)) - self.TWChoix.insertTab(self.Valeur_Parametre,QString.fromLatin1("")) - - self.Commande = QWidget(self.TWChoix,"Commande") - CommandeLayout = QGridLayout(self.Commande,1,1,11,6,"CommandeLayout") - - self.textLabel6 = QLabel(self.Commande,"textLabel6") - self.textLabel6.setMinimumSize(QSize(40,0)) - - CommandeLayout.addWidget(self.textLabel6,1,0) - - self.LBNouvCommande = QListBox(self.Commande,"LBNouvCommande") - - CommandeLayout.addMultiCellWidget(self.LBNouvCommande,2,2,0,3) - - self.buttonGroup1 = QButtonGroup(self.Commande,"buttonGroup1") - - self.RBGroupe = QRadioButton(self.buttonGroup1,"RBGroupe") - self.RBGroupe.setGeometry(QRect(20,40,101,20)) - - self.RBalpha = QRadioButton(self.buttonGroup1,"RBalpha") - self.RBalpha.setGeometry(QRect(20,20,120,20)) - self.RBalpha.setChecked(1) - - CommandeLayout.addMultiCellWidget(self.buttonGroup1,0,1,3,3) - - self.textLabel1_4 = QLabel(self.Commande,"textLabel1_4") - - CommandeLayout.addMultiCellWidget(self.textLabel1_4,0,0,0,1) - - self.textLabel4 = QLabel(self.Commande,"textLabel4") - - CommandeLayout.addMultiCellWidget(self.textLabel4,3,3,0,3) - - self.BNext = QToolButton(self.Commande,"BNext") - self.BNext.setMinimumSize(QSize(60,0)) - self.BNext.setIconSet(QIconSet()) - - CommandeLayout.addWidget(self.BNext,1,2) - - self.LEFiltre = QLineEdit(self.Commande,"LEFiltre") - self.LEFiltre.setMinimumSize(QSize(160,30)) - - CommandeLayout.addWidget(self.LEFiltre,1,1) - self.TWChoix.insertTab(self.Commande,QString.fromLatin1("")) - - DParamLayout.addMultiCellWidget(self.TWChoix,0,0,0,2) - - self.bOk = QPushButton(self,"bOk") - self.bOk.setMinimumSize(QSize(0,30)) - self.bOk.setAutoDefault(1) - self.bOk.setDefault(1) - - DParamLayout.addWidget(self.bOk,2,1) - - self.bSup = QPushButton(self,"bSup") - self.bSup.setMinimumSize(QSize(0,30)) - self.bSup.setAutoDefault(1) - - DParamLayout.addWidget(self.bSup,2,0) - - self.bHelp = QPushButton(self,"bHelp") - self.bHelp.setMinimumSize(QSize(0,30)) - self.bHelp.setAutoDefault(1) - - DParamLayout.addWidget(self.bHelp,2,2) - - self.languageChange() - - self.resize(QSize(517,483).expandedTo(self.minimumSizeHint())) - self.clearWState(Qt.WState_Polished) - - 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) - - self.setTabOrder(self.LEFiltre,self.TWChoix) - self.setTabOrder(self.TWChoix,self.lineEditNom) - self.setTabOrder(self.lineEditNom,self.lineEditVal) - self.setTabOrder(self.lineEditVal,self.LBNouvCommande) - self.setTabOrder(self.LBNouvCommande,self.RBalpha) - self.setTabOrder(self.RBalpha,self.bOk) - self.setTabOrder(self.bOk,self.bSup) - self.setTabOrder(self.bSup,self.bHelp) - - - def languageChange(self): - self.setCaption(self.__tr("DComm")) - self.Commentaire.setText(QString.null) - self.textLabel2_2_2.setText(self.__tr("

Parametre

")) - self.Commentaire_2.setText(QString.null) - self.textLabel2_2.setText(self.__tr(" Nom: ")) - self.textLabel2.setText(self.__tr(" Valeur: ")) - self.Commentaire2.setText(self.__trUtf8("\x52\x65\x74\x6f\x75\x72\x20\x43\x68\x61\x72\x69\x6f\x74\x20\x64\x61\x6e\x73\x20\x75\x6e\x65\x20\x73\x6f\x6e\x65\x20\x64\x65\x20\x73\x61\x69\x73\x69\x65\x20\x70\x65\x72\x6d\x65\x74\x20\x64\x65\x20\x76\xc3\xa9\x72\x69\x66\x69\x65\x72\x20\x6c\x61\x20\x0a\x76\x61\x6c\x69\x64\x69\x74\xc3\xa9\x20\x64\x65\x20\x6c\x61\x20\x76\x61\x6c\x65\x75\x72\x20\x73\x61\x69\x73\x69\x65\x2e\x0a\x0a\x4c\x65\x73\x20\x6e\x6f\x75\x76\x65\x6c\x6c\x65\x73\x20\x76\x61\x6c\x65\x75\x72\x73\x20\x6e\x65\x20\x73\x65\x72\x6f\x6e\x74\x20\x70\x72\x69\x73\x65\x73\x20\x20\x65\x6e\x20\x63\x6f\x6d\x70\x74\x65\x20\x71\x75\x27\x61\x70\x72\xc3\xa8\x73\x20\x61\x76\x6f\x69\x72\x20\x0a\x61\x70\x70\x75\x79\xc3\xa9\x20\x73\x75\x72\x20\x20\x6c\x65\x20\x62\x6f\x75\x74\x6f\x6e\x20\x56\x61\x6c\x69\x64\x65\x72\x2e")) - self.TWChoix.changeTab(self.Valeur_Parametre,self.__tr("Valeur Parametre")) - self.textLabel6.setText(self.__tr("Filtre")) - self.buttonGroup1.setTitle(self.__tr("Affichage")) - self.RBGroupe.setText(self.__tr("par groupe")) - self.RBalpha.setText(self.__trUtf8("\x61\x6c\x70\x68\x61\x62\xc3\xa9\x74\x69\x71\x75\x65")) - self.textLabel1_4.setText(self.__tr("Commandes :")) - self.textLabel4.setText(self.__trUtf8("\x4c\x61\x20\x63\x6f\x6d\x6d\x61\x6e\x64\x65\x20\x63\x68\x6f\x69\x73\x69\x65\x20\x73\x65\x72\x61\x20\x61\x6a\x6f\x75\x74\xc3\xa9\x65\x20\x41\x50\x52\x45\x53\x20\x6c\x61\x20\x63\x6f\x6d\x6d\x61\x6e\x64\x65\x20\x63\x6f\x75\x72\x61\x6e\x74\x65")) - self.BNext.setText(self.__tr("Suivant")) - QToolTip.add(self.BNext,self.__tr("affiche la prochaine occurence")) - self.TWChoix.changeTab(self.Commande,self.__tr("Nouvelle Commande")) - self.bOk.setText(self.__tr("&Valider")) - self.bOk.setAccel(QKeySequence(self.__tr("Shift+A, Alt+A, Alt+A, Alt+A"))) - QToolTip.add(self.bOk,self.__tr("validation de la saisie")) - self.bSup.setText(self.__tr("&Supprimer")) - self.bSup.setAccel(QKeySequence(self.__tr("Alt+S"))) - QToolTip.add(self.bSup,self.__tr("suppression du mot clef")) - self.bHelp.setText(self.__tr("&Documentation")) - self.bHelp.setAccel(QKeySequence(self.__tr("Alt+D"))) - QToolTip.add(self.bHelp,self.__tr("affichage documentation aster")) - - - def LBNouvCommandeClicked(self): - print "DParam.LBNouvCommandeClicked(): Not implemented yet" - - def LEFiltreTextChanged(self): - print "DParam.LEFiltreTextChanged(): Not implemented yet" - - def LEfiltreReturnPressed(self): - print "DParam.LEfiltreReturnPressed(): Not implemented yet" - - def BSupPressed(self): - print "DParam.BSupPressed(): Not implemented yet" - - def LENomConceptReturnPressed(self): - print "DParam.LENomConceptReturnPressed(): Not implemented yet" - - def BOkPressed(self): - print "DParam.BOkPressed(): Not implemented yet" - - def BuildTabCommand(self): - print "DParam.BuildTabCommand(): Not implemented yet" - - def ViewDoc(self): - print "DParam.ViewDoc(): Not implemented yet" - - def BNextPressed(self): - print "DParam.BNextPressed(): Not implemented yet" - - def __tr(self,s,c = None): - return qApp.translate("DParam",s,c) - - def __trUtf8(self,s,c = None): - return qApp.translate("DParam",s,c,QApplication.UnicodeUTF8) diff --git a/Ui/desPlusieursBase.py b/Ui/desPlusieursBase.py deleted file mode 100644 index 7f7318ce..00000000 --- a/Ui/desPlusieursBase.py +++ /dev/null @@ -1,293 +0,0 @@ -# -*- coding: utf-8 -*- - -# Form implementation generated from reading ui file 'desPlusieursBase.ui' -# -# Created: Mon Dec 1 12:10:19 2008 -# by: The PyQt User Interface Compiler (pyuic) 3.16 -# -# WARNING! All changes made in this file will be lost! - - -from qt import * - -image0_data = \ - "\x89\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d" \ - "\x49\x48\x44\x52\x00\x00\x00\x14\x00\x00\x00\x14" \ - "\x08\x06\x00\x00\x00\x8d\x89\x1d\x0d\x00\x00\x00" \ - "\x8d\x49\x44\x41\x54\x38\x8d\xb5\xd3\xdb\x0d\x80" \ - "\x20\x0c\x05\xd0\x5b\xe3\x3a\x8e\xe2\x4c\x86\x99" \ - "\x18\x85\x81\xea\x87\xc6\xc4\xd2\x56\x28\xd8\x84" \ - "\x0f\x5e\x27\x17\x50\x02\x63\x6a\x2d\x73\xb9\x1f" \ - "\xc0\xb5\x69\x15\x39\x17\xc3\xa0\x7e\xf0\xae\x9c" \ - "\xca\xab\xbf\x1f\x5b\xb5\xa6\xed\xc8\x0c\x02\x83" \ - "\x34\x20\x06\x02\x00\x81\x65\xc2\x38\x28\x30\x2f" \ - "\xa9\x77\xdd\x36\xc6\xa0\x67\xa7\x78\x14\x3f\xa1" \ - "\x85\xf9\x5b\xe6\x61\x76\xc2\x20\xa6\x83\x03\x58" \ - "\x0d\x0e\x62\x7a\xc2\x01\xcc\x04\xa3\xd8\x55\x2c" \ - "\x1a\xc0\x39\x95\xab\x27\xe7\x5a\x9a\x3e\x18\x47" \ - "\xdd\xef\x30\x72\xec\xef\x5f\xaf\xb3\x4e\xcb\x01" \ - "\x65\xf7\x82\x6b\x45\x7b\x00\x00\x00\x00\x49\x45" \ - "\x4e\x44\xae\x42\x60\x82" -image1_data = \ - "\x89\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d" \ - "\x49\x48\x44\x52\x00\x00\x00\x21\x00\x00\x00\x0e" \ - "\x08\x06\x00\x00\x00\xa1\x1e\x75\x8c\x00\x00\x00" \ - "\xc7\x49\x44\x41\x54\x38\x8d\xcd\x94\x59\x0e\xc3" \ - "\x20\x0c\x44\x71\xd5\x7b\xc7\x3d\xf9\xf4\x07\xd3" \ - "\x31\xb1\x59\xa2\x28\xaa\x25\x44\x48\xbc\x3c\xc6" \ - "\x81\x52\xfe\xc0\xe4\x42\x0c\xee\xce\xb9\x12\xe0" \ - "\x8a\x02\x39\x83\x88\x48\xf5\xdf\x02\xc9\x9c\x11" \ - "\xf8\x60\x04\x30\x01\x19\x05\x4a\xe8\x68\xc5\x6a" \ - "\xc2\x06\xc0\x6b\x4b\x10\x91\x11\xc8\x02\x87\x4f" \ - "\x3a\x52\xa5\x87\x75\x71\x23\x89\x7e\x40\x39\xc4" \ - "\x6b\x50\xd8\x86\x5b\x07\xf5\x40\x0a\x45\x00\x53" \ - "\x33\x08\x93\xcf\x86\x74\xa3\x00\x28\xd4\x92\xde" \ - "\xef\x04\x62\x6b\x55\x9d\xfe\x48\xac\x84\x2b\x1a" \ - "\x6d\xaa\xe6\x85\x01\x55\x03\x3b\x99\xc5\x00\x9f" \ - "\x70\xce\xda\x11\x1a\xab\x41\x3b\x6f\x6a\x70\xd1" \ - "\x18\xe0\x08\xe6\xfd\x8b\xc5\x1d\x5d\x00\xa0\xf6" \ - "\x14\x55\x6d\x1f\xf9\xb9\xbe\x49\x52\xaa\xbc\x37" \ - "\x21\xf8\xf8\xb6\xf6\x24\xc5\x57\xef\x89\x47\xaf" \ - "\xed\xf4\x8c\x5e\x60\xb8\xdf\xbe\xb8\x1d\x6d\xab" \ - "\x9a\xff\x99\x27\x00\x00\x00\x00\x49\x45\x4e\x44" \ - "\xae\x42\x60\x82" -image2_data = \ - "\x89\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d" \ - "\x49\x48\x44\x52\x00\x00\x00\x21\x00\x00\x00\x0e" \ - "\x08\x06\x00\x00\x00\xa1\x1e\x75\x8c\x00\x00\x00" \ - "\xcf\x49\x44\x41\x54\x38\x8d\xd5\x94\xdb\x0e\xc3" \ - "\x20\x0c\x43\xed\xfd\xf8\xd8\x97\xbb\x0f\x34\x5b" \ - "\x48\x08\x45\xd5\x1e\xb6\x48\x88\xf4\x12\xe7\x60" \ - "\x01\xc0\x0f\x04\x6f\xd6\xe9\x9b\xba\x77\x20\x04" \ - "\x80\x92\x4a\x10\x32\xc9\x2e\xfb\xd8\xc7\xd5\xca" \ - "\xbc\xc0\x25\x40\x00\x99\xe9\x57\x84\x95\x68\xfe" \ - "\x7f\x06\xc0\xde\xd1\xde\xb3\x2b\x4a\x1e\xc4\xea" \ - "\x82\x4b\x9e\x74\x09\x71\x65\xbd\x01\xf8\x55\x27" \ - "\xf7\x8a\x72\x01\xe0\xa3\x12\x9f\x34\x5a\x01\x7c" \ - "\x54\x3b\xaf\xdc\x98\x3d\x0f\x71\x09\xd1\x5a\x33" \ - "\x1b\x47\x1f\x47\x07\x2c\x17\x49\x4a\x82\x33\x8f" \ - "\x61\x78\x20\x3a\x88\x17\xe6\x73\x06\xb1\xf0\x8b" \ - "\x07\xba\x03\xe6\x02\xc9\xb8\x31\x07\x7e\x37\xe0" \ - "\x20\x9e\x67\xe3\x38\x67\x10\x97\x7b\x17\xde\x80" \ - "\xc1\x85\xad\x38\x69\x5a\x51\xd5\x22\xc8\x2c\xe7" \ - "\x79\x12\xe2\xfe\xd8\xbe\x83\x76\x20\x92\xf5\x2b" \ - "\x18\x20\xdd\x11\xbb\x10\xe5\x65\xb5\x3a\x5a\x3b" \ - "\xba\xff\x13\x07\x13\xd6\x6f\xa6\x98\x18\x57\x06" \ - "\x00\x00\x00\x00\x49\x45\x4e\x44\xae\x42\x60\x82" - -class DPlusBase(QWidget): - def __init__(self,parent = None,name = None,fl = 0): - QWidget.__init__(self,parent,name,fl) - - self.image0 = QPixmap() - self.image0.loadFromData(image0_data,"PNG") - self.image1 = QPixmap() - self.image1.loadFromData(image1_data,"PNG") - self.image2 = QPixmap() - self.image2.loadFromData(image2_data,"PNG") - if not name: - self.setName("DPlusBase") - - self.setMinimumSize(QSize(50,0)) - self.setIcon(self.image0) - - DPlusBaseLayout = QGridLayout(self,1,1,11,6,"DPlusBaseLayout") - - self.tabuniqueinto = QTabWidget(self,"tabuniqueinto") - - self.Widget8 = QWidget(self.tabuniqueinto,"Widget8") - Widget8Layout = QGridLayout(self.Widget8,1,1,11,6,"Widget8Layout") - - self.textLabel1 = QLabel(self.Widget8,"textLabel1") - - Widget8Layout.addWidget(self.textLabel1,0,0) - - self.LBValeurs = QListBox(self.Widget8,"LBValeurs") - self.LBValeurs.setMinimumSize(QSize(200,0)) - - Widget8Layout.addMultiCellWidget(self.LBValeurs,1,9,0,0) - spacer4 = QSpacerItem(21,231,QSizePolicy.Minimum,QSizePolicy.Expanding) - Widget8Layout.addMultiCell(spacer4,5,9,1,2) - spacer3_3 = QSpacerItem(31,30,QSizePolicy.Minimum,QSizePolicy.Expanding) - Widget8Layout.addMultiCell(spacer3_3,0,0,1,2) - - self.BAjout1Val = QToolButton(self.Widget8,"BAjout1Val") - self.BAjout1Val.setSizePolicy(QSizePolicy(QSizePolicy.Fixed,QSizePolicy.Fixed,0,0,self.BAjout1Val.sizePolicy().hasHeightForWidth())) - self.BAjout1Val.setMinimumSize(QSize(40,30)) - self.BAjout1Val.setIconSet(QIconSet(self.image1)) - - Widget8Layout.addMultiCellWidget(self.BAjout1Val,2,2,1,2) - spacer5 = QSpacerItem(150,20,QSizePolicy.Expanding,QSizePolicy.Minimum) - Widget8Layout.addMultiCell(spacer5,8,8,2,4) - - layout7 = QVBoxLayout(None,0,6,"layout7") - - self.bParam = QPushButton(self.Widget8,"bParam") - self.bParam.setMinimumSize(QSize(0,30)) - self.bParam.setAutoDefault(1) - layout7.addWidget(self.bParam) - - self.bImport = QPushButton(self.Widget8,"bImport") - self.bImport.setMinimumSize(QSize(0,30)) - self.bImport.setAutoDefault(1) - layout7.addWidget(self.bImport) - - Widget8Layout.addMultiCellLayout(layout7,7,8,5,5) - spacer3 = QSpacerItem(31,50,QSizePolicy.Minimum,QSizePolicy.Expanding) - Widget8Layout.addItem(spacer3,6,5) - spacer3_2 = QSpacerItem(31,50,QSizePolicy.Minimum,QSizePolicy.Expanding) - Widget8Layout.addItem(spacer3_2,9,5) - - self.BSalome = QToolButton(self.Widget8,"BSalome") - self.BSalome.setSizePolicy(QSizePolicy(QSizePolicy.Fixed,QSizePolicy.Fixed,0,0,self.BSalome.sizePolicy().hasHeightForWidth())) - self.BSalome.setMinimumSize(QSize(40,30)) - self.BSalome.setIconSet(QIconSet(self.image0)) - - Widget8Layout.addWidget(self.BSalome,4,3) - - self.BView2D = QPushButton(self.Widget8,"BView2D") - self.BView2D.setMinimumSize(QSize(120,30)) - - Widget8Layout.addMultiCellWidget(self.BView2D,4,4,4,5) - - layout12 = QHBoxLayout(None,0,6,"layout12") - - self.textLabel1_2 = QLabel(self.Widget8,"textLabel1_2") - layout12.addWidget(self.textLabel1_2) - spacer6 = QSpacerItem(111,20,QSizePolicy.Expanding,QSizePolicy.Minimum) - layout12.addItem(spacer6) - - Widget8Layout.addMultiCellLayout(layout12,0,1,3,5) - - self.LEValeur = QLineEdit(self.Widget8,"LEValeur") - self.LEValeur.setSizePolicy(QSizePolicy(QSizePolicy.Minimum,QSizePolicy.Minimum,0,0,self.LEValeur.sizePolicy().hasHeightForWidth())) - self.LEValeur.setMinimumSize(QSize(220,30)) - - Widget8Layout.addMultiCellWidget(self.LEValeur,2,3,3,5) - - self.BSup1Val = QToolButton(self.Widget8,"BSup1Val") - self.BSup1Val.setSizePolicy(QSizePolicy(QSizePolicy.Fixed,QSizePolicy.Fixed,0,0,self.BSup1Val.sizePolicy().hasHeightForWidth())) - self.BSup1Val.setMinimumSize(QSize(40,30)) - self.BSup1Val.setIconSet(QIconSet(self.image2)) - - Widget8Layout.addMultiCellWidget(self.BSup1Val,3,4,1,2) - - self.Commentaire = QLabel(self.Widget8,"Commentaire") - self.Commentaire.setMinimumSize(QSize(0,60)) - - Widget8Layout.addMultiCellWidget(self.Commentaire,5,5,3,5) - - layout6 = QHBoxLayout(None,0,6,"layout6") - - self.bSup = QPushButton(self.Widget8,"bSup") - self.bSup.setMinimumSize(QSize(0,30)) - self.bSup.setAutoDefault(1) - layout6.addWidget(self.bSup) - - self.bOk = QPushButton(self.Widget8,"bOk") - self.bOk.setMinimumSize(QSize(0,30)) - self.bOk.setAutoDefault(1) - self.bOk.setDefault(1) - layout6.addWidget(self.bOk) - - self.bHelp = QPushButton(self.Widget8,"bHelp") - self.bHelp.setMinimumSize(QSize(0,30)) - self.bHelp.setAutoDefault(1) - layout6.addWidget(self.bHelp) - - Widget8Layout.addMultiCellLayout(layout6,10,10,0,5) - self.tabuniqueinto.insertTab(self.Widget8,QString.fromLatin1("")) - - DPlusBaseLayout.addWidget(self.tabuniqueinto,0,0) - - self.languageChange() - - self.resize(QSize(581,480).expandedTo(self.minimumSizeHint())) - self.clearWState(Qt.WState_Polished) - - 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) - - self.setTabOrder(self.LEValeur,self.tabuniqueinto) - self.setTabOrder(self.tabuniqueinto,self.bSup) - self.setTabOrder(self.bSup,self.bOk) - self.setTabOrder(self.bOk,self.bHelp) - self.setTabOrder(self.bHelp,self.bParam) - self.setTabOrder(self.bParam,self.bImport) - self.setTabOrder(self.bImport,self.LBValeurs) - self.setTabOrder(self.LBValeurs,self.BView2D) - - - def languageChange(self): - self.setCaption(self.__tr("DUnIn")) - self.textLabel1.setText(self.__tr("Valeur(s) actuelle(s)")) - self.BAjout1Val.setText(QString.null) - QToolTip.add(self.BAjout1Val,self.__trUtf8("\x61\x6a\x6f\x75\x74\x65\x20\x6c\x61\x20\x76\x61\x6c\x65\x75\x72\x20\x73\x61\x69\x73\x69\x65\x20\x73\x6f\x75\x73\x20\x6c\x20\x6f\x63\x63\x75\x72\x65\x6e\x63\x65\x20\x73\x65\x6c\x65\x63\x74\x69\x6f\x6e\x6e\xc3\xa9\x65\x20\x28\x65\x6e\x20\x66\x69\x6e\x20\x64\x65\x20\x6c\x69\x73\x74\x65\x20\x73\x69\x20\x69\x6c\x20\x6e\x20\x79\x20\x61\x20\x70\x61\x73\x20\x64\x65\x20\x73\x65\x6c\x65\x63\x74\x69\x6f\x6e\x29")) - self.bParam.setText(self.__tr("&Parametres")) - self.bParam.setAccel(QKeySequence(self.__tr("Alt+P"))) - QToolTip.add(self.bParam,self.__tr("suppression du mot clef")) - self.bImport.setText(self.__tr("&Importer")) - self.bImport.setAccel(QKeySequence(self.__tr("Alt+I"))) - QToolTip.add(self.bImport,self.__tr("suppression du mot clef")) - self.BSalome.setText(QString.null) - QToolTip.add(self.BSalome,self.__trUtf8("\x61\x6a\x6f\x75\x74\x65\x20\x6c\x61\x20\x76\x61\x6c\x65\x75\x72\x20\x73\x61\x69\x73\x69\x65\x20\x73\x6f\x75\x73\x20\x6c\x20\x6f\x63\x63\x75\x72\x65\x6e\x63\x65\x20\x73\x65\x6c\x65\x63\x74\x69\x6f\x6e\x6e\xc3\xa9\x65\x20\x28\x65\x6e\x20\x66\x69\x6e\x20\x64\x65\x20\x6c\x69\x73\x74\x65\x20\x73\x69\x20\x69\x6c\x20\x6e\x20\x79\x20\x61\x20\x70\x61\x73\x20\x64\x65\x20\x73\x65\x6c\x65\x63\x74\x69\x6f\x6e\x29")) - self.BView2D.setText(self.__tr("Visualiser")) - self.textLabel1_2.setText(self.__tr("Valeur")) - self.BSup1Val.setText(QString.null) - QToolTip.add(self.BSup1Val,self.__tr("enleve l occurence selectionnee")) - self.Commentaire.setText(QString.null) - self.bSup.setText(self.__tr("&Supprimer")) - self.bSup.setAccel(QKeySequence(self.__tr("Alt+S"))) - QToolTip.add(self.bSup,self.__tr("suppression du mot clef")) - self.bOk.setText(self.__tr("&Valider")) - self.bOk.setAccel(QKeySequence(self.__tr("Shift+A, Alt+A, Alt+A, Alt+A"))) - QToolTip.add(self.bOk,self.__tr("validation de la saisie")) - self.bHelp.setText(self.__tr("&Documentation")) - self.bHelp.setAccel(QKeySequence(self.__tr("Alt+D"))) - QToolTip.add(self.bHelp,self.__tr("affichage documentation aster")) - self.tabuniqueinto.changeTab(self.Widget8,self.__tr("Saisir Valeur")) - - - def BSupPressed(self): - print "DPlusBase.BSupPressed(): Not implemented yet" - - def ViewDoc(self): - print "DPlusBase.ViewDoc(): Not implemented yet" - - def BOkPourListePressed(self): - print "DPlusBase.BOkPourListePressed(): Not implemented yet" - - def BParametresPressed(self): - print "DPlusBase.BParametresPressed(): Not implemented yet" - - def LEValeurPressed(self): - print "DPlusBase.LEValeurPressed(): Not implemented yet" - - def Ajout1Valeur(self): - print "DPlusBase.Ajout1Valeur(): Not implemented yet" - - def Sup1Valeur(self): - print "DPlusBase.Sup1Valeur(): Not implemented yet" - - def BImportPressed(self): - print "DPlusBase.BImportPressed(): Not implemented yet" - - def BSalomePressed(self): - print "DPlusBase.BSalomePressed(): Not implemented yet" - - def BView2DPressed(self): - print "DPlusBase.BView2DPressed(): Not implemented yet" - - def __tr(self,s,c = None): - return qApp.translate("DPlusBase",s,c) - - def __trUtf8(self,s,c = None): - return qApp.translate("DPlusBase",s,c,QApplication.UnicodeUTF8) diff --git a/Ui/desPlusieursInto.py b/Ui/desPlusieursInto.py deleted file mode 100644 index 908a613c..00000000 --- a/Ui/desPlusieursInto.py +++ /dev/null @@ -1,186 +0,0 @@ -# -*- coding: utf-8 -*- - -# Form implementation generated from reading ui file 'desPlusieursInto.ui' -# -# Created: Mon Dec 1 14:43:05 2008 -# by: The PyQt User Interface Compiler (pyuic) 3.16 -# -# WARNING! All changes made in this file will be lost! - - -from qt import * - -image0_data = \ - "\x89\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d" \ - "\x49\x48\x44\x52\x00\x00\x00\x21\x00\x00\x00\x0e" \ - "\x08\x06\x00\x00\x00\xa1\x1e\x75\x8c\x00\x00\x00" \ - "\xc7\x49\x44\x41\x54\x38\x8d\xcd\x94\x59\x0e\xc3" \ - "\x20\x0c\x44\x71\xd5\x7b\xc7\x3d\xf9\xf4\x07\xd3" \ - "\x31\xb1\x59\xa2\x28\xaa\x25\x44\x48\xbc\x3c\xc6" \ - "\x81\x52\xfe\xc0\xe4\x42\x0c\xee\xce\xb9\x12\xe0" \ - "\x8a\x02\x39\x83\x88\x48\xf5\xdf\x02\xc9\x9c\x11" \ - "\xf8\x60\x04\x30\x01\x19\x05\x4a\xe8\x68\xc5\x6a" \ - "\xc2\x06\xc0\x6b\x4b\x10\x91\x11\xc8\x02\x87\x4f" \ - "\x3a\x52\xa5\x87\x75\x71\x23\x89\x7e\x40\x39\xc4" \ - "\x6b\x50\xd8\x86\x5b\x07\xf5\x40\x0a\x45\x00\x53" \ - "\x33\x08\x93\xcf\x86\x74\xa3\x00\x28\xd4\x92\xde" \ - "\xef\x04\x62\x6b\x55\x9d\xfe\x48\xac\x84\x2b\x1a" \ - "\x6d\xaa\xe6\x85\x01\x55\x03\x3b\x99\xc5\x00\x9f" \ - "\x70\xce\xda\x11\x1a\xab\x41\x3b\x6f\x6a\x70\xd1" \ - "\x18\xe0\x08\xe6\xfd\x8b\xc5\x1d\x5d\x00\xa0\xf6" \ - "\x14\x55\x6d\x1f\xf9\xb9\xbe\x49\x52\xaa\xbc\x37" \ - "\x21\xf8\xf8\xb6\xf6\x24\xc5\x57\xef\x89\x47\xaf" \ - "\xed\xf4\x8c\x5e\x60\xb8\xdf\xbe\xb8\x1d\x6d\xab" \ - "\x9a\xff\x99\x27\x00\x00\x00\x00\x49\x45\x4e\x44" \ - "\xae\x42\x60\x82" -image1_data = \ - "\x89\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d" \ - "\x49\x48\x44\x52\x00\x00\x00\x21\x00\x00\x00\x0e" \ - "\x08\x06\x00\x00\x00\xa1\x1e\x75\x8c\x00\x00\x00" \ - "\xcf\x49\x44\x41\x54\x38\x8d\xd5\x94\xdb\x0e\xc3" \ - "\x20\x0c\x43\xed\xfd\xf8\xd8\x97\xbb\x0f\x34\x5b" \ - "\x48\x08\x45\xd5\x1e\xb6\x48\x88\xf4\x12\xe7\x60" \ - "\x01\xc0\x0f\x04\x6f\xd6\xe9\x9b\xba\x77\x20\x04" \ - "\x80\x92\x4a\x10\x32\xc9\x2e\xfb\xd8\xc7\xd5\xca" \ - "\xbc\xc0\x25\x40\x00\x99\xe9\x57\x84\x95\x68\xfe" \ - "\x7f\x06\xc0\xde\xd1\xde\xb3\x2b\x4a\x1e\xc4\xea" \ - "\x82\x4b\x9e\x74\x09\x71\x65\xbd\x01\xf8\x55\x27" \ - "\xf7\x8a\x72\x01\xe0\xa3\x12\x9f\x34\x5a\x01\x7c" \ - "\x54\x3b\xaf\xdc\x98\x3d\x0f\x71\x09\xd1\x5a\x33" \ - "\x1b\x47\x1f\x47\x07\x2c\x17\x49\x4a\x82\x33\x8f" \ - "\x61\x78\x20\x3a\x88\x17\xe6\x73\x06\xb1\xf0\x8b" \ - "\x07\xba\x03\xe6\x02\xc9\xb8\x31\x07\x7e\x37\xe0" \ - "\x20\x9e\x67\xe3\x38\x67\x10\x97\x7b\x17\xde\x80" \ - "\xc1\x85\xad\x38\x69\x5a\x51\xd5\x22\xc8\x2c\xe7" \ - "\x79\x12\xe2\xfe\xd8\xbe\x83\x76\x20\x92\xf5\x2b" \ - "\x18\x20\xdd\x11\xbb\x10\xe5\x65\xb5\x3a\x5a\x3b" \ - "\xba\xff\x13\x07\x13\xd6\x6f\xa6\x98\x18\x57\x06" \ - "\x00\x00\x00\x00\x49\x45\x4e\x44\xae\x42\x60\x82" - -class DPlusInto(QWidget): - def __init__(self,parent = None,name = None,fl = 0): - QWidget.__init__(self,parent,name,fl) - - self.image0 = QPixmap() - self.image0.loadFromData(image0_data,"PNG") - self.image1 = QPixmap() - self.image1.loadFromData(image1_data,"PNG") - if not name: - self.setName("DPlusInto") - - self.setMinimumSize(QSize(50,0)) - - DPlusIntoLayout = QGridLayout(self,1,1,11,6,"DPlusIntoLayout") - - self.tabuniqueinto = QTabWidget(self,"tabuniqueinto") - - self.Widget8 = QWidget(self.tabuniqueinto,"Widget8") - - self.textLabel1 = QLabel(self.Widget8,"textLabel1") - self.textLabel1.setGeometry(QRect(11,11,198,23)) - - self.bSup = QPushButton(self.Widget8,"bSup") - self.bSup.setGeometry(QRect(11,384,130,30)) - self.bSup.setMinimumSize(QSize(130,30)) - self.bSup.setAutoDefault(1) - - self.bOk = QPushButton(self.Widget8,"bOk") - self.bOk.setGeometry(QRect(147,384,130,30)) - self.bOk.setMinimumSize(QSize(130,30)) - self.bOk.setAutoDefault(1) - self.bOk.setDefault(1) - - self.bHelp = QPushButton(self.Widget8,"bHelp") - self.bHelp.setGeometry(QRect(283,384,208,30)) - self.bHelp.setSizePolicy(QSizePolicy(QSizePolicy.Minimum,QSizePolicy.Fixed,150,0,self.bHelp.sizePolicy().hasHeightForWidth())) - self.bHelp.setMinimumSize(QSize(130,30)) - self.bHelp.setAutoDefault(1) - - self.Commentaire = QLabel(self.Widget8,"Commentaire") - self.Commentaire.setGeometry(QRect(11,338,480,40)) - self.Commentaire.setMinimumSize(QSize(0,40)) - - self.textLabel1_2 = QLabel(self.Widget8,"textLabel1_2") - self.textLabel1_2.setGeometry(QRect(215,11,276,23)) - - self.LBValeurs = QListBox(self.Widget8,"LBValeurs") - self.LBValeurs.setGeometry(QRect(12,41,211,290)) - - self.listBoxVal = QListBox(self.Widget8,"listBoxVal") - self.listBoxVal.setGeometry(QRect(279,41,211,290)) - - self.BAjout1Val = QToolButton(self.Widget8,"BAjout1Val") - self.BAjout1Val.setGeometry(QRect(230,50,40,31)) - self.BAjout1Val.setMinimumSize(QSize(40,31)) - self.BAjout1Val.setMaximumSize(QSize(40,31)) - self.BAjout1Val.setIconSet(QIconSet(self.image0)) - - self.BSup1Val = QToolButton(self.Widget8,"BSup1Val") - self.BSup1Val.setGeometry(QRect(230,90,40,31)) - self.BSup1Val.setMinimumSize(QSize(40,31)) - self.BSup1Val.setMaximumSize(QSize(40,31)) - self.BSup1Val.setIconSet(QIconSet(self.image1)) - self.tabuniqueinto.insertTab(self.Widget8,QString.fromLatin1("")) - - DPlusIntoLayout.addWidget(self.tabuniqueinto,0,0) - - self.languageChange() - - self.resize(QSize(528,480).expandedTo(self.minimumSizeHint())) - self.clearWState(Qt.WState_Polished) - - 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.LBValeurs,SIGNAL("doubleClicked(QListBoxItem*)"),self.Sup1Valeur) - self.connect(self.BAjout1Val,SIGNAL("clicked()"),self.Ajout1Valeur) - self.connect(self.BSup1Val,SIGNAL("clicked()"),self.Sup1Valeur) - - self.setTabOrder(self.listBoxVal,self.tabuniqueinto) - self.setTabOrder(self.tabuniqueinto,self.bSup) - self.setTabOrder(self.bSup,self.bOk) - self.setTabOrder(self.bOk,self.bHelp) - self.setTabOrder(self.bHelp,self.LBValeurs) - - - def languageChange(self): - self.setCaption(self.__tr("DUnIn")) - self.textLabel1.setText(self.__tr("Valeur(s) actuelle(s)")) - self.bSup.setText(self.__tr("&Supprimer")) - self.bSup.setAccel(QKeySequence(self.__tr("Alt+S"))) - QToolTip.add(self.bSup,self.__tr("suppression du mot clef")) - self.bOk.setText(self.__tr("&Valider")) - self.bOk.setAccel(QKeySequence(self.__tr("Shift+A, Alt+A, Alt+A, Alt+A"))) - QToolTip.add(self.bOk,self.__tr("validation de la saisie")) - self.bHelp.setText(self.__tr("&Documentation")) - self.bHelp.setAccel(QKeySequence(self.__tr("Alt+D"))) - QToolTip.add(self.bHelp,self.__tr("affichage documentation aster")) - self.Commentaire.setText(QString.null) - self.textLabel1_2.setText(self.__tr("Valeur(s) possibles(s)")) - self.BAjout1Val.setText(QString.null) - QToolTip.add(self.BAjout1Val,self.__trUtf8("\x61\x6a\x6f\x75\x74\x65\x20\x6c\x61\x20\x76\x61\x6c\x65\x75\x72\x20\x73\x61\x69\x73\x69\x65\x20\x73\x6f\x75\x73\x20\x6c\x20\x6f\x63\x63\x75\x72\x65\x6e\x63\x65\x20\x73\x65\x6c\x65\x63\x74\x69\x6f\x6e\x6e\xc3\xa9\x65\x20\x28\x65\x6e\x20\x66\x69\x6e\x20\x64\x65\x20\x6c\x69\x73\x74\x65\x20\x73\x69\x20\x69\x6c\x20\x6e\x20\x79\x20\x61\x20\x70\x61\x73\x20\x64\x65\x20\x73\x65\x6c\x65\x63\x74\x69\x6f\x6e\x29")) - self.BSup1Val.setText(QString.null) - QToolTip.add(self.BSup1Val,self.__tr("enleve l occurence selectionnee")) - self.tabuniqueinto.changeTab(self.Widget8,self.__tr("Saisir Valeur")) - - - def BSupPressed(self): - print "DPlusInto.BSupPressed(): Not implemented yet" - - def ViewDoc(self): - print "DPlusInto.ViewDoc(): Not implemented yet" - - def BOkPourListePressed(self): - print "DPlusInto.BOkPourListePressed(): Not implemented yet" - - def Ajout1Valeur(self): - print "DPlusInto.Ajout1Valeur(): Not implemented yet" - - def Sup1Valeur(self): - print "DPlusInto.Sup1Valeur(): Not implemented yet" - - def __tr(self,s,c = None): - return qApp.translate("DPlusInto",s,c) - - def __trUtf8(self,s,c = None): - return qApp.translate("DPlusInto",s,c,QApplication.UnicodeUTF8) diff --git a/Ui/desPoursuite.py b/Ui/desPoursuite.py deleted file mode 100644 index cb378b1b..00000000 --- a/Ui/desPoursuite.py +++ /dev/null @@ -1,236 +0,0 @@ -# -*- coding: utf-8 -*- - -# Form implementation generated from reading ui file 'desPoursuite.ui' -# -# Created: Mon Dec 1 12:10:19 2008 -# by: The PyQt User Interface Compiler (pyuic) 3.16 -# -# WARNING! All changes made in this file will be lost! - - -from qt import * - - -class DPour(QWidget): - def __init__(self,parent = None,name = None,fl = 0): - QWidget.__init__(self,parent,name,fl) - - if not name: - self.setName("DPour") - - self.setMinimumSize(QSize(50,0)) - - DPourLayout = QGridLayout(self,1,1,11,6,"DPourLayout") - - self.Commentaire = QLabel(self,"Commentaire") - - DPourLayout.addMultiCellWidget(self.Commentaire,1,1,0,2) - - self.TWChoix = QTabWidget(self,"TWChoix") - - self.MotClef = QWidget(self.TWChoix,"MotClef") - MotClefLayout = QGridLayout(self.MotClef,1,1,11,6,"MotClefLayout") - - self.textLabel1_2 = QLabel(self.MotClef,"textLabel1_2") - - MotClefLayout.addWidget(self.textLabel1_2,0,1) - - self.LBMCPermis = QListBox(self.MotClef,"LBMCPermis") - self.LBMCPermis.setMinimumSize(QSize(0,0)) - - MotClefLayout.addWidget(self.LBMCPermis,1,0) - - self.LBRegles = QListBox(self.MotClef,"LBRegles") - - MotClefLayout.addWidget(self.LBRegles,1,1) - - self.textLabel1 = QLabel(self.MotClef,"textLabel1") - self.textLabel1.setMinimumSize(QSize(0,0)) - - MotClefLayout.addWidget(self.textLabel1,0,0) - self.TWChoix.insertTab(self.MotClef,QString.fromLatin1("")) - - self.Commande = QWidget(self.TWChoix,"Commande") - CommandeLayout = QGridLayout(self.Commande,1,1,11,6,"CommandeLayout") - - self.LBNouvCommande = QListBox(self.Commande,"LBNouvCommande") - - CommandeLayout.addMultiCellWidget(self.LBNouvCommande,2,2,0,3) - - self.textLabel1_4 = QLabel(self.Commande,"textLabel1_4") - - CommandeLayout.addMultiCellWidget(self.textLabel1_4,0,0,0,1) - - self.buttonGroup1 = QButtonGroup(self.Commande,"buttonGroup1") - - self.RBGroupe = QRadioButton(self.buttonGroup1,"RBGroupe") - self.RBGroupe.setGeometry(QRect(20,40,101,20)) - - self.RBalpha = QRadioButton(self.buttonGroup1,"RBalpha") - self.RBalpha.setGeometry(QRect(20,20,120,20)) - self.RBalpha.setChecked(1) - - CommandeLayout.addMultiCellWidget(self.buttonGroup1,0,1,3,3) - - self.textLabel4 = QLabel(self.Commande,"textLabel4") - - CommandeLayout.addMultiCellWidget(self.textLabel4,3,3,0,3) - - self.BNext = QToolButton(self.Commande,"BNext") - self.BNext.setMinimumSize(QSize(60,0)) - self.BNext.setIconSet(QIconSet()) - - CommandeLayout.addWidget(self.BNext,1,2) - - self.textLabel6 = QLabel(self.Commande,"textLabel6") - self.textLabel6.setMinimumSize(QSize(40,0)) - - CommandeLayout.addWidget(self.textLabel6,1,0) - - self.LEFiltre = QLineEdit(self.Commande,"LEFiltre") - self.LEFiltre.setMinimumSize(QSize(160,30)) - - CommandeLayout.addWidget(self.LEFiltre,1,1) - self.TWChoix.insertTab(self.Commande,QString.fromLatin1("")) - - self.TabPage = QWidget(self.TWChoix,"TabPage") - - LayoutWidget = QWidget(self.TabPage,"layout4") - LayoutWidget.setGeometry(QRect(10,31,472,90)) - layout4 = QVBoxLayout(LayoutWidget,11,6,"layout4") - - self.textLabel1_3 = QLabel(LayoutWidget,"textLabel1_3") - layout4.addWidget(self.textLabel1_3) - - self.LENomFichier = QLineEdit(LayoutWidget,"LENomFichier") - self.LENomFichier.setMinimumSize(QSize(470,40)) - layout4.addWidget(self.LENomFichier) - - LayoutWidget_2 = QWidget(self.TabPage,"layout5") - LayoutWidget_2.setGeometry(QRect(8,131,481,250)) - layout5 = QGridLayout(LayoutWidget_2,1,1,11,6,"layout5") - - layout3 = QHBoxLayout(None,0,6,"layout3") - spacer3 = QSpacerItem(331,20,QSizePolicy.Expanding,QSizePolicy.Minimum) - layout3.addItem(spacer3) - - self.BBrowse = QPushButton(LayoutWidget_2,"BBrowse") - self.BBrowse.setSizePolicy(QSizePolicy(QSizePolicy.Fixed,QSizePolicy.Fixed,0,0,self.BBrowse.sizePolicy().hasHeightForWidth())) - self.BBrowse.setMinimumSize(QSize(140,50)) - layout3.addWidget(self.BBrowse) - - layout5.addLayout(layout3,1,0) - spacer1 = QSpacerItem(21,190,QSizePolicy.Minimum,QSizePolicy.Expanding) - layout5.addItem(spacer1,0,0) - self.TWChoix.insertTab(self.TabPage,QString.fromLatin1("")) - - DPourLayout.addMultiCellWidget(self.TWChoix,0,0,0,2) - - self.bSup = QPushButton(self,"bSup") - self.bSup.setMinimumSize(QSize(0,30)) - self.bSup.setAutoDefault(1) - - DPourLayout.addWidget(self.bSup,2,0) - - self.bOk = QPushButton(self,"bOk") - self.bOk.setMinimumSize(QSize(0,30)) - self.bOk.setAutoDefault(1) - self.bOk.setDefault(1) - - DPourLayout.addWidget(self.bOk,2,1) - - self.bHelp = QPushButton(self,"bHelp") - self.bHelp.setMinimumSize(QSize(0,30)) - self.bHelp.setAutoDefault(1) - - DPourLayout.addWidget(self.bHelp,2,2) - - self.languageChange() - - self.resize(QSize(546,499).expandedTo(self.minimumSizeHint())) - self.clearWState(Qt.WState_Polished) - - 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.BBrowse,SIGNAL("clicked()"),self.BBrowsePressed) - self.connect(self.LENomFichier,SIGNAL("returnPressed()"),self.LENomFichReturnPressed) - - self.setTabOrder(self.LEFiltre,self.LENomFichier) - self.setTabOrder(self.LENomFichier,self.TWChoix) - self.setTabOrder(self.TWChoix,self.LBMCPermis) - self.setTabOrder(self.LBMCPermis,self.LBRegles) - self.setTabOrder(self.LBRegles,self.LBNouvCommande) - self.setTabOrder(self.LBNouvCommande,self.RBalpha) - self.setTabOrder(self.RBalpha,self.BBrowse) - self.setTabOrder(self.BBrowse,self.bSup) - self.setTabOrder(self.bSup,self.bOk) - self.setTabOrder(self.bOk,self.bHelp) - - - def languageChange(self): - self.setCaption(self.__tr("DMacro")) - self.Commentaire.setText(QString.null) - self.textLabel1_2.setText(self.__trUtf8("\x3c\x68\x33\x3e\x3c\x70\x20\x61\x6c\x69\x67\x6e\x3d\x22\x63\x65\x6e\x74\x65\x72\x22\x3e\x3c\x75\x3e\x3c\x62\x3e\x52\xc3\xa9\x67\x6c\x65\x73\x3c\x2f\x62\x3e\x3c\x2f\x75\x3e\x3c\x2f\x70\x3e\x3c\x2f\x68\x33\x3e")) - self.textLabel1.setText(self.__tr("

Mots Clefs Permis

")) - self.TWChoix.changeTab(self.MotClef,self.__tr("Ajouter Mot-Clef")) - self.textLabel1_4.setText(self.__tr("Commandes :")) - self.buttonGroup1.setTitle(self.__tr("Affichage")) - self.RBGroupe.setText(self.__tr("par groupe")) - self.RBalpha.setText(self.__trUtf8("\x61\x6c\x70\x68\x61\x62\xc3\xa9\x74\x69\x71\x75\x65")) - self.textLabel4.setText(self.__trUtf8("\x4c\x61\x20\x63\x6f\x6d\x6d\x61\x6e\x64\x65\x20\x63\x68\x6f\x69\x73\x69\x65\x20\x73\x65\x72\x61\x20\x61\x6a\x6f\x75\x74\xc3\xa9\x65\x20\x41\x50\x52\x45\x53\x20\x6c\x61\x20\x63\x6f\x6d\x6d\x61\x6e\x64\x65\x20\x63\x6f\x75\x72\x61\x6e\x74\x65")) - self.BNext.setText(self.__tr("Suivant")) - QToolTip.add(self.BNext,self.__tr("affiche la prochaine occurence")) - self.textLabel6.setText(self.__tr("Filtre")) - self.TWChoix.changeTab(self.Commande,self.__tr("Nouvelle Commande")) - self.textLabel1_3.setText(self.__tr("La commande POURSUITE requiert un nom de Fichier :")) - self.BBrowse.setText(self.__tr("Edit")) - self.TWChoix.changeTab(self.TabPage,self.__tr("Fichier Poursuite")) - self.bSup.setText(self.__tr("&Supprimer")) - self.bSup.setAccel(QKeySequence(self.__tr("Alt+S"))) - QToolTip.add(self.bSup,self.__tr("suppression du mot clef")) - self.bOk.setText(self.__tr("&Valider")) - self.bOk.setAccel(QKeySequence(self.__tr("Shift+A, Alt+A, Alt+A, Alt+A"))) - QToolTip.add(self.bOk,self.__tr("validation de la saisie")) - self.bHelp.setText(self.__tr("&Documentation")) - self.bHelp.setAccel(QKeySequence(self.__tr("Alt+D"))) - QToolTip.add(self.bHelp,self.__tr("affichage documentation aster")) - - - def LBNouvCommandeClicked(self): - print "DPour.LBNouvCommandeClicked(): Not implemented yet" - - def LEFiltreTextChanged(self): - print "DPour.LEFiltreTextChanged(): Not implemented yet" - - def LEfiltreReturnPressed(self): - print "DPour.LEfiltreReturnPressed(): Not implemented yet" - - def BSupPressed(self): - print "DPour.BSupPressed(): Not implemented yet" - - def BOkPressed(self): - print "DPour.BOkPressed(): Not implemented yet" - - def BuildTabCommand(self): - print "DPour.BuildTabCommand(): Not implemented yet" - - def BNextPressed(self): - print "DPour.BNextPressed(): Not implemented yet" - - def BBrowsePressed(self): - print "DPour.BBrowsePressed(): Not implemented yet" - - def LENomFichReturnPressed(self): - print "DPour.LENomFichReturnPressed(): Not implemented yet" - - def __tr(self,s,c = None): - return qApp.translate("DPour",s,c) - - def __trUtf8(self,s,c = None): - return qApp.translate("DPour",s,c,QApplication.UnicodeUTF8) diff --git a/Ui/desRacine.py b/Ui/desRacine.py deleted file mode 100644 index 964b91c3..00000000 --- a/Ui/desRacine.py +++ /dev/null @@ -1,156 +0,0 @@ -# -*- coding: utf-8 -*- - -# Form implementation generated from reading ui file 'desRacine.ui' -# -# Created: Fri Dec 5 12:22:42 2008 -# by: The PyQt User Interface Compiler (pyuic) 3.16 -# -# WARNING! All changes made in this file will be lost! - - -from qt import * - - -class DRac(QWidget): - def __init__(self,parent = None,name = None,fl = 0): - QWidget.__init__(self,parent,name,fl) - - if not name: - self.setName("DRac") - - - DRacLayout = QGridLayout(self,1,1,11,6,"DRacLayout") - - self.textLabel1_4 = QLabel(self,"textLabel1_4") - - DRacLayout.addMultiCellWidget(self.textLabel1_4,0,0,0,1) - - self.textLabel1_4_2 = QLabel(self,"textLabel1_4_2") - - DRacLayout.addMultiCellWidget(self.textLabel1_4_2,0,1,2,3) - - self.buttonGroup1 = QButtonGroup(self,"buttonGroup1") - - self.RBalpha = QRadioButton(self.buttonGroup1,"RBalpha") - self.RBalpha.setGeometry(QRect(120,20,120,20)) - self.RBalpha.setChecked(1) - - self.RBGroupe = QRadioButton(self.buttonGroup1,"RBGroupe") - self.RBGroupe.setGeometry(QRect(10,20,100,20)) - - DRacLayout.addMultiCellWidget(self.buttonGroup1,1,1,0,1) - - self.bHelp = QPushButton(self,"bHelp") - self.bHelp.setAutoDefault(1) - - DRacLayout.addWidget(self.bHelp,3,3) - - self.bSup = QPushButton(self,"bSup") - self.bSup.setAutoDefault(1) - - DRacLayout.addWidget(self.bSup,3,0) - - self.bOk = QPushButton(self,"bOk") - self.bOk.setAutoDefault(1) - self.bOk.setDefault(1) - - DRacLayout.addMultiCellWidget(self.bOk,3,3,1,2) - - layout2 = QGridLayout(None,1,1,0,6,"layout2") - - self.BNext = QToolButton(self,"BNext") - self.BNext.setIconSet(QIconSet()) - - layout2.addWidget(self.BNext,0,2) - - self.LEFiltre = QLineEdit(self,"LEFiltre") - - layout2.addWidget(self.LEFiltre,0,1) - - self.LBRegles = QListBox(self,"LBRegles") - - layout2.addMultiCellWidget(self.LBRegles,0,1,3,3) - - self.textLabel6 = QLabel(self,"textLabel6") - - layout2.addWidget(self.textLabel6,0,0) - - self.LBNouvCommande = QListBox(self,"LBNouvCommande") - - layout2.addMultiCellWidget(self.LBNouvCommande,1,1,0,2) - - DRacLayout.addMultiCellLayout(layout2,2,2,0,3) - - self.languageChange() - - self.resize(QSize(523,513).expandedTo(self.minimumSizeHint())) - self.clearWState(Qt.WState_Polished) - - 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) - - self.setTabOrder(self.LEFiltre,self.LBNouvCommande) - self.setTabOrder(self.LBNouvCommande,self.RBalpha) - self.setTabOrder(self.RBalpha,self.bSup) - self.setTabOrder(self.bSup,self.bOk) - self.setTabOrder(self.bOk,self.bHelp) - self.setTabOrder(self.bHelp,self.LBRegles) - - - def languageChange(self): - self.setCaption(self.__tr("DMacro")) - self.textLabel1_4.setText(self.__tr("Commandes :")) - self.textLabel1_4_2.setText(self.__trUtf8("\x3c\x70\x20\x61\x6c\x69\x67\x6e\x3d\x22\x63\x65\x6e\x74\x65\x72\x22\x3e\x3c\x62\x3e\x3c\x75\x3e\x52\xc3\xa9\x67\x6c\x65\x73\x20\x3a\x3c\x2f\x75\x3e\x3c\x2f\x62\x3e\x3c\x2f\x70\x3e")) - self.buttonGroup1.setTitle(self.__tr("Affichage")) - self.RBalpha.setText(self.__trUtf8("\x61\x6c\x70\x68\x61\x62\xc3\xa9\x74\x69\x71\x75\x65")) - self.RBGroupe.setText(self.__tr("par groupe")) - self.bHelp.setText(self.__tr("&Documentation")) - self.bHelp.setAccel(QKeySequence(self.__tr("Alt+D"))) - QToolTip.add(self.bHelp,self.__tr("affichage documentation aster")) - self.bSup.setText(self.__tr("&Supprimer")) - self.bSup.setAccel(QKeySequence(self.__tr("Alt+S"))) - QToolTip.add(self.bSup,self.__tr("suppression du mot clef")) - self.bOk.setText(self.__tr("&Valider")) - self.bOk.setAccel(QKeySequence(self.__tr("Shift+A, Alt+A, Alt+A, Alt+A"))) - QToolTip.add(self.bOk,self.__tr("validation de la saisie")) - self.BNext.setText(self.__tr("Suivant")) - QToolTip.add(self.BNext,self.__tr("affiche la prochaine occurence")) - self.textLabel6.setText(self.__tr("Filtre")) - - - def LBNouvCommandeClicked(self): - print "DRac.LBNouvCommandeClicked(): Not implemented yet" - - def LEFiltreTextChanged(self): - print "DRac.LEFiltreTextChanged(): Not implemented yet" - - def LEfiltreReturnPressed(self): - print "DRac.LEfiltreReturnPressed(): Not implemented yet" - - def BSupPressed(self): - print "DRac.BSupPressed(): Not implemented yet" - - def BOkPressed(self): - print "DRac.BOkPressed(): Not implemented yet" - - def BuildTabCommand(self): - print "DRac.BuildTabCommand(): Not implemented yet" - - def BNextPressed(self): - print "DRac.BNextPressed(): Not implemented yet" - - def ViewDoc(self): - print "DRac.ViewDoc(): Not implemented yet" - - def __tr(self,s,c = None): - return qApp.translate("DRac",s,c) - - def __trUtf8(self,s,c = None): - return qApp.translate("DRac",s,c,QApplication.UnicodeUTF8) diff --git a/Ui/desSelectVal.py b/Ui/desSelectVal.py deleted file mode 100644 index 2aa34506..00000000 --- a/Ui/desSelectVal.py +++ /dev/null @@ -1,85 +0,0 @@ -# -*- coding: utf-8 -*- - -# Form implementation generated from reading ui file 'desSelectVal.ui' -# -# Created: Mon Dec 1 12:10:19 2008 -# by: The PyQt User Interface Compiler (pyuic) 3.16 -# -# WARNING! All changes made in this file will be lost! - - -from qt import * - - -class DSelVal(QWidget): - def __init__(self,parent = None,name = None,fl = 0): - QWidget.__init__(self,parent,name,fl) - - if not name: - self.setName("DSelVal") - - - DSelValLayout = QGridLayout(self,1,1,11,6,"DSelValLayout") - - self.TBtext = QTextBrowser(self,"TBtext") - - DSelValLayout.addMultiCellWidget(self.TBtext,0,0,0,1) - - self.BImportSel = QPushButton(self,"BImportSel") - - DSelValLayout.addWidget(self.BImportSel,1,1) - - self.BImportTout = QPushButton(self,"BImportTout") - - DSelValLayout.addWidget(self.BImportTout,2,1) - - self.BGSeparateur = QButtonGroup(self,"BGSeparateur") - self.BGSeparateur.setSizePolicy(QSizePolicy(QSizePolicy.MinimumExpanding,QSizePolicy.Preferred,0,0,self.BGSeparateur.sizePolicy().hasHeightForWidth())) - self.BGSeparateur.setMinimumSize(QSize(20,130)) - - self.Bvirgule = QRadioButton(self.BGSeparateur,"Bvirgule") - self.Bvirgule.setGeometry(QRect(12,52,104,22)) - - self.Bespace = QRadioButton(self.BGSeparateur,"Bespace") - self.Bespace.setGeometry(QRect(12,24,104,22)) - self.Bespace.setChecked(1) - - self.BpointVirgule = QRadioButton(self.BGSeparateur,"BpointVirgule") - self.BpointVirgule.setGeometry(QRect(12,80,104,22)) - - DSelValLayout.addMultiCellWidget(self.BGSeparateur,1,2,0,0) - - self.languageChange() - - self.resize(QSize(429,661).expandedTo(self.minimumSizeHint())) - self.clearWState(Qt.WState_Polished) - - self.connect(self.BGSeparateur,SIGNAL("clicked(int)"),self.SeparateurSelect) - self.connect(self.BImportSel,SIGNAL("clicked()"),self.BImportSelPressed) - self.connect(self.BImportTout,SIGNAL("clicked()"),self.BImportToutPressed) - - - def languageChange(self): - self.setCaption(self.__trUtf8("\x53\xc3\xa9\x6c\x65\x63\x74\x69\x6f\x6e\x20\x64\x65\x20\x76\x61\x6c\x65\x75\x72\x73")) - self.BImportSel.setText(self.__tr("Ajouter Selection")) - self.BImportTout.setText(self.__tr("Importer Tout")) - self.BGSeparateur.setTitle(self.__trUtf8("\x53\xc3\xa9\x70\x61\x72\x61\x74\x65\x75\x72")) - self.Bvirgule.setText(self.__tr("virgule")) - self.Bespace.setText(self.__tr("espace")) - self.BpointVirgule.setText(self.__tr("point-virgule")) - - - def SeparateurSelect(self): - print "DSelVal.SeparateurSelect(): Not implemented yet" - - def BImportSelPressed(self): - print "DSelVal.BImportSelPressed(): Not implemented yet" - - def BImportToutPressed(self): - print "DSelVal.BImportToutPressed(): Not implemented yet" - - def __tr(self,s,c = None): - return qApp.translate("DSelVal",s,c) - - def __trUtf8(self,s,c = None): - return qApp.translate("DSelVal",s,c,QApplication.UnicodeUTF8) diff --git a/Ui/desUniqueASSD.py b/Ui/desUniqueASSD.py deleted file mode 100644 index 9c87cdf7..00000000 --- a/Ui/desUniqueASSD.py +++ /dev/null @@ -1,106 +0,0 @@ -# -*- coding: utf-8 -*- - -# Form implementation generated from reading ui file 'desUniqueASSD.ui' -# -# Created: Mon Dec 1 12:10:19 2008 -# by: The PyQt User Interface Compiler (pyuic) 3.16 -# -# WARNING! All changes made in this file will be lost! - - -from qt import * - - -class DUnASSD(QWidget): - def __init__(self,parent = None,name = None,fl = 0): - QWidget.__init__(self,parent,name,fl) - - if not name: - self.setName("DUnASSD") - - self.setMinimumSize(QSize(20,0)) - - DUnASSDLayout = QGridLayout(self,1,1,11,6,"DUnASSDLayout") - - self.tabuniqueinto = QTabWidget(self,"tabuniqueinto") - - self.Widget8 = QWidget(self.tabuniqueinto,"Widget8") - Widget8Layout = QGridLayout(self.Widget8,1,1,11,6,"Widget8Layout") - - self.textLabel2 = QLabel(self.Widget8,"textLabel2") - self.textLabel2.setMinimumSize(QSize(436,50)) - - Widget8Layout.addWidget(self.textLabel2,0,0) - - self.listBoxASSD = QListBox(self.Widget8,"listBoxASSD") - - Widget8Layout.addWidget(self.listBoxASSD,1,0) - - self.Commentaire = QLabel(self.Widget8,"Commentaire") - self.Commentaire.setMinimumSize(QSize(380,30)) - - Widget8Layout.addWidget(self.Commentaire,2,0) - - layout2 = QHBoxLayout(None,0,6,"layout2") - - self.bSup = QPushButton(self.Widget8,"bSup") - self.bSup.setMinimumSize(QSize(0,30)) - self.bSup.setAutoDefault(1) - layout2.addWidget(self.bSup) - - self.bOk = QPushButton(self.Widget8,"bOk") - self.bOk.setMinimumSize(QSize(0,30)) - self.bOk.setAutoDefault(1) - self.bOk.setDefault(1) - layout2.addWidget(self.bOk) - - self.bHelp = QPushButton(self.Widget8,"bHelp") - self.bHelp.setMinimumSize(QSize(0,30)) - self.bHelp.setAutoDefault(1) - layout2.addWidget(self.bHelp) - - Widget8Layout.addLayout(layout2,3,0) - self.tabuniqueinto.insertTab(self.Widget8,QString.fromLatin1("")) - - DUnASSDLayout.addWidget(self.tabuniqueinto,0,0) - - self.languageChange() - - self.resize(QSize(502,480).expandedTo(self.minimumSizeHint())) - self.clearWState(Qt.WState_Polished) - - self.connect(self.bHelp,SIGNAL("clicked()"),self.ViewDoc) - self.connect(self.bOk,SIGNAL("clicked()"),self.BOkPressed) - self.connect(self.bSup,SIGNAL("clicked()"),self.BSupPressed) - - - def languageChange(self): - self.setCaption(self.__tr("DUnIn")) - self.textLabel2.setText(self.__trUtf8("\x3c\x66\x6f\x6e\x74\x20\x73\x69\x7a\x65\x3d\x22\x2b\x31\x22\x3e\x3c\x70\x20\x61\x6c\x69\x67\x6e\x3d\x22\x63\x65\x6e\x74\x65\x72\x22\x3e\x53\x74\x72\x75\x63\x74\x75\x72\x65\x73\x20\x64\x65\x20\x64\x6f\x6e\x6e\xc3\xa9\x65\x73\x20\x64\x75\x20\x74\x79\x70\x65\x0a\x72\x65\x71\x75\x69\x73\x20\x70\x61\x72\x20\x6c\x27\x6f\x62\x6a\x65\x74\x20\x63\x6f\x75\x72\x61\x6e\x74\x20\x3a\x3c\x2f\x70\x3e\x3c\x2f\x66\x6f\x6e\x74\x3e")) - self.Commentaire.setText(QString.null) - self.bSup.setText(self.__tr("&Supprimer")) - self.bSup.setAccel(QKeySequence(self.__tr("Alt+S"))) - QToolTip.add(self.bSup,self.__tr("suppression du mot clef")) - self.bOk.setText(self.__tr("&Valider")) - self.bOk.setAccel(QKeySequence(self.__tr("Shift+A, Alt+A, Alt+A, Alt+A"))) - QToolTip.add(self.bOk,self.__tr("validation de la saisie")) - self.bHelp.setText(self.__tr("&Documentation")) - self.bHelp.setAccel(QKeySequence(self.__tr("Alt+D"))) - QToolTip.add(self.bHelp,self.__tr("affichage documentation aster")) - self.tabuniqueinto.changeTab(self.Widget8,self.__tr("Saisir Valeur")) - - - def BSupPressed(self): - print "DUnASSD.BSupPressed(): Not implemented yet" - - def ViewDoc(self): - print "DUnASSD.ViewDoc(): Not implemented yet" - - def BOkPressed(self): - print "DUnASSD.BOkPressed(): Not implemented yet" - - def __tr(self,s,c = None): - return qApp.translate("DUnASSD",s,c) - - def __trUtf8(self,s,c = None): - return qApp.translate("DUnASSD",s,c,QApplication.UnicodeUTF8) diff --git a/Ui/desUniqueBase.py b/Ui/desUniqueBase.py deleted file mode 100644 index e025a1af..00000000 --- a/Ui/desUniqueBase.py +++ /dev/null @@ -1,174 +0,0 @@ -# -*- coding: utf-8 -*- - -# Form implementation generated from reading ui file 'desUniqueBase.ui' -# -# Created: Mon Dec 1 12:10:19 2008 -# by: The PyQt User Interface Compiler (pyuic) 3.16 -# -# WARNING! All changes made in this file will be lost! - - -from qt import * - -image0_data = \ - "\x89\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d" \ - "\x49\x48\x44\x52\x00\x00\x00\x14\x00\x00\x00\x14" \ - "\x08\x06\x00\x00\x00\x8d\x89\x1d\x0d\x00\x00\x00" \ - "\x8d\x49\x44\x41\x54\x38\x8d\xb5\xd3\xdb\x0d\x80" \ - "\x20\x0c\x05\xd0\x5b\xe3\x3a\x8e\xe2\x4c\x86\x99" \ - "\x18\x85\x81\xea\x87\xc6\xc4\xd2\x56\x28\xd8\x84" \ - "\x0f\x5e\x27\x17\x50\x02\x63\x6a\x2d\x73\xb9\x1f" \ - "\xc0\xb5\x69\x15\x39\x17\xc3\xa0\x7e\xf0\xae\x9c" \ - "\xca\xab\xbf\x1f\x5b\xb5\xa6\xed\xc8\x0c\x02\x83" \ - "\x34\x20\x06\x02\x00\x81\x65\xc2\x38\x28\x30\x2f" \ - "\xa9\x77\xdd\x36\xc6\xa0\x67\xa7\x78\x14\x3f\xa1" \ - "\x85\xf9\x5b\xe6\x61\x76\xc2\x20\xa6\x83\x03\x58" \ - "\x0d\x0e\x62\x7a\xc2\x01\xcc\x04\xa3\xd8\x55\x2c" \ - "\x1a\xc0\x39\x95\xab\x27\xe7\x5a\x9a\x3e\x18\x47" \ - "\xdd\xef\x30\x72\xec\xef\x5f\xaf\xb3\x4e\xcb\x01" \ - "\x65\xf7\x82\x6b\x45\x7b\x00\x00\x00\x00\x49\x45" \ - "\x4e\x44\xae\x42\x60\x82" - -class DUnBase(QWidget): - def __init__(self,parent = None,name = None,fl = 0): - QWidget.__init__(self,parent,name,fl) - - self.image0 = QPixmap() - self.image0.loadFromData(image0_data,"PNG") - if not name: - self.setName("DUnBase") - - self.setMinimumSize(QSize(20,0)) - - DUnBaseLayout = QGridLayout(self,1,1,11,6,"DUnBaseLayout") - - self.tabuniqueinto = QTabWidget(self,"tabuniqueinto") - - self.Widget8 = QWidget(self.tabuniqueinto,"Widget8") - Widget8Layout = QGridLayout(self.Widget8,1,1,11,6,"Widget8Layout") - - layout2 = QHBoxLayout(None,0,6,"layout2") - - self.textLabel2 = QLabel(self.Widget8,"textLabel2") - layout2.addWidget(self.textLabel2) - - self.lineEditVal = QLineEdit(self.Widget8,"lineEditVal") - self.lineEditVal.setMinimumSize(QSize(290,50)) - layout2.addWidget(self.lineEditVal) - - Widget8Layout.addMultiCellLayout(layout2,1,1,0,2) - spacer1 = QSpacerItem(288,21,QSizePolicy.Expanding,QSizePolicy.Minimum) - Widget8Layout.addMultiCell(spacer1,0,0,0,1) - - self.bParametres = QPushButton(self.Widget8,"bParametres") - self.bParametres.setSizePolicy(QSizePolicy(QSizePolicy.Fixed,QSizePolicy.Fixed,0,0,self.bParametres.sizePolicy().hasHeightForWidth())) - self.bParametres.setMinimumSize(QSize(140,30)) - - Widget8Layout.addWidget(self.bParametres,0,2) - - self.bSup = QPushButton(self.Widget8,"bSup") - self.bSup.setMinimumSize(QSize(0,30)) - self.bSup.setAutoDefault(1) - - Widget8Layout.addWidget(self.bSup,5,0) - - self.bOk = QPushButton(self.Widget8,"bOk") - self.bOk.setMinimumSize(QSize(0,30)) - self.bOk.setAutoDefault(1) - self.bOk.setDefault(1) - - Widget8Layout.addWidget(self.bOk,5,1) - - self.bHelp = QPushButton(self.Widget8,"bHelp") - self.bHelp.setMinimumSize(QSize(0,30)) - self.bHelp.setAutoDefault(1) - - Widget8Layout.addWidget(self.bHelp,5,2) - spacer4 = QSpacerItem(41,112,QSizePolicy.Minimum,QSizePolicy.Expanding) - Widget8Layout.addItem(spacer4,2,1) - spacer3 = QSpacerItem(21,112,QSizePolicy.Minimum,QSizePolicy.Expanding) - Widget8Layout.addItem(spacer3,4,1) - - self.Commentaire = QLabel(self.Widget8,"Commentaire") - self.Commentaire.setMinimumSize(QSize(430,40)) - - Widget8Layout.addMultiCellWidget(self.Commentaire,3,3,0,2) - - self.BView2D = QPushButton(self.Widget8,"BView2D") - self.BView2D.setMinimumSize(QSize(110,40)) - - Widget8Layout.addWidget(self.BView2D,2,2) - - self.BSalome = QPushButton(self.Widget8,"BSalome") - self.BSalome.setMinimumSize(QSize(50,40)) - self.BSalome.setIconSet(QIconSet(self.image0)) - - Widget8Layout.addWidget(self.BSalome,2,0) - self.tabuniqueinto.insertTab(self.Widget8,QString.fromLatin1("")) - - DUnBaseLayout.addWidget(self.tabuniqueinto,0,0) - - self.languageChange() - - self.resize(QSize(522,480).expandedTo(self.minimumSizeHint())) - self.clearWState(Qt.WState_Polished) - - 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.setTabOrder(self.lineEditVal,self.tabuniqueinto) - self.setTabOrder(self.tabuniqueinto,self.bParametres) - self.setTabOrder(self.bParametres,self.bSup) - self.setTabOrder(self.bSup,self.bOk) - self.setTabOrder(self.bOk,self.bHelp) - self.setTabOrder(self.bHelp,self.BView2D) - self.setTabOrder(self.BView2D,self.BSalome) - - - def languageChange(self): - self.setCaption(self.__tr("DUnIn")) - self.textLabel2.setText(self.__tr("

Valeur:

")) - self.bParametres.setText(self.__tr("Parametres")) - self.bSup.setText(self.__tr("&Supprimer")) - self.bSup.setAccel(QKeySequence(self.__tr("Alt+S"))) - QToolTip.add(self.bSup,self.__tr("suppression du mot clef")) - self.bOk.setText(self.__tr("&Valider")) - self.bOk.setAccel(QKeySequence(self.__tr("Shift+A, Alt+A, Alt+A, Alt+A"))) - QToolTip.add(self.bOk,self.__tr("validation de la saisie")) - self.bHelp.setText(self.__tr("&Documentation")) - self.bHelp.setAccel(QKeySequence(self.__tr("Alt+D"))) - QToolTip.add(self.bHelp,self.__tr("affichage documentation aster")) - self.Commentaire.setText(QString.null) - self.BView2D.setText(self.__tr("Visualiser")) - self.BSalome.setText(QString.null) - self.tabuniqueinto.changeTab(self.Widget8,self.__tr("Saisir Valeur")) - - - def BSupPressed(self): - print "DUnBase.BSupPressed(): Not implemented yet" - - def ViewDoc(self): - print "DUnBase.ViewDoc(): Not implemented yet" - - def BOk2Pressed(self): - print "DUnBase.BOk2Pressed(): Not implemented yet" - - def BParametresPressed(self): - print "DUnBase.BParametresPressed(): Not implemented yet" - - def LEValeurPressed(self): - print "DUnBase.LEValeurPressed(): Not implemented yet" - - def BSalomePressed(self): - print "DUnBase.BSalomePressed(): Not implemented yet" - - def BView2DPressed(self): - print "DUnBase.BView2DPressed(): Not implemented yet" - - def __tr(self,s,c = None): - return qApp.translate("DUnBase",s,c) diff --git a/Ui/desUniqueComp.py b/Ui/desUniqueComp.py deleted file mode 100644 index 2f035424..00000000 --- a/Ui/desUniqueComp.py +++ /dev/null @@ -1,152 +0,0 @@ -# -*- coding: utf-8 -*- - -# Form implementation generated from reading ui file 'desUniqueComp.ui' -# -# Created: Mon Dec 1 12:10:19 2008 -# by: The PyQt User Interface Compiler (pyuic) 3.16 -# -# WARNING! All changes made in this file will be lost! - - -from qt import * - - -class DUnComp(QWidget): - def __init__(self,parent = None,name = None,fl = 0): - QWidget.__init__(self,parent,name,fl) - - if not name: - self.setName("DUnComp") - - self.setMinimumSize(QSize(30,0)) - - DUnCompLayout = QGridLayout(self,1,1,11,6,"DUnCompLayout") - - self.tabuniqueinto = QTabWidget(self,"tabuniqueinto") - - self.Widget8 = QWidget(self.tabuniqueinto,"Widget8") - Widget8Layout = QGridLayout(self.Widget8,1,1,11,6,"Widget8Layout") - - layout3 = QVBoxLayout(None,0,6,"layout3") - - self.textLabel1 = QLabel(self.Widget8,"textLabel1") - layout3.addWidget(self.textLabel1) - - self.LEcomp = QLineEdit(self.Widget8,"LEcomp") - self.LEcomp.setMinimumSize(QSize(390,40)) - layout3.addWidget(self.LEcomp) - - Widget8Layout.addMultiCellLayout(layout3,0,0,0,1) - - self.Commentaire = QLabel(self.Widget8,"Commentaire") - - Widget8Layout.addMultiCellWidget(self.Commentaire,5,5,0,1) - - self.LEReel = QLineEdit(self.Widget8,"LEReel") - self.LEReel.setMinimumSize(QSize(190,40)) - - Widget8Layout.addWidget(self.LEReel,3,0) - - self.LEImag = QLineEdit(self.Widget8,"LEImag") - self.LEImag.setMinimumSize(QSize(190,40)) - - Widget8Layout.addWidget(self.LEImag,3,1) - - self.buttonGroup1 = QButtonGroup(self.Widget8,"buttonGroup1") - - self.RBRI = QRadioButton(self.buttonGroup1,"RBRI") - self.RBRI.setGeometry(QRect(20,40,335,20)) - - self.RBMP = QRadioButton(self.buttonGroup1,"RBMP") - self.RBMP.setGeometry(QRect(20,20,335,20)) - - Widget8Layout.addMultiCellWidget(self.buttonGroup1,2,2,0,1) - spacer3 = QSpacerItem(20,41,QSizePolicy.Minimum,QSizePolicy.Expanding) - Widget8Layout.addItem(spacer3,1,0) - spacer4 = QSpacerItem(20,41,QSizePolicy.Minimum,QSizePolicy.Expanding) - Widget8Layout.addItem(spacer4,4,0) - - layout2 = QHBoxLayout(None,0,6,"layout2") - - self.bSup = QPushButton(self.Widget8,"bSup") - self.bSup.setAutoDefault(1) - layout2.addWidget(self.bSup) - - self.bOk = QPushButton(self.Widget8,"bOk") - self.bOk.setAutoDefault(1) - self.bOk.setDefault(1) - layout2.addWidget(self.bOk) - - self.bHelp = QPushButton(self.Widget8,"bHelp") - self.bHelp.setAutoDefault(1) - layout2.addWidget(self.bHelp) - - Widget8Layout.addMultiCellLayout(layout2,6,6,0,1) - self.tabuniqueinto.insertTab(self.Widget8,QString.fromLatin1("")) - - DUnCompLayout.addWidget(self.tabuniqueinto,0,0) - - self.languageChange() - - self.resize(QSize(511,480).expandedTo(self.minimumSizeHint())) - self.clearWState(Qt.WState_Polished) - - self.connect(self.bHelp,SIGNAL("clicked()"),self.ViewDoc) - self.connect(self.bOk,SIGNAL("clicked()"),self.BOkPressed) - self.connect(self.bSup,SIGNAL("clicked()"),self.BSupPressed) - self.connect(self.LEImag,SIGNAL("returnPressed()"),self.LEImagRPressed) - self.connect(self.LEReel,SIGNAL("returnPressed()"),self.LEReelRPressed) - self.connect(self.LEcomp,SIGNAL("returnPressed()"),self.LEcompRPressed) - - self.setTabOrder(self.LEcomp,self.LEReel) - self.setTabOrder(self.LEReel,self.LEImag) - self.setTabOrder(self.LEImag,self.tabuniqueinto) - self.setTabOrder(self.tabuniqueinto,self.RBRI) - self.setTabOrder(self.RBRI,self.RBMP) - self.setTabOrder(self.RBMP,self.bSup) - self.setTabOrder(self.bSup,self.bOk) - self.setTabOrder(self.bOk,self.bHelp) - - - def languageChange(self): - self.setCaption(self.__tr("DUnComp")) - self.textLabel1.setText(self.__tr("Complexe de la forme : a+bj")) - self.Commentaire.setText(self.__tr("Un complexe est attendu")) - self.buttonGroup1.setTitle(self.__tr("OU")) - self.RBRI.setText(self.__trUtf8("\x52\x49\x20\x20\x20\x3a\x20\x52\xc3\xa9\x65\x6c\x09\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x49\x6d\x61\x67\x69\x6e\x61\x69\x72\x65")) - self.RBMP.setText(self.__tr("MP : Module Phase")) - self.bSup.setText(self.__tr("&Supprimer")) - self.bSup.setAccel(QKeySequence(self.__tr("Alt+S"))) - QToolTip.add(self.bSup,self.__tr("suppression du mot clef")) - self.bOk.setText(self.__tr("&Valider")) - self.bOk.setAccel(QKeySequence(self.__tr("Shift+A, Alt+A, Alt+A, Alt+A"))) - QToolTip.add(self.bOk,self.__tr("validation de la saisie")) - self.bHelp.setText(self.__tr("&Documentation")) - self.bHelp.setAccel(QKeySequence(self.__tr("Alt+D"))) - QToolTip.add(self.bHelp,self.__tr("affichage documentation aster")) - self.tabuniqueinto.changeTab(self.Widget8,self.__tr("Saisir Valeur")) - - - def BSupPressed(self): - print "DUnComp.BSupPressed(): Not implemented yet" - - def ViewDoc(self): - print "DUnComp.ViewDoc(): Not implemented yet" - - def BOkPressed(self): - print "DUnComp.BOkPressed(): Not implemented yet" - - def LEImagRPressed(self): - print "DUnComp.LEImagRPressed(): Not implemented yet" - - def LEReelRPressed(self): - print "DUnComp.LEReelRPressed(): Not implemented yet" - - def LEcompRPressed(self): - print "DUnComp.LEcompRPressed(): Not implemented yet" - - def __tr(self,s,c = None): - return qApp.translate("DUnComp",s,c) - - def __trUtf8(self,s,c = None): - return qApp.translate("DUnComp",s,c,QApplication.UnicodeUTF8) diff --git a/Ui/desUniqueInto.py b/Ui/desUniqueInto.py deleted file mode 100644 index 244f6a40..00000000 --- a/Ui/desUniqueInto.py +++ /dev/null @@ -1,102 +0,0 @@ -# -*- coding: utf-8 -*- - -# Form implementation generated from reading ui file 'desUniqueInto.ui' -# -# Created: Mon Dec 1 12:10:19 2008 -# by: The PyQt User Interface Compiler (pyuic) 3.16 -# -# WARNING! All changes made in this file will be lost! - - -from qt import * - - -class DUnIn(QWidget): - def __init__(self,parent = None,name = None,fl = 0): - QWidget.__init__(self,parent,name,fl) - - if not name: - self.setName("DUnIn") - - self.setMinimumSize(QSize(30,0)) - - DUnInLayout = QGridLayout(self,1,1,11,6,"DUnInLayout") - - self.tabuniqueinto = QTabWidget(self,"tabuniqueinto") - - self.Widget8 = QWidget(self.tabuniqueinto,"Widget8") - Widget8Layout = QGridLayout(self.Widget8,1,1,11,6,"Widget8Layout") - - self.Commentaire = QLabel(self.Widget8,"Commentaire") - self.Commentaire.setMinimumSize(QSize(420,30)) - - Widget8Layout.addWidget(self.Commentaire,2,0) - - layout2 = QHBoxLayout(None,0,6,"layout2") - - self.bSup = QPushButton(self.Widget8,"bSup") - self.bSup.setMinimumSize(QSize(0,30)) - self.bSup.setAutoDefault(1) - layout2.addWidget(self.bSup) - - self.bOk = QPushButton(self.Widget8,"bOk") - self.bOk.setMinimumSize(QSize(0,30)) - self.bOk.setAutoDefault(1) - self.bOk.setDefault(1) - layout2.addWidget(self.bOk) - - self.bHelp = QPushButton(self.Widget8,"bHelp") - self.bHelp.setMinimumSize(QSize(0,30)) - self.bHelp.setAutoDefault(1) - layout2.addWidget(self.bHelp) - - Widget8Layout.addLayout(layout2,3,0) - - self.listBoxVal = QListBox(self.Widget8,"listBoxVal") - - Widget8Layout.addWidget(self.listBoxVal,1,0) - - self.textLabel2 = QLabel(self.Widget8,"textLabel2") - - Widget8Layout.addWidget(self.textLabel2,0,0) - self.tabuniqueinto.insertTab(self.Widget8,QString.fromLatin1("")) - - DUnInLayout.addWidget(self.tabuniqueinto,0,0) - - self.languageChange() - - self.resize(QSize(502,480).expandedTo(self.minimumSizeHint())) - self.clearWState(Qt.WState_Polished) - - self.connect(self.bHelp,SIGNAL("clicked()"),self.ViewDoc) - self.connect(self.bOk,SIGNAL("clicked()"),self.BOkPressed) - self.connect(self.bSup,SIGNAL("clicked()"),self.BSupPressed) - - - def languageChange(self): - self.setCaption(self.__tr("DUnIn")) - self.Commentaire.setText(QString.null) - self.bSup.setText(self.__tr("&Supprimer")) - self.bSup.setAccel(QKeySequence(self.__tr("Alt+S"))) - QToolTip.add(self.bSup,self.__tr("suppression du mot clef")) - self.bOk.setText(self.__tr("&Valider")) - self.bOk.setAccel(QKeySequence(self.__tr("Shift+A, Alt+A, Alt+A, Alt+A"))) - QToolTip.add(self.bOk,self.__tr("validation de la saisie")) - self.bHelp.setText(self.__tr("&Documentation")) - self.bHelp.setAccel(QKeySequence(self.__tr("Alt+D"))) - QToolTip.add(self.bHelp,self.__tr("affichage documentation aster")) - self.textLabel2.setText(self.__tr("

Valeurs possibles

")) - self.tabuniqueinto.changeTab(self.Widget8,self.__tr("Saisir Valeur")) - - - def BSupPressed(self): - print "DUnIn.BSupPressed(): Not implemented yet" - - def ViewDoc(self): - print "DUnIn.ViewDoc(): Not implemented yet" - - def BOkPressed(self): - print "DUnIn.BOkPressed(): Not implemented yet" - - def __tr(self,s,c = None): - return qApp.translate("DUnIn",s,c) diff --git a/Ui/desUniqueSDCO.py b/Ui/desUniqueSDCO.py deleted file mode 100644 index c393af3e..00000000 --- a/Ui/desUniqueSDCO.py +++ /dev/null @@ -1,122 +0,0 @@ -# -*- coding: utf-8 -*- - -# Form implementation generated from reading ui file 'desUniqueSDCO.ui' -# -# Created: Mon Dec 1 12:10:19 2008 -# by: The PyQt User Interface Compiler (pyuic) 3.16 -# -# WARNING! All changes made in this file will be lost! - - -from qt import * - - -class DUnSDCO(QWidget): - def __init__(self,parent = None,name = None,fl = 0): - QWidget.__init__(self,parent,name,fl) - - if not name: - self.setName("DUnSDCO") - - self.setMinimumSize(QSize(20,0)) - - DUnSDCOLayout = QGridLayout(self,1,1,11,6,"DUnSDCOLayout") - - self.tabuniqueinto = QTabWidget(self,"tabuniqueinto") - - self.Widget8 = QWidget(self.tabuniqueinto,"Widget8") - Widget8Layout = QGridLayout(self.Widget8,1,1,11,6,"Widget8Layout") - - self.bSup = QPushButton(self.Widget8,"bSup") - self.bSup.setMinimumSize(QSize(0,30)) - self.bSup.setAutoDefault(1) - - Widget8Layout.addWidget(self.bSup,4,0) - - self.bOk = QPushButton(self.Widget8,"bOk") - self.bOk.setMinimumSize(QSize(0,30)) - self.bOk.setAutoDefault(1) - self.bOk.setDefault(1) - - Widget8Layout.addWidget(self.bOk,4,1) - - self.bHelp = QPushButton(self.Widget8,"bHelp") - self.bHelp.setMinimumSize(QSize(0,30)) - self.bHelp.setAutoDefault(1) - - Widget8Layout.addWidget(self.bHelp,4,2) - - self.Commentaire = QLabel(self.Widget8,"Commentaire") - self.Commentaire.setMinimumSize(QSize(311,30)) - - Widget8Layout.addMultiCellWidget(self.Commentaire,3,3,0,2) - - self.textLabel2_2 = QLabel(self.Widget8,"textLabel2_2") - - Widget8Layout.addMultiCellWidget(self.textLabel2_2,0,0,0,2) - - self.LESDCO = QLineEdit(self.Widget8,"LESDCO") - self.LESDCO.setMinimumSize(QSize(300,40)) - - Widget8Layout.addMultiCellWidget(self.LESDCO,1,1,0,2) - - self.textLabel2 = QLabel(self.Widget8,"textLabel2") - - Widget8Layout.addMultiCellWidget(self.textLabel2,2,2,0,2) - self.tabuniqueinto.insertTab(self.Widget8,QString.fromLatin1("")) - - DUnSDCOLayout.addWidget(self.tabuniqueinto,0,0) - - self.languageChange() - - self.resize(QSize(473,480).expandedTo(self.minimumSizeHint())) - self.clearWState(Qt.WState_Polished) - - self.connect(self.bHelp,SIGNAL("clicked()"),self.ViewDoc) - self.connect(self.bOk,SIGNAL("clicked()"),self.BOkPressed) - self.connect(self.bSup,SIGNAL("clicked()"),self.BSupPressed) - self.connect(self.LESDCO,SIGNAL("returnPressed()"),self.LESDCOReturnPressed) - - self.setTabOrder(self.LESDCO,self.tabuniqueinto) - self.setTabOrder(self.tabuniqueinto,self.bSup) - self.setTabOrder(self.bSup,self.bOk) - self.setTabOrder(self.bOk,self.bHelp) - - - def languageChange(self): - self.setCaption(self.__tr("DUnIn")) - self.bSup.setText(self.__tr("&Supprimer")) - self.bSup.setAccel(QKeySequence(self.__tr("Alt+S"))) - QToolTip.add(self.bSup,self.__tr("suppression du mot clef")) - self.bOk.setText(self.__tr("&Valider")) - self.bOk.setAccel(QKeySequence(self.__tr("Shift+A, Alt+A, Alt+A, Alt+A"))) - QToolTip.add(self.bOk,self.__tr("validation de la saisie")) - self.bHelp.setText(self.__tr("&Documentation")) - self.bHelp.setAccel(QKeySequence(self.__tr("Alt+D"))) - QToolTip.add(self.bHelp,self.__tr("affichage documentation aster")) - self.Commentaire.setText(QString.null) - self.textLabel2_2.setText(self.__tr("

Nom du nouveau concept :

")) - self.textLabel2.setText(self.__tr("Un objet de type CO est attendu")) - self.tabuniqueinto.changeTab(self.Widget8,self.__tr("Saisir Valeur")) - - - def BSupPressed(self): - print "DUnSDCO.BSupPressed(): Not implemented yet" - - def ViewDoc(self): - print "DUnSDCO.ViewDoc(): Not implemented yet" - - def BOkPressed(self): - print "DUnSDCO.BOkPressed(): Not implemented yet" - - def LESDCOReturnPressed(self): - print "DUnSDCO.LESDCOReturnPressed(): Not implemented yet" - - def BOuiPressed(self): - print "DUnSDCO.BOuiPressed(): Not implemented yet" - - def BNonPressed(self): - print "DUnSDCO.BNonPressed(): Not implemented yet" - - def __tr(self,s,c = None): - return qApp.translate("DUnSDCO",s,c) diff --git a/Ui/desUniqueSDCOInto.py b/Ui/desUniqueSDCOInto.py deleted file mode 100644 index 84b4dc15..00000000 --- a/Ui/desUniqueSDCOInto.py +++ /dev/null @@ -1,151 +0,0 @@ -# -*- coding: utf-8 -*- - -# Form implementation generated from reading ui file 'desUniqueSDCOInto.ui' -# -# Created: Mon Dec 1 12:10:19 2008 -# by: The PyQt User Interface Compiler (pyuic) 3.16 -# -# WARNING! All changes made in this file will be lost! - - -from qt import * - - -class DUnSDCOInto(QWidget): - def __init__(self,parent = None,name = None,fl = 0): - QWidget.__init__(self,parent,name,fl) - - if not name: - self.setName("DUnSDCOInto") - - self.setMinimumSize(QSize(30,0)) - - DUnSDCOIntoLayout = QGridLayout(self,1,1,11,6,"DUnSDCOIntoLayout") - - self.tabuniqueinto = QTabWidget(self,"tabuniqueinto") - - self.Widget8 = QWidget(self.tabuniqueinto,"Widget8") - Widget8Layout = QGridLayout(self.Widget8,1,1,11,6,"Widget8Layout") - - self.textLabel2 = QLabel(self.Widget8,"textLabel2") - - Widget8Layout.addMultiCellWidget(self.textLabel2,0,0,0,2) - - self.LBSDCO = QListBox(self.Widget8,"LBSDCO") - - Widget8Layout.addMultiCellWidget(self.LBSDCO,1,1,0,2) - - self.textLabel2_3 = QLabel(self.Widget8,"textLabel2_3") - - Widget8Layout.addMultiCellWidget(self.textLabel2_3,5,5,0,2) - - self.Commentaire = QLabel(self.Widget8,"Commentaire") - self.Commentaire.setMinimumSize(QSize(420,30)) - - Widget8Layout.addMultiCellWidget(self.Commentaire,4,4,0,2) - - layout3 = QGridLayout(None,1,1,0,6,"layout3") - - Widget8Layout.addMultiCellLayout(layout3,2,2,0,2) - - layout6 = QHBoxLayout(None,0,6,"layout6") - - self.frame3 = QFrame(self.Widget8,"frame3") - self.frame3.setMinimumSize(QSize(190,50)) - self.frame3.setFrameShape(QFrame.StyledPanel) - self.frame3.setFrameShadow(QFrame.Raised) - - self.textLabel2_2 = QLabel(self.frame3,"textLabel2_2") - self.textLabel2_2.setGeometry(QRect(20,10,150,30)) - layout6.addWidget(self.frame3) - - self.LESDCO = QLineEdit(self.Widget8,"LESDCO") - self.LESDCO.setMinimumSize(QSize(220,40)) - layout6.addWidget(self.LESDCO) - - Widget8Layout.addMultiCellLayout(layout6,3,3,0,2) - - self.bSup = QPushButton(self.Widget8,"bSup") - self.bSup.setMinimumSize(QSize(0,30)) - self.bSup.setAutoDefault(1) - - Widget8Layout.addWidget(self.bSup,6,0) - - self.bOk = QPushButton(self.Widget8,"bOk") - self.bOk.setMinimumSize(QSize(0,30)) - self.bOk.setAutoDefault(1) - self.bOk.setDefault(1) - - Widget8Layout.addWidget(self.bOk,6,1) - - self.bHelp = QPushButton(self.Widget8,"bHelp") - self.bHelp.setMinimumSize(QSize(0,30)) - self.bHelp.setAutoDefault(1) - - Widget8Layout.addWidget(self.bHelp,6,2) - self.tabuniqueinto.insertTab(self.Widget8,QString.fromLatin1("")) - - DUnSDCOIntoLayout.addWidget(self.tabuniqueinto,0,0) - - self.languageChange() - - self.resize(QSize(541,480).expandedTo(self.minimumSizeHint())) - self.clearWState(Qt.WState_Polished) - - self.connect(self.bHelp,SIGNAL("clicked()"),self.ViewDoc) - self.connect(self.bOk,SIGNAL("clicked()"),self.BOkPressed) - self.connect(self.bSup,SIGNAL("clicked()"),self.BSupPressed) - self.connect(self.LBSDCO,SIGNAL("clicked(QListBoxItem*)"),self.LBSDCOReturnPressed) - self.connect(self.LESDCO,SIGNAL("returnPressed()"),self.LESDCOReturnPressed) - - self.setTabOrder(self.LESDCO,self.LBSDCO) - self.setTabOrder(self.LBSDCO,self.tabuniqueinto) - self.setTabOrder(self.tabuniqueinto,self.bSup) - self.setTabOrder(self.bSup,self.bOk) - self.setTabOrder(self.bOk,self.bHelp) - - - def languageChange(self): - self.setCaption(self.__tr("DUnIn")) - self.textLabel2.setText(self.__trUtf8("\x3c\x66\x6f\x6e\x74\x20\x73\x69\x7a\x65\x3d\x22\x2b\x31\x22\x3e\x3c\x75\x3e\x53\x74\x72\x75\x63\x74\x75\x72\x65\x73\x20\x64\x65\x20\x64\x6f\x6e\x6e\xc3\xa9\x65\x73\x20\x64\x75\x20\x74\x79\x70\x65\x20\x72\x65\x71\x75\x69\x73\x20\x70\x61\x72\x20\x6c\x27\x6f\x62\x6a\x65\x74\x20\x63\x6f\x75\x72\x61\x6e\x74\x20\x3c\x2f\x75\x3e\x3c\x2f\x66\x6f\x6e\x74\x3e")) - self.textLabel2_3.setText(self.__tr("Un objet de type CO est attendu")) - self.Commentaire.setText(QString.null) - self.textLabel2_2.setText(self.__tr(" Nom concept : ")) - self.bSup.setText(self.__tr("&Supprimer")) - self.bSup.setAccel(QKeySequence(self.__tr("Alt+S"))) - QToolTip.add(self.bSup,self.__tr("suppression du mot clef")) - self.bOk.setText(self.__tr("&Valider")) - self.bOk.setAccel(QKeySequence(self.__tr("Shift+A, Alt+A, Alt+A, Alt+A"))) - QToolTip.add(self.bOk,self.__tr("validation de la saisie")) - self.bHelp.setText(self.__tr("&Documentation")) - self.bHelp.setAccel(QKeySequence(self.__tr("Alt+D"))) - QToolTip.add(self.bHelp,self.__tr("affichage documentation aster")) - self.tabuniqueinto.changeTab(self.Widget8,self.__tr("Saisir Valeur")) - - - def BSupPressed(self): - print "DUnSDCOInto.BSupPressed(): Not implemented yet" - - def ViewDoc(self): - print "DUnSDCOInto.ViewDoc(): Not implemented yet" - - def BOkPressed(self): - print "DUnSDCOInto.BOkPressed(): Not implemented yet" - - def LESDCOReturnPressed(self): - print "DUnSDCOInto.LESDCOReturnPressed(): Not implemented yet" - - def BOuiPressed(self): - print "DUnSDCOInto.BOuiPressed(): Not implemented yet" - - def BNonPressed(self): - print "DUnSDCOInto.BNonPressed(): Not implemented yet" - - def LBSDCOReturnPressed(self): - print "DUnSDCOInto.LBSDCOReturnPressed(): Not implemented yet" - - def __tr(self,s,c = None): - return qApp.translate("DUnSDCOInto",s,c) - - def __trUtf8(self,s,c = None): - return qApp.translate("DUnSDCOInto",s,c,QApplication.UnicodeUTF8) diff --git a/Ui/desVisu.py b/Ui/desVisu.py deleted file mode 100644 index 17e1441e..00000000 --- a/Ui/desVisu.py +++ /dev/null @@ -1,39 +0,0 @@ -# -*- coding: utf-8 -*- - -# Form implementation generated from reading ui file 'desVisu.ui' -# -# Created: Mon Dec 1 10:32:43 2008 -# by: The PyQt User Interface Compiler (pyuic) 3.16 -# -# WARNING! All changes made in this file will be lost! - - -from qt import * - - -class DVisu(QWidget): - def __init__(self,parent = None,name = None,fl = 0): - QWidget.__init__(self,parent,name,fl) - - if not name: - self.setName("DVisu") - - - DVisuLayout = QGridLayout(self,1,1,11,6,"DVisuLayout") - - self.TB = QTextBrowser(self,"TB") - - DVisuLayout.addWidget(self.TB,0,0) - - self.languageChange() - - self.resize(QSize(501,394).expandedTo(self.minimumSizeHint())) - self.clearWState(Qt.WState_Polished) - - - def languageChange(self): - self.setCaption(self.__tr("Visualisation Include Materiau")) - - - def __tr(self,s,c = None): - return qApp.translate("DVisu",s,c) diff --git a/Ui/myMain.py b/Ui/myMain.py deleted file mode 100644 index d4cbd0b6..00000000 --- a/Ui/myMain.py +++ /dev/null @@ -1,560 +0,0 @@ -# -*- coding: utf-8 -*- - -# Form implementation generated from reading ui file 'myMain.ui' -# -# Created: Mon Dec 1 10:32:43 2008 -# by: The PyQt User Interface Compiler (pyuic) 3.16 -# -# WARNING! All changes made in this file will be lost! - - -from qt import * - -image0_data = \ - "\x89\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d" \ - "\x49\x48\x44\x52\x00\x00\x00\x16\x00\x00\x00\x16" \ - "\x08\x06\x00\x00\x00\xc4\xb4\x6c\x3b\x00\x00\x00" \ - "\x74\x49\x44\x41\x54\x38\x8d\xed\xd5\xc1\x09\xc0" \ - "\x20\x0c\x05\xd0\x6f\xe9\x36\x81\x2c\x10\xb2\xff" \ - "\xdd\x85\xd2\x53\x85\xb6\xa9\x91\x48\x0f\x05\x3f" \ - "\x08\x1a\xf0\x29\x12\x10\xf8\x28\xc5\xa9\xd9\xc4" \ - "\xde\x96\xcd\x2b\x9a\xd9\xeb\x00\x00\x66\x0e\x2f" \ - "\xe0\xc2\x51\x98\x39\xc4\xf7\x0c\x4c\x44\x6d\x5e" \ - "\x6b\x35\x38\xcf\x92\x82\x45\xe4\xb2\xf6\xf0\x14" \ - "\xac\xaa\x8f\xda\x1d\x4f\xc1\xa5\x74\x1b\x22\x07" \ - "\x9f\x9d\x11\x1d\x96\xea\x8a\x91\x2c\x78\xc1\x0b" \ - "\xee\x64\xe6\x07\x19\xf5\x7e\x92\x03\xad\x45\x2a" \ - "\x04\xcc\x4e\x50\x20\x00\x00\x00\x00\x49\x45\x4e" \ - "\x44\xae\x42\x60\x82" -image1_data = \ - "\x89\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d" \ - "\x49\x48\x44\x52\x00\x00\x00\x16\x00\x00\x00\x16" \ - "\x08\x06\x00\x00\x00\xc4\xb4\x6c\x3b\x00\x00\x00" \ - "\x99\x49\x44\x41\x54\x38\x8d\xed\x94\x41\x0e\x85" \ - "\x20\x0c\x44\x5f\x89\xc7\x36\x7f\x61\xbc\x77\x5d" \ - "\x28\x48\xa4\x28\x60\xff\xce\xd9\x54\x8b\xbe\x8e" \ - "\x13\x04\x3e\x1d\x92\x81\x77\xf4\x81\xa1\x23\xdc" \ - "\x2b\x34\xf6\xf4\x7a\x3d\xe2\xb8\x65\xa8\x84\x3f" \ - "\x40\x01\x98\x2a\x0b\x3d\x5f\x62\xc5\x83\x00\xaa" \ - "\x1a\xd7\x05\x50\x44\x9a\xb9\xd5\x07\xa7\x73\xa8" \ - "\xa4\xba\x4f\x92\xa2\xdf\x33\x3c\x64\xc6\x3b\xeb" \ - "\xbd\x82\xe5\xb8\xad\xde\xcb\xcc\x78\x20\xeb\x42" \ - "\x66\xc6\x39\x74\x5d\xfa\x80\xf3\x6f\xaf\x66\xc6" \ - "\x6f\xa1\x9c\x3f\x88\x2f\xb4\x70\xec\x05\xcd\xc0" \ - "\xbe\xd0\x78\x93\xf6\x8e\x17\x14\x92\x63\x5f\x68" \ - "\x6c\x3e\xef\xf6\xba\x3c\x8f\xdd\x36\x6d\xc4\xc0" \ - "\x45\x2c\x87\x81\xf8\x08\x00\x00\x00\x00\x49\x45" \ - "\x4e\x44\xae\x42\x60\x82" -image2_data = \ - "\x89\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d" \ - "\x49\x48\x44\x52\x00\x00\x00\x16\x00\x00\x00\x16" \ - "\x08\x06\x00\x00\x00\xc4\xb4\x6c\x3b\x00\x00\x00" \ - "\xa0\x49\x44\x41\x54\x38\x8d\xd5\x95\x4d\x0a\x80" \ - "\x20\x10\x85\x9f\xd1\x46\x68\xe1\x8d\xe6\x62\xd2" \ - "\x22\xbc\x98\x37\x6a\x21\xb4\xac\x45\x19\x92\xc6" \ - "\x64\x69\xe0\xb7\xf1\x87\xf1\xf1\x1c\x47\x05\x2a" \ - "\x21\x8e\x76\x2d\xad\xdb\xfb\x9e\x99\xf6\x56\x8f" \ - "\x80\xb5\x36\x4b\x85\x88\xce\x35\x44\x04\x00\xe8" \ - "\x0a\x39\x8c\xe8\xf9\x90\x34\xd2\x29\x2c\xc3\x7c" \ - "\x8e\xbd\x53\x0f\xeb\x58\x3a\x05\xe9\x54\x34\x1f" \ - "\x8a\x02\x7b\x2a\x7d\x3a\x1f\x09\xbf\x85\x4d\xc5" \ - "\xd5\xd9\x53\xaa\x39\x6e\x4f\x38\xca\xb1\x99\xe2" \ - "\xd2\xe1\x08\xab\xe1\x56\xf8\x2e\x30\x97\x7f\xcb" \ - "\x4d\x8f\xf9\x42\xd7\x5d\xbe\xbe\xd2\xe1\x43\x95" \ - "\x3a\x93\xf6\xca\xad\x3d\x61\x11\xf4\x4b\x7d\x4f" \ - "\x82\x0f\xf9\xc0\x06\x9b\xb5\x1e\xcd\xed\x31\x8c" \ - "\x5c\x00\x00\x00\x00\x49\x45\x4e\x44\xae\x42\x60" \ - "\x82" -image3_data = \ - "\x89\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d" \ - "\x49\x48\x44\x52\x00\x00\x00\x16\x00\x00\x00\x16" \ - "\x08\x06\x00\x00\x00\xc4\xb4\x6c\x3b\x00\x00\x00" \ - "\x73\x49\x44\x41\x54\x38\x8d\xed\x92\xc1\x0e\x80" \ - "\x20\x08\x40\xb1\xef\x66\x1d\x1c\xff\x4d\x87\x6a" \ - "\xa8\x88\xa1\x76\x69\xf9\x36\x0f\x28\x3e\xd8\x00" \ - "\x60\xf1\x59\x42\x5f\x3a\x71\xf5\x36\x02\xe0\x8e" \ - "\x99\x2b\x09\x88\x01\xd0\x28\x54\x17\x6a\xe4\x7f" \ - "\x21\xce\x1f\xb5\xb0\x5d\x38\xed\xdc\x90\x60\xd0" \ - "\xf1\x13\x79\x63\x5b\x3b\xc9\x2b\xd5\x18\xe2\x39" \ - "\xa9\x43\xec\x1d\x5a\xb7\x78\x5c\xee\x10\x7b\xe4" \ - "\xb2\x15\xaf\x40\x91\xf8\x94\xde\x47\x18\x1e\xce" \ - "\xa5\x9e\xde\x9e\xc5\x9f\x38\x00\x62\xac\x28\xb1" \ - "\xe3\xd7\x01\xd9\x00\x00\x00\x00\x49\x45\x4e\x44" \ - "\xae\x42\x60\x82" -image4_data = \ - "\x89\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d" \ - "\x49\x48\x44\x52\x00\x00\x00\x16\x00\x00\x00\x16" \ - "\x08\x06\x00\x00\x00\xc4\xb4\x6c\x3b\x00\x00\x00" \ - "\x74\x49\x44\x41\x54\x38\x8d\xed\x92\xc1\x0a\xc0" \ - "\x20\x08\x40\x6d\xdf\x2d\x3b\x84\xff\xed\x0e\xa3" \ - "\x58\x6a\x26\xd1\x65\xe0\x83\x0e\xa5\x3e\x85\x04" \ - "\x48\x7e\x4b\x91\x0f\x54\x89\xf1\x9e\xa5\xa3\xca" \ - "\x0f\x8a\x89\x63\x65\xb3\x06\xc4\x2d\xd6\x13\xc6" \ - "\x49\xbd\xc2\x59\x83\x16\x13\x62\x19\xf0\xf9\x36" \ - "\xc0\xa2\xef\x00\xd7\x5a\x62\x61\x4d\x3a\xb2\x29" \ - "\x96\xf2\xa3\x62\xff\xa3\x37\xc5\xeb\xed\xe9\x62" \ - "\xaa\xd1\xa2\xe8\x4a\xaa\xa2\xf7\x50\xdd\x12\x74" \ - "\x8c\x0f\xd0\xab\x93\x24\x67\x78\x00\x59\x6e\x28" \ - "\xb1\x74\x3f\x46\x86\x00\x00\x00\x00\x49\x45\x4e" \ - "\x44\xae\x42\x60\x82" -image5_data = \ - "\x89\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d" \ - "\x49\x48\x44\x52\x00\x00\x00\x16\x00\x00\x00\x16" \ - "\x08\x06\x00\x00\x00\xc4\xb4\x6c\x3b\x00\x00\x00" \ - "\x82\x49\x44\x41\x54\x38\x8d\xcd\xd3\x41\x12\x80" \ - "\x20\x08\x05\x50\xe8\xe0\x2e\xbc\x38\xad\x32\x73" \ - "\x50\x3e\x48\x53\x7f\xe3\xe4\x8c\x4f\x24\x25\xfa" \ - "\x28\xe2\x9c\x6f\x39\x92\x0b\xf9\x27\x6c\xb6\x01" \ - "\x85\x35\x88\x77\x61\x13\x88\xc2\x57\x64\x18\xcd" \ - "\xa0\x15\xf5\x20\xb4\xe6\xb5\x5b\xe1\x09\xdc\x06" \ - "\x22\xb8\xe2\x2a\xcf\x31\x05\x6e\x18\xdf\xdf\xf8" \ - "\x06\x06\xaa\x55\x1c\xc6\x35\x64\xc4\xdc\xf8\x0c" \ - "\xd0\x20\x1d\x57\x7a\x5c\x85\xa8\x84\x5f\xdc\x02" \ - "\x5e\xa5\x30\x7a\xfc\xcd\x07\xe2\x3a\x1d\xf2\x83" \ - "\xec\x2b\x37\xd9\xad\x5f\xb4\xdf\xef\xd4\x9c\xfb" \ - "\xf7\x2f\xac\x98\xc8\xcc\x89\x00\x00\x00\x00\x49" \ - "\x45\x4e\x44\xae\x42\x60\x82" -image6_data = \ - "\x89\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d" \ - "\x49\x48\x44\x52\x00\x00\x00\x16\x00\x00\x00\x16" \ - "\x08\x06\x00\x00\x00\xc4\xb4\x6c\x3b\x00\x00\x00" \ - "\xbf\x49\x44\x41\x54\x38\x8d\xd5\x93\x41\x0a\x83" \ - "\x30\x10\x45\xdf\x48\x8e\xe5\x1d\xbc\x8c\x3b\xa9" \ - "\x8b\xf4\x6a\x9e\xab\xd3\x85\x35\x0d\x26\x63\x62" \ - "\x44\x4a\x3f\x0c\x42\x66\xfc\xf3\xf8\x24\xf0\x6f" \ - "\x12\x40\x2b\x66\xda\x8c\x55\xf3\xde\x22\x12\xcf" \ - "\x9d\x92\xcb\x98\xc0\xba\x2d\x7c\x45\x44\xcf\x9a" \ - "\x07\x63\x8b\xba\xd5\x3c\x44\x91\x23\x5e\xcf\x7c" \ - "\xc1\x62\x36\x97\xa9\x25\x40\xc1\x1f\xf4\xfd\xa7" \ - "\x52\x75\x01\x5d\x24\xa9\x38\x9e\x7d\x6f\x53\xdf" \ - "\x4f\xe4\xcc\xab\x32\x3e\xea\x0f\x03\xc0\xc4\xb2" \ - "\xa0\x71\x2c\xe6\xad\xd8\x9b\x59\xb7\x66\x1c\x3b" \ - "\xe0\x95\x98\x5f\x26\x16\x79\xee\x4e\xbc\xc2\x2c" \ - "\x97\x88\x55\x1f\xe6\xa2\xcb\xc4\x96\x9a\x89\x4b" \ - "\xcb\x6f\x23\xee\x36\x1a\xab\x62\xe2\x52\xc5\x72" \ - "\x94\xdf\xbf\xb6\x10\xbb\xf2\xc8\x97\xb8\xa4\x6c" \ - "\xc6\x67\x7e\xaa\x51\x95\x71\xfa\x08\x7e\xa8\x37" \ - "\x62\xda\x9a\xba\xcb\x20\x23\x5f\x00\x00\x00\x00" \ - "\x49\x45\x4e\x44\xae\x42\x60\x82" -image7_data = \ - "\x89\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d" \ - "\x49\x48\x44\x52\x00\x00\x00\x16\x00\x00\x00\x16" \ - "\x08\x06\x00\x00\x00\xc4\xb4\x6c\x3b\x00\x00\x00" \ - "\xd5\x49\x44\x41\x54\x38\x8d\xc5\x95\x5d\x0a\x84" \ - "\x30\x0c\x84\x27\xe2\xa9\x0a\x9e\x6c\x8b\x0f\x4b" \ - "\x3d\xd9\x82\xd7\xca\x3e\x58\xd7\xfe\x4c\xd0\xba" \ - "\x5d\x76\x40\x02\x4d\xf2\x65\xda\x0a\x05\x7e\x24" \ - "\x39\xc9\xeb\x8d\x9e\xaa\x88\x41\xa0\xc9\xaa\xd8" \ - "\xc8\x2a\xb3\x2f\x9c\x42\x5b\xe1\xe3\x0e\x0d\xcf" \ - "\x00\xc0\x03\x08\xf0\xb3\xa7\xa0\x74\x10\xa9\xd7" \ - "\x14\x2e\x00\xb4\x2c\x5a\x5f\xab\x69\x6b\x97\x9b" \ - "\x1c\x83\x7f\xc0\xc3\x16\xb6\xe4\x16\x5b\x64\xf7" \ - "\x8d\x71\x63\x59\x91\x9b\xdc\x45\x70\xde\x47\xc0" \ - "\x47\x32\xdd\x5e\x5b\xcc\x35\xf0\xc9\x77\x62\xae" \ - "\x78\x79\x36\xdc\xcf\x75\x13\x57\x7e\x79\xf4\x8c" \ - "\x4b\x27\xaa\x0f\x13\x27\xb2\x40\xf5\x11\x7f\xcb" \ - "\xe3\x48\xaa\x33\xb6\xe0\x22\x4b\x05\x4d\x07\x46" \ - "\xb8\x02\x5e\x2e\x3b\x3e\x73\xcd\xe0\xdd\x1c\x97" \ - "\xf0\x2e\x8e\xd9\xd0\xaf\x1d\xb3\x81\x22\x4b\xdf" \ - "\x33\xee\xe6\x98\xa9\x34\xa0\xf6\x17\xb4\x55\x40" \ - "\xd0\x0b\xcf\x4c\xa0\x8f\xc0\xdf\xf4\x06\xe3\x25" \ - "\xc1\x98\x1b\xc4\x18\x76\x00\x00\x00\x00\x49\x45" \ - "\x4e\x44\xae\x42\x60\x82" -image8_data = \ - "\x89\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d" \ - "\x49\x48\x44\x52\x00\x00\x00\x16\x00\x00\x00\x16" \ - "\x08\x06\x00\x00\x00\xc4\xb4\x6c\x3b\x00\x00\x02" \ - "\x5d\x49\x44\x41\x54\x38\x8d\xd5\x93\xa1\x72\xdb" \ - "\x40\x10\x86\x3f\x67\x0a\x56\xec\xc4\x22\x78\xd0" \ - "\x65\x36\x93\xa0\xc2\x1c\x68\xd6\xc2\xe6\x0d\xf2" \ - "\x1a\x81\x81\x11\x34\x94\x99\xc2\x54\xa8\x32\x9b" \ - "\x55\xf0\xe0\x89\xdd\xb1\x5b\xa6\x02\xb7\x9d\x66" \ - "\x92\xd6\x99\xb6\xd3\x99\xfe\xe8\x6e\x67\xe7\xdb" \ - "\x7f\x77\xef\xe0\x7f\xd3\xe2\xc7\x4b\xd7\x75\xb3" \ - "\x73\x0e\xef\x3d\x51\x15\x00\x23\x82\xb5\x16\x6b" \ - "\x2d\x57\x57\x57\x8b\x17\x29\xbf\x02\xb7\x6d\x3b" \ - "\x0f\x87\x03\xb9\x2d\x58\xae\xd7\x60\x04\x00\xef" \ - "\x1c\xe3\xc7\x03\x06\xa8\xaa\x8a\xeb\xeb\xeb\x57" \ - "\xc1\x17\xdf\xa0\x6d\xdb\x52\x5d\xd7\x54\xef\xb6" \ - "\x00\xa8\x2a\x49\x13\x8a\x12\x35\x32\xec\x3a\xc4" \ - "\x2b\x9b\xcd\xe6\x55\xce\x2f\xfa\xbe\x9f\x87\xc3" \ - "\x40\xfd\xe1\x3d\xcb\x4d\x8d\xaa\xa2\x4e\x48\xee" \ - "\x12\xc6\x82\x38\x08\xc1\x07\x96\x9b\x1a\x8a\x9c" \ - "\xe3\xf1\xf8\xaa\x51\x5c\x38\xe7\xc8\xad\xa5\xaa" \ - "\x6b\x00\xc4\x5f\x12\x9c\x67\xd2\x23\x93\x8c\x88" \ - "\xe6\xc8\x60\xd1\x18\xb1\xd5\x92\xd1\x39\xba\xae" \ - "\x9b\xcf\x83\xa7\x89\x65\xb5\x46\x51\x34\x80\x1b" \ - "\x1d\x2e\x1f\x49\x45\xc0\xe3\x50\x09\x64\x08\xea" \ - "\x15\x44\x90\xc2\xe0\xbd\x3f\xef\x58\x53\xc2\xe4" \ - "\x86\xa0\x01\x9f\x4d\x84\xf5\x84\x18\x41\x83\x62" \ - "\xb0\x40\x8e\x8b\x23\xc9\x24\x50\x10\x93\x31\x4d" \ - "\xd3\x59\xf0\x1b\x80\x98\x14\x11\x20\x25\x14\x40" \ - "\x15\xf1\x96\x4c\x0b\xbc\x1b\x48\x4b\x07\xe4\x68" \ - "\x88\x80\xc0\x29\xeb\xd7\x8e\x41\x41\xf5\xb4\x34" \ - "\xfd\x76\x86\x4c\x05\x3f\x1e\x08\x4b\x0f\x85\x80" \ - "\x26\x54\x40\x63\x40\x44\xce\x83\x8b\xbc\xc0\x39" \ - "\x87\xa6\x13\x50\xa3\xa2\x28\x5e\x1d\x5a\x44\x14" \ - "\xd0\x70\x8a\xa5\x98\x08\x21\x62\xad\x3d\x0f\xb6" \ - "\xd6\xe2\x87\xcf\xa4\x98\x50\x8d\x27\x40\x50\x44" \ - "\x73\x70\x42\x8c\x91\xaf\x8d\x10\xfd\x44\x81\x60" \ - "\x8c\x39\x0b\x5e\x00\xdc\xdd\xdd\xcd\x8e\x80\xa9" \ - "\xde\x42\x02\x48\xe8\x04\x84\x08\x56\xf0\x3e\x02" \ - "\x90\x7d\x72\x94\x65\xc9\xba\x5a\xe3\x46\x87\x31" \ - "\xe6\xa7\x9f\xe5\x02\x60\xb5\x5a\x61\x02\xc4\xee" \ - "\x40\xa6\x89\x4c\x33\xf2\xcb\x0c\xb1\x06\x51\x28" \ - "\x14\xf8\xf8\x99\xb2\x2c\xb9\xb9\xb9\x59\xb8\xd1" \ - "\xf1\xf8\xf8\x48\xd3\x34\xb4\x6d\xfb\xe2\x9b\xfe" \ - "\x5e\xad\xef\xfb\xf9\x78\x3c\x32\x3a\x87\x18\x81" \ - "\xec\xb4\x20\x0d\x11\x51\xa8\xeb\x9a\xed\x76\xbb" \ - "\x00\x18\x86\x61\xee\xba\x8e\xfd\x7e\x8f\x31\x86" \ - "\xed\x76\xcb\x6a\xb5\x7a\xe2\xfe\x59\x1b\x5d\xd7" \ - "\xcd\xde\x7b\x62\x8c\x88\x08\x79\x9e\x63\xad\xa5" \ - "\xaa\xaa\x67\xb9\xbb\xdd\x6e\x6e\x9a\x06\xef\x3d" \ - "\x75\x5d\x3f\x29\xfe\xc7\xea\xfb\x7e\xbe\xbd\xbd" \ - "\x9d\xad\xb5\x73\x59\x96\xf3\xfd\xfd\xfd\xfc\xa2" \ - "\xe3\xdf\xd5\xc3\xc3\xc3\xdc\x34\x0d\xd3\x34\xb1" \ - "\xd9\x6c\xfe\x1e\x18\x4e\x63\xdc\xef\xf7\xa4\x94" \ - "\xfe\x26\xf6\x1f\xe9\x0b\xbc\x4c\x5e\x59\xd6\x14" \ - "\xca\xf4\x00\x00\x00\x00\x49\x45\x4e\x44\xae\x42" \ - "\x60\x82" - -class Eficas(QMainWindow): - def __init__(self,parent = None,name = None,fl = 0): - QMainWindow.__init__(self,parent,name,fl) - self.statusBar() - - self.image0 = QPixmap() - self.image0.loadFromData(image0_data,"PNG") - self.image1 = QPixmap() - self.image1.loadFromData(image1_data,"PNG") - self.image2 = QPixmap() - self.image2.loadFromData(image2_data,"PNG") - self.image3 = QPixmap() - self.image3.loadFromData(image3_data,"PNG") - self.image4 = QPixmap() - self.image4.loadFromData(image4_data,"PNG") - self.image5 = QPixmap() - self.image5.loadFromData(image5_data,"PNG") - self.image6 = QPixmap() - self.image6.loadFromData(image6_data,"PNG") - self.image7 = QPixmap() - self.image7.loadFromData(image7_data,"PNG") - self.image8 = QPixmap() - self.image8.loadFromData(image8_data,"PNG") - if not name: - self.setName("Eficas") - - self.setEnabled(1) - self.setMinimumSize(QSize(21,349)) - self.setBackgroundOrigin(QMainWindow.WidgetOrigin) - f = QFont(self.font()) - self.setFont(f) - - self.setCentralWidget(QWidget(self,"qt_central_widget")) - - self.line1 = QFrame(self.centralWidget(),"line1") - self.line1.setGeometry(QRect(-30,-10,930,20)) - self.line1.setFrameShape(QFrame.HLine) - self.line1.setFrameShadow(QFrame.Sunken) - self.line1.setFrameShape(QFrame.HLine) - - self.fileNewAction = QAction(self,"fileNewAction") - self.fileNewAction.setIconSet(QIconSet(self.image0)) - self.fileOpenAction = QAction(self,"fileOpenAction") - self.fileOpenAction.setIconSet(QIconSet(self.image1)) - self.fileSaveAction = QAction(self,"fileSaveAction") - self.fileSaveAction.setIconSet(QIconSet(self.image2)) - self.fileSaveAsAction = QAction(self,"fileSaveAsAction") - self.fileExitAction = QAction(self,"fileExitAction") - self.editUndoAction = QAction(self,"editUndoAction") - self.editUndoAction.setEnabled(0) - self.editUndoAction.setIconSet(QIconSet(self.image3)) - self.editRedoAction = QAction(self,"editRedoAction") - self.editRedoAction.setEnabled(0) - self.editRedoAction.setIconSet(QIconSet(self.image4)) - self.editCutAction = QAction(self,"editCutAction") - self.editCutAction.setIconSet(QIconSet(self.image5)) - self.editCopyAction = QAction(self,"editCopyAction") - self.editCopyAction.setIconSet(QIconSet(self.image6)) - self.editPasteAction = QAction(self,"editPasteAction") - self.editPasteAction.setIconSet(QIconSet(self.image7)) - self.jdcFichierResultatAction = QAction(self,"jdcFichierResultatAction") - self.jdcFichierResultatAction.setEnabled(1) - self.jdcFichierResultatAction.setIconSet(QIconSet(self.image8)) - self.helpContentsAction = QAction(self,"helpContentsAction") - self.helpIndexAction = QAction(self,"helpIndexAction") - self.helpAboutAction = QAction(self,"helpAboutAction") - self.helpAboutAction.setOn(0) - self.fileSaveCloseAction = QAction(self,"fileSaveCloseAction") - self.fileCloseAction = QAction(self,"fileCloseAction") - self.fileNewViewAction = QAction(self,"fileNewViewAction") - self.fileNewViewAction.setEnabled(0) - self.fileCloseAllAction = QAction(self,"fileCloseAllAction") - self.jdcRapportDeValidationAction = QAction(self,"jdcRapportDeValidationAction") - self.jdcFichierSourceAction = QAction(self,"jdcFichierSourceAction") - self.traduitV7V8Action = QAction(self,"traduitV7V8Action") - self.traduitV8V9Action = QAction(self,"traduitV8V9Action") - self.aidenew_itemAction = QAction(self,"aidenew_itemAction") - self.fileNewInclude = QAction(self,"fileNewInclude") - self.optionEditeurAction = QAction(self,"optionEditeurAction") - self.optionPdfAction = QAction(self,"optionPdfAction") - - - self.toolBar = QToolBar(QString(""),self,Qt.DockTop) - - self.toolBar.setFrameShape(QToolBar.MenuBarPanel) - self.toolBar.setHorizontallyStretchable(0) - self.fileNewAction.addTo(self.toolBar) - self.fileSaveAction.addTo(self.toolBar) - self.fileOpenAction.addTo(self.toolBar) - self.fileSaveAsAction.addTo(self.toolBar) - self.editCutAction.addTo(self.toolBar) - self.editPasteAction.addTo(self.toolBar) - self.jdcFichierResultatAction.addTo(self.toolBar) - self.fileExitAction.addTo(self.toolBar) - self.toolBar.addSeparator() - - - self.MenuBar = QMenuBar(self,"MenuBar") - - self.MenuBar.setMargin(2) - - self.Fichier = QPopupMenu(self) - self.fileNewAction.addTo(self.Fichier) - self.fileNewInclude.addTo(self.Fichier) - self.fileOpenAction.addTo(self.Fichier) - self.fileSaveAction.addTo(self.Fichier) - self.fileSaveAsAction.addTo(self.Fichier) - self.fileCloseAction.addTo(self.Fichier) - self.fileCloseAllAction.addTo(self.Fichier) - self.Fichier.insertSeparator() - self.Fichier.insertSeparator() - self.fileExitAction.addTo(self.Fichier) - self.MenuBar.insertItem(QString(""),self.Fichier,2) - - self.Edition = QPopupMenu(self) - self.Edition.insertSeparator() - self.editCutAction.addTo(self.Edition) - self.editCopyAction.addTo(self.Edition) - self.editPasteAction.addTo(self.Edition) - self.MenuBar.insertItem(QString(""),self.Edition,3) - - self.JdC = QPopupMenu(self) - self.jdcRapportDeValidationAction.addTo(self.JdC) - self.jdcFichierSourceAction.addTo(self.JdC) - self.jdcFichierResultatAction.addTo(self.JdC) - self.MenuBar.insertItem(QString(""),self.JdC,4) - - self.Aide = QPopupMenu(self) - self.aidenew_itemAction.addTo(self.Aide) - self.MenuBar.insertItem(QString(""),self.Aide,5) - - self.Options = QPopupMenu(self) - self.optionEditeurAction.addTo(self.Options) - self.optionPdfAction.addTo(self.Options) - self.MenuBar.insertItem(QString(""),self.Options,6) - - self.Traduction = QPopupMenu(self) - self.traduitV7V8Action.addTo(self.Traduction) - self.traduitV8V9Action.addTo(self.Traduction) - self.MenuBar.insertItem(QString(""),self.Traduction,7) - - self.Patrons = QPopupMenu(self) - self.MenuBar.insertItem(QString(""),self.Patrons,8) - - - self.languageChange() - - self.resize(QSize(902,594).expandedTo(self.minimumSizeHint())) - self.clearWState(Qt.WState_Polished) - - self.connect(self.fileNewAction,SIGNAL("activated()"),self.fileNew) - self.connect(self.fileOpenAction,SIGNAL("activated()"),self.fileOpen) - self.connect(self.fileSaveAction,SIGNAL("activated()"),self.fileSave) - self.connect(self.fileSaveAsAction,SIGNAL("activated()"),self.fileSaveAs) - self.connect(self.fileExitAction,SIGNAL("activated()"),self.fileExit) - self.connect(self.editUndoAction,SIGNAL("activated()"),self.editUndo) - self.connect(self.editRedoAction,SIGNAL("activated()"),self.editRedo) - self.connect(self.editCutAction,SIGNAL("activated()"),self.editCut) - self.connect(self.editPasteAction,SIGNAL("activated()"),self.editPaste) - self.connect(self.jdcFichierResultatAction,SIGNAL("activated()"),self.visuJdcPy) - self.connect(self.helpIndexAction,SIGNAL("activated()"),self.helpIndex) - self.connect(self.helpContentsAction,SIGNAL("activated()"),self.helpContents) - self.connect(self.helpAboutAction,SIGNAL("activated()"),self.helpAbout) - self.connect(self.fileCloseAction,SIGNAL("activated()"),self.fileClose) - self.connect(self.fileNewViewAction,SIGNAL("activated()"),self.fileNewView) - self.connect(self.fileCloseAllAction,SIGNAL("activated()"),self.fileCloseAll) - self.connect(self.editCopyAction,SIGNAL("activated()"),self.editCopy) - self.connect(self.jdcRapportDeValidationAction,SIGNAL("activated()"),self.jdcRapport) - self.connect(self.jdcFichierSourceAction,SIGNAL("activated()"),self.jdcFichierSource) - self.connect(self.traduitV7V8Action,SIGNAL("activated()"),self.traductionV7V8) - self.connect(self.traduitV8V9Action,SIGNAL("activated()"),self.traductionV8V9) - self.connect(self.aidenew_itemAction,SIGNAL("activated()"),self.helpAbout) - self.connect(self.fileNewInclude,SIGNAL("activated()"),self.NewInclude) - self.connect(self.optionEditeurAction,SIGNAL("activated()"),self.optionEditeur) - self.connect(self.optionPdfAction,SIGNAL("activated()"),self.optionPdf) - - - def languageChange(self): - self.setCaption(self.__tr("Eficas ")) - self.fileNewAction.setText(self.__tr("Nouveau")) - self.fileNewAction.setMenuText(self.__tr("&Nouveau")) - self.fileNewAction.setAccel(self.__tr("Ctrl+N")) - self.fileOpenAction.setText(self.__tr("Ouvrir")) - self.fileOpenAction.setMenuText(self.__tr("&Ouvrir")) - self.fileOpenAction.setAccel(self.__tr("Ctrl+O")) - self.fileSaveAction.setText(self.__tr("Enregistrer")) - self.fileSaveAction.setMenuText(self.__tr("Enregistrer")) - self.fileSaveAction.setAccel(self.__tr("Ctrl+S")) - self.fileSaveAsAction.setText(self.__tr("Enregistrer Sous")) - self.fileSaveAsAction.setMenuText(self.__tr("Enregistrer Sous")) - self.fileSaveAsAction.setAccel(QString.null) - self.fileExitAction.setText(self.__tr("Quitter")) - self.fileExitAction.setMenuText(self.__tr("Q&uitter")) - self.fileExitAction.setAccel(QString.null) - self.editUndoAction.setText(self.__tr("Undo")) - self.editUndoAction.setMenuText(self.__tr("&Undo")) - self.editUndoAction.setAccel(self.__tr("Ctrl+Z")) - self.editRedoAction.setText(self.__tr("Redo")) - self.editRedoAction.setMenuText(self.__tr("&Redo")) - self.editRedoAction.setAccel(self.__tr("Ctrl+Y")) - self.editCutAction.setText(self.__tr("Couper")) - self.editCutAction.setMenuText(self.__tr("C&ouper")) - self.editCutAction.setAccel(self.__tr("Ctrl+X")) - self.editCopyAction.setText(self.__tr("Copier")) - self.editCopyAction.setMenuText(self.__tr("&Copier")) - self.editCopyAction.setAccel(self.__tr("Ctrl+C")) - self.editPasteAction.setText(self.__tr("Coller")) - self.editPasteAction.setMenuText(self.__tr("&Coller")) - self.editPasteAction.setAccel(self.__tr("Ctrl+V")) - self.jdcFichierResultatAction.setText(self.__tr("Fichier Resultat")) - self.jdcFichierResultatAction.setMenuText(self.__tr("Fichier Resultat")) - self.jdcFichierResultatAction.setAccel(self.__tr("Ctrl+F")) - self.helpContentsAction.setText(self.__tr("Contents")) - self.helpContentsAction.setMenuText(self.__tr("&Contents...")) - self.helpContentsAction.setAccel(QString.null) - self.helpIndexAction.setText(self.__tr("Index")) - self.helpIndexAction.setMenuText(self.__tr("&Index...")) - self.helpIndexAction.setAccel(QString.null) - self.helpAboutAction.setText(self.__tr("About")) - self.helpAboutAction.setMenuText(self.__tr("&About")) - self.helpAboutAction.setAccel(QString.null) - self.fileSaveCloseAction.setText(self.__tr("Fermer")) - self.fileSaveCloseAction.setMenuText(self.__tr("Fermer")) - self.fileCloseAction.setText(self.__tr("Fermer")) - self.fileCloseAction.setMenuText(self.__tr("Fermer")) - self.fileCloseAction.setAccel(self.__tr("Ctrl+W")) - self.fileNewViewAction.setText(self.__tr("New view")) - self.fileCloseAllAction.setText(self.__tr("Tout Fermer")) - self.fileCloseAllAction.setMenuText(self.__tr("Tout Fermer")) - self.jdcRapportDeValidationAction.setText(self.__tr("Rapport de validation")) - self.jdcRapportDeValidationAction.setMenuText(self.__tr("Rapport de validation")) - self.jdcRapportDeValidationAction.setAccel(self.__tr("Ctrl+R")) - self.jdcFichierSourceAction.setText(self.__tr("Fichier source")) - self.jdcFichierSourceAction.setMenuText(self.__tr("Fichier source")) - self.jdcFichierSourceAction.setAccel(self.__tr("Ctrl+B")) - self.traduitV7V8Action.setText(self.__tr("traduitV7V8")) - self.traduitV7V8Action.setMenuText(self.__tr("traduitV7V8")) - self.traduitV8V9Action.setText(self.__tr("traduitV8V9")) - self.traduitV8V9Action.setMenuText(self.__tr("traduitV8V9")) - self.aidenew_itemAction.setText(self.__tr("Eficas")) - self.fileNewInclude.setText(self.__tr("Nouvel Include")) - self.fileNewInclude.setMenuText(self.__tr("Nouvel Include")) - self.optionEditeurAction.setText(self.__tr("Parametres Eficas")) - self.optionEditeurAction.setMenuText(self.__tr("Parametres Eficas")) - self.optionPdfAction.setText(self.__tr("Lecteur Pdf")) - self.optionPdfAction.setMenuText(self.__tr("Lecteur Pdf")) - self.toolBar.setLabel(self.__tr("Tools")) - if self.MenuBar.findItem(2): - self.MenuBar.findItem(2).setText(self.__tr("&Fichier")) - if self.MenuBar.findItem(3): - self.MenuBar.findItem(3).setText(self.__tr("&Edition")) - if self.MenuBar.findItem(4): - self.MenuBar.findItem(4).setText(self.__tr("JdC")) - if self.MenuBar.findItem(5): - self.MenuBar.findItem(5).setText(self.__tr("&Aide")) - if self.MenuBar.findItem(6): - self.MenuBar.findItem(6).setText(self.__tr("Options")) - if self.MenuBar.findItem(7): - self.MenuBar.findItem(7).setText(self.__tr("Traduction")) - if self.MenuBar.findItem(8): - self.MenuBar.findItem(8).setText(self.__tr("Patrons")) - - - def fileNew(self): - print "Eficas.fileNew(): Not implemented yet" - - def fileOpen(self): - print "Eficas.fileOpen(): Not implemented yet" - - def fileSave(self): - print "Eficas.fileSave(): Not implemented yet" - - def fileSaveAs(self): - print "Eficas.fileSaveAs(): Not implemented yet" - - def filePrint(self): - print "Eficas.filePrint(): Not implemented yet" - - def fileExit(self): - print "Eficas.fileExit(): Not implemented yet" - - def editUndo(self): - print "Eficas.editUndo(): Not implemented yet" - - def editRedo(self): - print "Eficas.editRedo(): Not implemented yet" - - def jdcFichierSource(self): - print "Eficas.jdcFichierSource(): Not implemented yet" - - def fileNewView(self): - print "Eficas.fileNewView(): Not implemented yet" - - def editPaste(self): - print "Eficas.editPaste(): Not implemented yet" - - def visuJdcPy(self): - print "Eficas.visuJdcPy(): Not implemented yet" - - def helpIndex(self): - print "Eficas.helpIndex(): Not implemented yet" - - def helpContents(self): - print "Eficas.helpContents(): Not implemented yet" - - def helpAbout(self): - print "Eficas.helpAbout(): Not implemented yet" - - def fileClose(self): - print "Eficas.fileClose(): Not implemented yet" - - def fileCloseAll(self): - print "Eficas.fileCloseAll(): Not implemented yet" - - def jdcRapport(self): - print "Eficas.jdcRapport(): Not implemented yet" - - def editCut(self): - print "Eficas.editCut(): Not implemented yet" - - def editCopy(self): - print "Eficas.editCopy(): Not implemented yet" - - def traductionV7V8(self): - print "Eficas.traductionV7V8(): Not implemented yet" - - def traductionV8V9(self): - print "Eficas.traductionV8V9(): Not implemented yet" - - def NewInclude(self): - print "Eficas.NewInclude(): Not implemented yet" - - def optionEditeur(self): - print "Eficas.optionEditeur(): Not implemented yet" - - def optionPdf(self): - print "Eficas.optionPdf(): Not implemented yet" - - def __tr(self,s,c = None): - return qApp.translate("Eficas",s,c)