From: Pascale Noyret Date: Fri, 20 Apr 2007 13:12:08 +0000 (+0000) Subject: *** empty log message *** X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=1cb6c925bbcb0b175f0677deed49ff9682f35d11;p=tools%2Feficas.git *** empty log message *** --- diff --git a/Ui/desCommande.py b/Ui/desCommande.py new file mode 100644 index 00000000..76a87727 --- /dev/null +++ b/Ui/desCommande.py @@ -0,0 +1,220 @@ +# -*- coding: utf-8 -*- + +# Form implementation generated from reading ui file 'desCommande.ui' +# +# Created: jeu mar 15 14:45:27 2007 +# by: The PyQt User Interface Compiler (pyuic) 3.13 +# +# 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" \ + "\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 DComm(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("DComm") + + self.setMinimumSize(QSize(505,0)) + + + self.Commentaire = QLabel(self,"Commentaire") + self.Commentaire.setGeometry(QRect(10,410,490,20)) + self.Commentaire.setFrameShape(QLabel.NoFrame) + self.Commentaire.setFrameShadow(QLabel.Plain) + + self.bSup = QPushButton(self,"bSup") + self.bSup.setGeometry(QRect(320,440,142,30)) + self.bSup.setAutoDefault(1) + + self.bOk = QPushButton(self,"bOk") + self.bOk.setGeometry(QRect(170,440,142,30)) + self.bOk.setAutoDefault(1) + self.bOk.setDefault(1) + + self.bHelp = QPushButton(self,"bHelp") + self.bHelp.setGeometry(QRect(10,440,142,30)) + self.bHelp.setAutoDefault(1) + + self.TWChoix = QTabWidget(self,"TWChoix") + self.TWChoix.setGeometry(QRect(0,0,500,400)) + + self.MotClef = QWidget(self.TWChoix,"MotClef") + + self.textLabel1 = QLabel(self.MotClef,"textLabel1") + self.textLabel1.setGeometry(QRect(50,10,120,20)) + self.textLabel1.setMinimumSize(QSize(0,0)) + + self.textLabel1_2 = QLabel(self.MotClef,"textLabel1_2") + self.textLabel1_2.setGeometry(QRect(360,0,50,37)) + + self.LBMCPermis = QListBox(self.MotClef,"LBMCPermis") + self.LBMCPermis.setGeometry(QRect(10,40,220,290)) + self.LBMCPermis.setMinimumSize(QSize(0,0)) + + self.LBRegles = QListBox(self.MotClef,"LBRegles") + self.LBRegles.setGeometry(QRect(260,40,230,290)) + self.TWChoix.insertTab(self.MotClef,QString("")) + + self.Concept = QWidget(self.TWChoix,"Concept") + + self.groupBox1 = QGroupBox(self.Concept,"groupBox1") + self.groupBox1.setGeometry(QRect(0,10,520,380)) + + self.textLabel1_3 = QLabel(self.groupBox1,"textLabel1_3") + self.textLabel1_3.setGeometry(QRect(80,50,82,31)) + + self.textLabel1_3_2 = QLabel(self.groupBox1,"textLabel1_3_2") + self.textLabel1_3_2.setGeometry(QRect(80,170,82,31)) + + self.textLabel3 = QLabel(self.groupBox1,"textLabel3") + self.textLabel3.setGeometry(QRect(80,200,230,31)) + + self.LENomConcept = QLineEdit(self.groupBox1,"LENomConcept") + self.LENomConcept.setGeometry(QRect(80,110,310,30)) + + self.typeConcept = QLabel(self.groupBox1,"typeConcept") + self.typeConcept.setGeometry(QRect(320,200,100,31)) + self.TWChoix.insertTab(self.Concept,QString("")) + + self.Commande = QWidget(self.TWChoix,"Commande") + + self.textLabel6 = QLabel(self.Commande,"textLabel6") + self.textLabel6.setGeometry(QRect(10,60,60,30)) + + self.textLabel4 = QLabel(self.Commande,"textLabel4") + self.textLabel4.setGeometry(QRect(90,340,300,30)) + + self.LBNouvCommande = QListBox(self.Commande,"LBNouvCommande") + self.LBNouvCommande.setGeometry(QRect(50,100,410,240)) + + self.buttonGroup1 = QButtonGroup(self.Commande,"buttonGroup1") + self.buttonGroup1.setGeometry(QRect(298,17,151,70)) + + 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,101,20)) + self.RBalpha.setChecked(1) + + self.LEFiltre = QLineEdit(self.Commande,"LEFiltre") + self.LEFiltre.setGeometry(QRect(50,60,160,30)) + + self.BNext = QToolButton(self.Commande,"BNext") + self.BNext.setGeometry(QRect(220,60,30,31)) + self.BNext.setIconSet(QIconSet(self.image0)) + + self.textLabel1_4 = QLabel(self.Commande,"textLabel1_4") + self.textLabel1_4.setGeometry(QRect(50,20,171,21)) + self.TWChoix.insertTab(self.Commande,QString("")) + + self.languageChange() + + self.resize(QSize(505,483).expandedTo(self.minimumSizeHint())) + self.clearWState(Qt.WState_Polished) + + self.connect(self.LBNouvCommande,SIGNAL("clicked(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.BHelpPressed) + self.connect(self.BNext,SIGNAL("pressed()"),self.BNextPressed) + + + def languageChange(self): + self.setCaption(self.__tr("DComm")) + self.Commentaire.setText(QString.null) + self.bSup.setText(self.__tr("&Supprimer")) + self.bSup.setAccel(self.__tr("Alt+S")) + QToolTip.add(self.bSup,self.__tr("suppression du mot clef")) + self.bOk.setText(self.__tr("&Valider")) + self.bOk.setAccel(self.__tr("Shift+A, Alt+A, Alt+A, Alt+A")) + QToolTip.add(self.bOk,self.__tr("validation de la saisie")) + self.bHelp.setText(self.__tr("&Documentation")) + self.bHelp.setAccel(self.__tr("Alt+D")) + QToolTip.add(self.bHelp,self.__tr("affichage documentation aster")) + 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.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.textLabel3.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.TWChoix.changeTab(self.Concept,self.__tr("Nommer Concept")) + 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.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.BNext.setText(QString.null) + QToolTip.add(self.BNext,self.__tr("affiche la prochaine occurence")) + self.textLabel1_4.setText(self.__tr("Commandes :")) + 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 BHelpPressed(self): + print "DComm.BHelpPressed(): 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/desCommande.ui b/Ui/desCommande.ui index 0d4f2865..2dd2a428 100644 --- a/Ui/desCommande.ui +++ b/Ui/desCommande.ui @@ -33,6 +33,12 @@ 20 + + NoFrame + + + Plain + @@ -134,16 +140,16 @@ Ajouter Mot-Clef - + - textLabel1 + LBMCPermis - 50 - 10 - 120 - 20 + 10 + 40 + 220 + 290 @@ -152,36 +158,30 @@ 0 - - <h3><p align="center"><u><b>Mots Clefs Permis</b></u></p></h3> - - + - textLabel1_2 + LBRegles - 360 - 0 - 50 - 37 + 260 + 40 + 230 + 290 - - <h3><p align="center"><u><b>Régles</b></u></p></h3> - - + - LBMCPermis + textLabel1 - 10 - 40 - 220 - 290 + 50 + 10 + 140 + 20 @@ -190,19 +190,25 @@ 0 + + <h3><p align="center"><u><b>Mots Clefs Permis</b></u></p></h3> + - + - LBRegles + textLabel1_2 - 260 - 40 - 230 - 290 + 360 + 0 + 50 + 37 + + <h3><p align="center"><u><b>Règles</b></u></p></h3> + @@ -275,9 +281,22 @@ L'opérateur courant retourne un concept de type : + + + LENomConcept + + + + 80 + 110 + 310 + 30 + + + - textLabel2 + typeConcept @@ -291,19 +310,6 @@ TypeDuConcept - - - LENomConcept - - - - 80 - 110 - 310 - 30 - - - @@ -509,13 +515,13 @@ RBGroupe clicked() DComm - RBGroupeChecked() + buildTabCommand() RBalpha clicked() DComm - RBAlphaChecked() + buildTabCommand() bHelp @@ -537,9 +543,8 @@ BSupPressed() LENomConceptReturnPressed() BOkPressed() - RBAlphaChecked() + buildTabCommand() BHelpPressed() - RBGroupeChecked() BNextPressed() diff --git a/Ui/desCommentaire.py b/Ui/desCommentaire.py new file mode 100644 index 00000000..2f4ef35a --- /dev/null +++ b/Ui/desCommentaire.py @@ -0,0 +1,70 @@ +# -*- coding: utf-8 -*- + +# Form implementation generated from reading ui file 'desCommentaire.ui' +# +# Created: lun mar 19 11:05:34 2007 +# by: The PyQt User Interface Compiler (pyuic) 3.13 +# +# 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(350,0)) + + + self.bSup = QPushButton(self,"bSup") + self.bSup.setGeometry(QRect(310,420,142,30)) + self.bSup.setAutoDefault(1) + + self.bHelp = QPushButton(self,"bHelp") + self.bHelp.setGeometry(QRect(10,420,142,30)) + self.bHelp.setAutoDefault(1) + + self.textLabel1 = QLabel(self,"textLabel1") + self.textLabel1.setGeometry(QRect(160,10,120,21)) + + self.textCommentaire = QTextEdit(self,"textCommentaire") + self.textCommentaire.setGeometry(QRect(10,40,451,360)) + + self.bOk = QPushButton(self,"bOk") + self.bOk.setGeometry(QRect(160,420,142,30)) + self.bOk.setAutoDefault(1) + self.bOk.setDefault(1) + + self.languageChange() + + self.resize(QSize(475,480).expandedTo(self.minimumSizeHint())) + self.clearWState(Qt.WState_Polished) + + self.connect(self.textCommentaire,SIGNAL("returnPressed()"),self.TexteCommentaireEntre) + self.connect(self.bOk,SIGNAL("clicked()"),self.TexteCommentaireEntre) + + + def languageChange(self): + self.setCaption(self.__tr("Form1")) + self.bSup.setText(self.__tr("&Supprimer")) + self.bSup.setAccel(self.__tr("Alt+S")) + QToolTip.add(self.bSup,self.__tr("suppression du mot clef")) + self.bHelp.setText(self.__tr("&Documentation")) + self.bHelp.setAccel(self.__tr("Alt+D")) + QToolTip.add(self.bHelp,self.__tr("affichage documentation aster")) + self.textLabel1.setText(self.__tr("

Texte du Commentaire

")) + self.bOk.setText(self.__tr("&Valider")) + self.bOk.setAccel(self.__tr("Shift+A, Alt+A, Alt+A, Alt+A")) + QToolTip.add(self.bOk,self.__tr("validation de la saisie")) + + + def TexteCommentaireEntre(self): + print "DComment.TexteCommentaireEntre(): Not implemented yet" + + def __tr(self,s,c = None): + return qApp.translate("DComment",s,c) diff --git a/Ui/desFonction.ui b/Ui/desFonction.ui new file mode 100644 index 00000000..6448df08 --- /dev/null +++ b/Ui/desFonction.ui @@ -0,0 +1,577 @@ + +DFormule + + + DFormule + + + + 0 + 0 + 529 + 484 + + + + + 505 + 0 + + + + DMacro + + + + bSup + + + + 320 + 440 + 142 + 30 + + + + &Supprimer + + + Alt+S + + + true + + + suppression du mot clef + + + + + bHelp + + + + 10 + 440 + 142 + 30 + + + + &Documentation + + + Alt+D + + + true + + + affichage documentation aster + + + + + Commentaire + + + + -8 + 404 + 490 + 20 + + + + + + + + + bOk + + + + 170 + 440 + 142 + 30 + + + + &Valider + + + Shift+A, Alt+A, Alt+A, Alt+A + + + true + + + true + + + validation de la saisie + + + + + TWChoix + + + + 0 + 0 + 500 + 400 + + + + + Formule + + + Définition Formule + + + + LECorpsFormule + + + + 20 + 220 + 440 + 31 + + + + + + textLabel1_2 + + + + 290 + 10 + 80 + 20 + + + + <h3><p align="center"><u><b>Arguments</b></u></p></h3> + + + + + textLabel1 + + + + 30 + 10 + 160 + 30 + + + + + 0 + 0 + + + + <h3><p align="center"><u><b>Nom de la formule</b></u></p></h3> + + + + + textLabel2 + + + + 220 + 40 + 220 + 20 + + + + variables séparées par des "," par ex. : x,y,z + + + + + LENomFormule + + + + 30 + 70 + 171 + 31 + + + + + + LENomsArgs + + + + 220 + 70 + 230 + 31 + + + + + + textLabel1_5 + + + + 30 + 180 + 420 + 20 + + + + + 0 + 0 + + + + <h3><p align="center"><u><b>Corps de la formule</b></u></p></h3> + + + + + textLabel1_3 + + + + 70 + 260 + 300 + 20 + + + + Retour-Chariot permet de vérifier que l'expression est valide. + + + + + textLabel1_3_2 + + + + 28 + 306 + 401 + 31 + + + + Ce n'est qu'après avoir appuyé sur le bouton Valider que les nouvelles +vaelurs seront effectivement prises en compte + + + + + textLabel1_6 + + + + 210 + 60 + 20 + 50 + + + + <h1><b>(</b></h1> + + + + + textLabel1_6_2 + + + + 460 + 60 + 20 + 50 + + + + <h1><b>)</b></h1> + + + + + textLabel2_2 + + + + 210 + 130 + 49 + 20 + + + + <font size="+4" face="Helvetica"><b>=</b></font> + + + + + + Commande + + + Nouvelle Commande + + + + textLabel6 + + + + 10 + 60 + 60 + 30 + + + + Filtre + + + + + textLabel4 + + + + 90 + 340 + 300 + 30 + + + + La commande choisie sera ajoutée APRES la commande courante + + + + + LBNouvCommande + + + + 50 + 100 + 410 + 240 + + + + + + buttonGroup1 + + + + 300 + 20 + 151 + 70 + + + + Affichage + + + + RBGroupe + + + + 20 + 40 + 101 + 20 + + + + par groupe + + + + + RBalpha + + + + 20 + 20 + 101 + 20 + + + + alphabétique + + + true + + + + + + LEFiltre + + + + 50 + 60 + 160 + 30 + + + + + + textLabel1_4 + + + + 50 + 20 + 171 + 21 + + + + <b><u>Commandes :</u></b> + + + + + BNext + + + + 220 + 60 + 30 + 31 + + + + + + + image0 + + + affiche la prochaine occurence + + + + + + + + 89504e470d0a1a0a0000000d49484452000000210000000e0806000000a11e758c000000cf49444154388dd594db0ec3200c43edfdf8d897bb0f345b480845d51eb64888f412e76001c00f046fd6e99bba77200480924a1032c92efbd8c7d5cabcc025400099e957849568fe7f06c0ded1deb32b4a1ec4ea824b9e74097165bd01f85527f78a7201e0a3129f345a017c543bafdc983d0f7109d15a331b471f47072c17494a82338f6178203a8817e67306b1f08b07ba03e602c9b831077e37e0209e67e3386710977b17de80c185ad38695a51d522c82ce77912e2fed8be83762092f52b1820dd11bb10e565b53a5a3bbaff130713d66fa6981857060000000049454e44ae426082 + + + + + LBNouvCommande + clicked(QListBoxItem*) + DFormule + LBNouvCommandeClicked() + + + LEFiltre + textChanged(const QString&) + DFormule + LEFiltreTextChanged() + + + LEFiltre + returnPressed() + DFormule + LEfiltreReturnPressed() + + + bSup + pressed() + DFormule + BSupPressed() + + + bOk + clicked() + DFormule + BOkPressed() + + + RBalpha + clicked() + DFormule + buildTabCommand() + + + RBGroupe + clicked() + DFormule + buildTabCommand() + + + BNext + clicked() + DFormule + BNextPressed() + + + LENomFormule + returnPressed() + DFormule + NomFormuleSaisi() + + + LENomsArgs + returnPressed() + DFormule + argsSaisis() + + + LECorpsFormule + returnPressed() + DFormule + FormuleSaisie() + + + + LBNouvCommandeClicked() + LEFiltreTextChanged() + LEfiltreReturnPressed() + BSupPressed() + BOkPressed() + buildTabCommand() + BNextPressed() + NomFormuleSaisi() + argsSaisis() + FormuleSaisie() + + + diff --git a/Ui/desInactif.py b/Ui/desInactif.py new file mode 100644 index 00000000..72b72ff5 --- /dev/null +++ b/Ui/desInactif.py @@ -0,0 +1,76 @@ +# -*- coding: utf-8 -*- + +# Form implementation generated from reading ui file 'desInactif.ui' +# +# Created: lun mar 5 14:01:29 2007 +# by: The PyQt User Interface Compiler (pyuic) 3.13 +# +# 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)) + + + self.textLabel1_4 = QLabel(self,"textLabel1_4") + self.textLabel1_4.setGeometry(QRect(30,240,420,20)) + + self.textLabel1 = QLabel(self,"textLabel1") + self.textLabel1.setGeometry(QRect(30,220,420,20)) + + self.textLabel1_4_2 = QLabel(self,"textLabel1_4_2") + self.textLabel1_4_2.setGeometry(QRect(30,260,420,20)) + + self.bSup = QPushButton(self,"bSup") + self.bSup.setGeometry(QRect(170,430,142,30)) + self.bSup.setAutoDefault(1) + + self.textLabel1_3 = QLabel(self,"textLabel1_3") + self.textLabel1_3.setGeometry(QRect(20,130,420,20)) + + self.languageChange() + + self.resize(QSize(482,480).expandedTo(self.minimumSizeHint())) + self.clearWState(Qt.WState_Polished) + + self.connect(self.bSup,SIGNAL("clicked()"),self.BSupPressed) + + + def languageChange(self): + self.setCaption(QString.null) + self.textLabel1_4.setText(self.__tr("

\n" +" DEBUT / POURSUITE et FIN\n" +"

")) + 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\x3c\x2f\x70\x3e\x3c\x2f\x66\x6f\x6e\x74\x3e")) + self.textLabel1_4_2.setText(self.__tr("

\n" +"sont actives\n" +"

")) + self.bSup.setText(self.__tr("&Supprimer")) + self.bSup.setAccel(self.__tr("Alt+S")) + QToolTip.add(self.bSup,self.__tr("suppression du mot clef")) + 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")) + + + 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/desMCFact.py b/Ui/desMCFact.py new file mode 100644 index 00000000..cc10c426 --- /dev/null +++ b/Ui/desMCFact.py @@ -0,0 +1,111 @@ +# -*- coding: utf-8 -*- + +# Form implementation generated from reading ui file 'desMCFact.ui' +# +# Created: mer mar 21 12:08:55 2007 +# by: The PyQt User Interface Compiler (pyuic) 3.13 +# +# WARNING! All changes made in this file will be lost! + + +from qt import * + + +class 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)) + + + self.Commentaire = QLabel(self,"Commentaire") + self.Commentaire.setGeometry(QRect(10,410,490,20)) + + self.bSup = QPushButton(self,"bSup") + self.bSup.setGeometry(QRect(320,440,142,30)) + self.bSup.setAutoDefault(1) + + self.bOk = QPushButton(self,"bOk") + self.bOk.setGeometry(QRect(170,440,142,30)) + self.bOk.setAutoDefault(1) + self.bOk.setDefault(1) + + self.bHelp = QPushButton(self,"bHelp") + self.bHelp.setGeometry(QRect(10,440,142,30)) + self.bHelp.setAutoDefault(1) + + self.TWChoix = QTabWidget(self,"TWChoix") + self.TWChoix.setGeometry(QRect(0,0,500,400)) + + self.MotClef = QWidget(self.TWChoix,"MotClef") + + self.textLabel1_2 = QLabel(self.MotClef,"textLabel1_2") + self.textLabel1_2.setGeometry(QRect(360,0,50,37)) + + self.LBRegles = QListBox(self.MotClef,"LBRegles") + self.LBRegles.setGeometry(QRect(260,40,230,290)) + + self.textLabel1 = QLabel(self.MotClef,"textLabel1") + self.textLabel1.setGeometry(QRect(50,10,120,20)) + self.textLabel1.setMinimumSize(QSize(0,0)) + + self.LBMCPermis = QListBox(self.MotClef,"LBMCPermis") + self.LBMCPermis.setGeometry(QRect(10,40,220,290)) + self.LBMCPermis.setMinimumSize(QSize(0,0)) + self.TWChoix.insertTab(self.MotClef,QString("")) + + self.languageChange() + + self.resize(QSize(521,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) + + + def languageChange(self): + self.setCaption(self.__tr("DMacro")) + self.Commentaire.setText(QString.null) + self.bSup.setText(self.__tr("&Supprimer")) + self.bSup.setAccel(self.__tr("Alt+S")) + QToolTip.add(self.bSup,self.__tr("suppression du mot clef")) + self.bOk.setText(self.__tr("&Valider")) + self.bOk.setAccel(self.__tr("Shift+A, Alt+A, Alt+A, Alt+A")) + QToolTip.add(self.bOk,self.__tr("validation de la saisie")) + self.bHelp.setText(self.__tr("&Documentation")) + self.bHelp.setAccel(self.__tr("Alt+D")) + QToolTip.add(self.bHelp,self.__tr("affichage documentation aster")) + 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")) + + + def LBNouvCommandeClicked(self): + print "DMCFact.LBNouvCommandeClicked(): Not implemented yet" + + def LEFiltreTextChanged(self): + print "DMCFact.LEFiltreTextChanged(): Not implemented yet" + + def LEfiltreReturnPressed(self): + print "DMCFact.LEfiltreReturnPressed(): Not implemented yet" + + def BSupPressed(self): + print "DMCFact.BSupPressed(): Not implemented yet" + + def BOkPressed(self): + print "DMCFact.BOkPressed(): Not implemented yet" + + def buildTabCommand(self): + print "DMCFact.buildTabCommand(): Not implemented yet" + + def BNextPressed(self): + print "DMCFact.BNextPressed(): 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/desMCFact.ui b/Ui/desMCFact.ui new file mode 100644 index 00000000..6e7714a6 --- /dev/null +++ b/Ui/desMCFact.ui @@ -0,0 +1,234 @@ + +DMCFact + + + DMCFact + + + + 0 + 0 + 521 + 499 + + + + + 505 + 0 + + + + DMacro + + + + Commentaire + + + + 10 + 410 + 490 + 20 + + + + + + + + + bSup + + + + 320 + 440 + 142 + 30 + + + + &Supprimer + + + Alt+S + + + true + + + suppression du mot clef + + + + + bOk + + + + 170 + 440 + 142 + 30 + + + + &Valider + + + Shift+A, Alt+A, Alt+A, Alt+A + + + true + + + true + + + validation de la saisie + + + + + bHelp + + + + 10 + 440 + 142 + 30 + + + + &Documentation + + + Alt+D + + + true + + + affichage documentation aster + + + + + TWChoix + + + + 0 + 0 + 500 + 400 + + + + + MotClef + + + Ajouter Mot-Clef + + + + textLabel1_2 + + + + 360 + 0 + 50 + 37 + + + + <h3><p align="center"><u><b>Régles</b></u></p></h3> + + + + + LBRegles + + + + 260 + 40 + 230 + 290 + + + + + + LBMCPermis + + + + 10 + 40 + 220 + 290 + + + + + 0 + 0 + + + + + + textLabel1 + + + + 50 + 10 + 140 + 20 + + + + + 0 + 0 + + + + <h3><p align="center"><u><b>Mots Clefs Permis</b></u></p></h3> + + + + + + + + bSup + pressed() + DMCFact + BSupPressed() + + + bOk + clicked() + DMCFact + BOkPressed() + + + + LBNouvCommandeClicked() + LEFiltreTextChanged() + LEfiltreReturnPressed() + BSupPressed() + BOkPressed() + buildTabCommand() + BNextPressed() + + + diff --git a/Ui/desMCListAjout.py b/Ui/desMCListAjout.py new file mode 100644 index 00000000..61594a59 --- /dev/null +++ b/Ui/desMCListAjout.py @@ -0,0 +1,91 @@ +# -*- coding: utf-8 -*- + +# Form implementation generated from reading ui file 'desMCListAjout.ui' +# +# Created: ven mar 23 12:13:13 2007 +# by: The PyQt User Interface Compiler (pyuic) 3.13 +# +# 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.setMinimumSize(QSize(350,0)) + + + self.bSup = QPushButton(self,"bSup") + self.bSup.setGeometry(QRect(310,420,142,30)) + self.bSup.setAutoDefault(1) + + self.bOk = QPushButton(self,"bOk") + self.bOk.setGeometry(QRect(160,420,142,30)) + self.bOk.setAutoDefault(1) + self.bOk.setDefault(1) + + self.bHelp = QPushButton(self,"bHelp") + self.bHelp.setGeometry(QRect(10,420,142,30)) + self.bHelp.setAutoDefault(1) + + self.bAjout = QPushButton(self,"bAjout") + self.bAjout.setGeometry(QRect(160,260,142,30)) + self.bAjout.setAutoDefault(1) + self.bAjout.setDefault(1) + + self.textLabel1_2_2 = QLabel(self,"textLabel1_2_2") + self.textLabel1_2_2.setGeometry(QRect(180,170,89,33)) + + self.textLabel1 = QLabel(self,"textLabel1") + self.textLabel1.setGeometry(QRect(160,50,140,36)) + + self.textLabel1_2 = QLabel(self,"textLabel1_2") + self.textLabel1_2.setGeometry(QRect(170,80,120,20)) + + self.MCFacteur = QLabel(self,"MCFacteur") + self.MCFacteur.setGeometry(QRect(200,120,50,20)) + + self.languageChange() + + self.resize(QSize(459,480).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) + + + def languageChange(self): + self.setCaption(self.__tr("Form1")) + self.bSup.setText(self.__tr("&Supprimer")) + self.bSup.setAccel(self.__tr("Alt+S")) + QToolTip.add(self.bSup,self.__tr("suppression du mot clef")) + self.bOk.setText(self.__tr("&Valider")) + self.bOk.setAccel(self.__tr("Shift+A, Alt+A, Alt+A, Alt+A")) + QToolTip.add(self.bOk,self.__tr("validation de la saisie")) + self.bHelp.setText(self.__tr("&Documentation")) + self.bHelp.setAccel(self.__tr("Alt+D")) + QToolTip.add(self.bHelp,self.__tr("affichage documentation aster")) + self.bAjout.setText(self.__tr("&Ajouter")) + self.bAjout.setAccel(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.textLabel1.setText(self.__tr("

Pour ajouter une autre occurrence

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

du mot clef-facteur

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

AFFE

")) + + + def BAjoutClicked(self): + print "DMCListAjout.BAjoutClicked(): Not implemented yet" + + def BSupPressed(self): + print "DMCListAjout.BSupPressed(): Not implemented yet" + + def __tr(self,s,c = None): + return qApp.translate("DMCListAjout",s,c) diff --git a/Ui/desMCListAjout.ui b/Ui/desMCListAjout.ui new file mode 100644 index 00000000..935c7bd7 --- /dev/null +++ b/Ui/desMCListAjout.ui @@ -0,0 +1,220 @@ + +DMCListAjout + + + DMCListAjout + + + + 0 + 0 + 459 + 480 + + + + + 350 + 0 + + + + Form1 + + + + bSup + + + + 310 + 420 + 142 + 30 + + + + &Supprimer + + + Alt+S + + + true + + + suppression du mot clef + + + + + bOk + + + + 160 + 420 + 142 + 30 + + + + &Valider + + + Shift+A, Alt+A, Alt+A, Alt+A + + + true + + + true + + + validation de la saisie + + + + + bHelp + + + + 10 + 420 + 142 + 30 + + + + &Documentation + + + Alt+D + + + true + + + affichage documentation aster + + + + + bAjout + + + + 160 + 260 + 142 + 30 + + + + &Ajouter + + + Alt+A + + + true + + + true + + + validation de la saisie + + + + + textLabel1_2_2 + + + + 180 + 170 + 89 + 33 + + + + <p align="center"><font size="+1">cliquez ci-dessous</font> </p> + + + + + textLabel1 + + + + 160 + 50 + 140 + 36 + + + + <p align="center"><font size="+1">Pour ajouter une autre occurrence</font></p> + + + + + textLabel1_2 + + + + 170 + 80 + 120 + 20 + + + + <p align="center"><font size="+1">du mot clef-facteur</font> </p> + + + + + MCFacteur + + + + 200 + 120 + 50 + 20 + + + + <p align="center">AFFE</p> + + + + + + bOk + clicked() + DMCListAjout + BAjoutClicked() + + + bAjout + clicked() + DMCListAjout + BAjoutClicked() + + + bSup + clicked() + DMCListAjout + BSupPressed() + + + + BAjoutClicked() + BSupPressed() + + + diff --git a/Ui/desMacro.py b/Ui/desMacro.py new file mode 100644 index 00000000..56bb96f0 --- /dev/null +++ b/Ui/desMacro.py @@ -0,0 +1,183 @@ +# -*- coding: utf-8 -*- + +# Form implementation generated from reading ui file 'desMacro.ui' +# +# Created: lun mar 12 09:37:12 2007 +# by: The PyQt User Interface Compiler (pyuic) 3.13 +# +# 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" \ + "\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 DMacro(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("DMacro") + + self.setMinimumSize(QSize(505,0)) + + + self.Commentaire = QLabel(self,"Commentaire") + self.Commentaire.setGeometry(QRect(10,410,490,20)) + + self.bSup = QPushButton(self,"bSup") + self.bSup.setGeometry(QRect(320,440,142,30)) + self.bSup.setAutoDefault(1) + + self.bOk = QPushButton(self,"bOk") + self.bOk.setGeometry(QRect(170,440,142,30)) + self.bOk.setAutoDefault(1) + self.bOk.setDefault(1) + + self.bHelp = QPushButton(self,"bHelp") + self.bHelp.setGeometry(QRect(10,440,142,30)) + self.bHelp.setAutoDefault(1) + + self.TWChoix = QTabWidget(self,"TWChoix") + self.TWChoix.setGeometry(QRect(0,0,500,400)) + + self.MotClef = QWidget(self.TWChoix,"MotClef") + + self.textLabel1_2 = QLabel(self.MotClef,"textLabel1_2") + self.textLabel1_2.setGeometry(QRect(360,0,50,37)) + + self.LBMCPermis = QListBox(self.MotClef,"LBMCPermis") + self.LBMCPermis.setGeometry(QRect(10,40,220,290)) + self.LBMCPermis.setMinimumSize(QSize(0,0)) + + self.LBRegles = QListBox(self.MotClef,"LBRegles") + self.LBRegles.setGeometry(QRect(260,40,230,290)) + + self.textLabel1 = QLabel(self.MotClef,"textLabel1") + self.textLabel1.setGeometry(QRect(50,10,120,20)) + self.textLabel1.setMinimumSize(QSize(0,0)) + self.TWChoix.insertTab(self.MotClef,QString("")) + + self.Commande = QWidget(self.TWChoix,"Commande") + + self.textLabel6 = QLabel(self.Commande,"textLabel6") + self.textLabel6.setGeometry(QRect(10,60,60,30)) + + self.textLabel4 = QLabel(self.Commande,"textLabel4") + self.textLabel4.setGeometry(QRect(90,340,300,30)) + + self.LBNouvCommande = QListBox(self.Commande,"LBNouvCommande") + self.LBNouvCommande.setGeometry(QRect(50,100,410,240)) + + self.buttonGroup1 = QButtonGroup(self.Commande,"buttonGroup1") + self.buttonGroup1.setGeometry(QRect(300,20,151,70)) + + 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,101,20)) + self.RBalpha.setChecked(1) + + self.LEFiltre = QLineEdit(self.Commande,"LEFiltre") + self.LEFiltre.setGeometry(QRect(50,60,160,30)) + + self.textLabel1_4 = QLabel(self.Commande,"textLabel1_4") + self.textLabel1_4.setGeometry(QRect(50,20,171,21)) + + self.BNext = QToolButton(self.Commande,"BNext") + self.BNext.setGeometry(QRect(220,60,30,31)) + self.BNext.setIconSet(QIconSet(self.image0)) + self.TWChoix.insertTab(self.Commande,QString("")) + + self.languageChange() + + self.resize(QSize(521,499).expandedTo(self.minimumSizeHint())) + self.clearWState(Qt.WState_Polished) + + self.connect(self.LBNouvCommande,SIGNAL("clicked(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) + + + def languageChange(self): + self.setCaption(self.__tr("DMacro")) + self.Commentaire.setText(QString.null) + self.bSup.setText(self.__tr("&Supprimer")) + self.bSup.setAccel(self.__tr("Alt+S")) + QToolTip.add(self.bSup,self.__tr("suppression du mot clef")) + self.bOk.setText(self.__tr("&Valider")) + self.bOk.setAccel(self.__tr("Shift+A, Alt+A, Alt+A, Alt+A")) + QToolTip.add(self.bOk,self.__tr("validation de la saisie")) + self.bHelp.setText(self.__tr("&Documentation")) + self.bHelp.setAccel(self.__tr("Alt+D")) + QToolTip.add(self.bHelp,self.__tr("affichage documentation aster")) + 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.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.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.BNext.setText(QString.null) + QToolTip.add(self.BNext,self.__tr("affiche la prochaine occurence")) + self.TWChoix.changeTab(self.Commande,self.__tr("Nouvelle Commande")) + + + 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 __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/desPlusieursBase.py b/Ui/desPlusieursBase.py new file mode 100644 index 00000000..9d7be2a4 --- /dev/null +++ b/Ui/desPlusieursBase.py @@ -0,0 +1,198 @@ +# -*- coding: utf-8 -*- + +# Form implementation generated from reading ui file 'desPlusieursBase.ui' +# +# Created: jeu mar 29 08:57:36 2007 +# by: The PyQt User Interface Compiler (pyuic) 3.13 +# +# 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 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") + if not name: + self.setName("DPlusBase") + + self.setMinimumSize(QSize(350,0)) + + + self.tabuniqueinto = QTabWidget(self,"tabuniqueinto") + self.tabuniqueinto.setGeometry(QRect(20,20,450,440)) + + self.Widget8 = QWidget(self.tabuniqueinto,"Widget8") + + self.bHelp = QPushButton(self.Widget8,"bHelp") + self.bHelp.setGeometry(QRect(0,370,142,30)) + self.bHelp.setAutoDefault(1) + + self.bOk = QPushButton(self.Widget8,"bOk") + self.bOk.setGeometry(QRect(150,370,142,30)) + self.bOk.setAutoDefault(1) + self.bOk.setDefault(1) + + self.bSup = QPushButton(self.Widget8,"bSup") + self.bSup.setGeometry(QRect(300,370,142,30)) + self.bSup.setAutoDefault(1) + + self.bParam = QPushButton(self.Widget8,"bParam") + self.bParam.setGeometry(QRect(290,240,142,30)) + self.bParam.setAutoDefault(1) + + self.bImport = QPushButton(self.Widget8,"bImport") + self.bImport.setGeometry(QRect(290,280,142,30)) + self.bImport.setAutoDefault(1) + + self.Commentaire = QLabel(self.Widget8,"Commentaire") + self.Commentaire.setGeometry(QRect(38,337,381,20)) + + self.textLabel1 = QLabel(self.Widget8,"textLabel1") + self.textLabel1.setGeometry(QRect(40,20,120,21)) + + self.textLabel1_2 = QLabel(self.Widget8,"textLabel1_2") + self.textLabel1_2.setGeometry(QRect(330,80,45,21)) + + self.BAjout1Val = QToolButton(self.Widget8,"BAjout1Val") + self.BAjout1Val.setGeometry(QRect(230,120,40,31)) + self.BAjout1Val.setIconSet(QIconSet(self.image0)) + + self.BSup1Val = QToolButton(self.Widget8,"BSup1Val") + self.BSup1Val.setGeometry(QRect(230,80,40,31)) + self.BSup1Val.setIconSet(QIconSet(self.image1)) + + self.LBValeurs = QListBox(self.Widget8,"LBValeurs") + self.LBValeurs.setGeometry(QRect(20,50,180,280)) + + self.LEValeur = QLineEdit(self.Widget8,"LEValeur") + self.LEValeur.setGeometry(QRect(280,110,150,30)) + self.tabuniqueinto.insertTab(self.Widget8,QString("")) + + self.languageChange() + + self.resize(QSize(482,480).expandedTo(self.minimumSizeHint())) + self.clearWState(Qt.WState_Polished) + + self.connect(self.bHelp,SIGNAL("clicked()"),self.ViewDoc) + self.connect(self.bOk,SIGNAL("clicked()"),self.BOkPressed) + self.connect(self.bSup,SIGNAL("clicked()"),self.BSupPressed) + self.connect(self.LBValeurs,SIGNAL("pressed(QListBoxItem*)"),self.LBValReturnPressed) + 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) + + + def languageChange(self): + self.setCaption(self.__tr("DUnIn")) + self.bHelp.setText(self.__tr("&Documentation")) + self.bHelp.setAccel(self.__tr("Alt+D")) + QToolTip.add(self.bHelp,self.__tr("affichage documentation aster")) + self.bOk.setText(self.__tr("&Valider")) + self.bOk.setAccel(self.__tr("Shift+A, Alt+A, Alt+A, Alt+A")) + QToolTip.add(self.bOk,self.__tr("validation de la saisie")) + self.bSup.setText(self.__tr("&Supprimer")) + self.bSup.setAccel(self.__tr("Alt+S")) + QToolTip.add(self.bSup,self.__tr("suppression du mot clef")) + self.bParam.setText(self.__tr("&Parametres")) + self.bParam.setAccel(self.__tr("Alt+P")) + QToolTip.add(self.bParam,self.__tr("suppression du mot clef")) + self.bImport.setText(self.__tr("&Importer")) + self.bImport.setAccel(self.__tr("Alt+I")) + QToolTip.add(self.bImport,self.__tr("suppression du mot clef")) + self.Commentaire.setText(QString.null) + self.textLabel1.setText(self.__tr("Valeur(s) actuelle(s)")) + self.textLabel1_2.setText(self.__tr("Valeur")) + 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 "DPlusBase.BSupPressed(): Not implemented yet" + + def ViewDoc(self): + print "DPlusBase.ViewDoc(): Not implemented yet" + + def BOkPressed(self): + print "DPlusBase.BOkPressed(): Not implemented yet" + + def LBValReturnPressed(self): + print "DPlusBase.LBValReturnPressed(): 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 __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/desRacine.py b/Ui/desRacine.py new file mode 100644 index 00000000..05651fb1 --- /dev/null +++ b/Ui/desRacine.py @@ -0,0 +1,155 @@ +# -*- coding: utf-8 -*- + +# Form implementation generated from reading ui file 'desRacine.ui' +# +# Created: lun mar 12 10:51:25 2007 +# by: The PyQt User Interface Compiler (pyuic) 3.13 +# +# 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" \ + "\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 DRac(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("DRac") + + self.setMinimumSize(QSize(505,0)) + + + self.bHelp = QPushButton(self,"bHelp") + self.bHelp.setGeometry(QRect(10,440,142,30)) + self.bHelp.setAutoDefault(1) + + self.textLabel6 = QLabel(self,"textLabel6") + self.textLabel6.setGeometry(QRect(10,70,30,30)) + + self.textLabel1_4_2 = QLabel(self,"textLabel1_4_2") + self.textLabel1_4_2.setGeometry(QRect(350,0,50,21)) + + self.LEFiltre = QLineEdit(self,"LEFiltre") + self.LEFiltre.setGeometry(QRect(50,70,140,30)) + + self.BNext = QToolButton(self,"BNext") + self.BNext.setGeometry(QRect(200,70,30,31)) + self.BNext.setIconSet(QIconSet(self.image0)) + + self.textLabel1_4 = QLabel(self,"textLabel1_4") + self.textLabel1_4.setGeometry(QRect(90,0,75,21)) + + self.buttonGroup1 = QButtonGroup(self,"buttonGroup1") + self.buttonGroup1.setGeometry(QRect(10,20,230,40)) + + self.RBGroupe = QRadioButton(self.buttonGroup1,"RBGroupe") + self.RBGroupe.setGeometry(QRect(20,10,101,20)) + + self.RBalpha = QRadioButton(self.buttonGroup1,"RBalpha") + self.RBalpha.setGeometry(QRect(140,10,80,20)) + self.RBalpha.setChecked(1) + + self.bOk = QPushButton(self,"bOk") + self.bOk.setGeometry(QRect(180,440,142,30)) + self.bOk.setAutoDefault(1) + self.bOk.setDefault(1) + + self.bSup = QPushButton(self,"bSup") + self.bSup.setGeometry(QRect(350,440,142,30)) + self.bSup.setAutoDefault(1) + + self.LBNouvCommande = QListBox(self,"LBNouvCommande") + self.LBNouvCommande.setGeometry(QRect(10,110,230,320)) + + self.LBRegles = QListBox(self,"LBRegles") + self.LBRegles.setGeometry(QRect(260,30,230,400)) + + self.languageChange() + + self.resize(QSize(505,499).expandedTo(self.minimumSizeHint())) + self.clearWState(Qt.WState_Polished) + + self.connect(self.LBNouvCommande,SIGNAL("clicked(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) + + + def languageChange(self): + self.setCaption(self.__tr("DMacro")) + self.bHelp.setText(self.__tr("&Documentation")) + self.bHelp.setAccel(self.__tr("Alt+D")) + QToolTip.add(self.bHelp,self.__tr("affichage documentation aster")) + self.textLabel6.setText(self.__tr("Filtre")) + self.textLabel1_4_2.setText(self.__trUtf8("\x3c\x62\x3e\x3c\x75\x3e\x52\xc3\xa9\x67\x6c\x65\x73\x20\x3a\x3c\x2f\x75\x3e\x3c\x2f\x62\x3e")) + self.BNext.setText(QString.null) + QToolTip.add(self.BNext,self.__tr("affiche la prochaine occurence")) + 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.bOk.setText(self.__tr("&Valider")) + self.bOk.setAccel(self.__tr("Shift+A, Alt+A, Alt+A, Alt+A")) + QToolTip.add(self.bOk,self.__tr("validation de la saisie")) + self.bSup.setText(self.__tr("&Supprimer")) + self.bSup.setAccel(self.__tr("Alt+S")) + QToolTip.add(self.bSup,self.__tr("suppression du mot clef")) + + + 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 __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/desRacine.ui b/Ui/desRacine.ui new file mode 100644 index 00000000..73b8dca7 --- /dev/null +++ b/Ui/desRacine.ui @@ -0,0 +1,328 @@ + +DRac + + + DRac + + + + 0 + 0 + 505 + 499 + + + + + 505 + 0 + + + + DMacro + + + + bHelp + + + + 10 + 440 + 142 + 30 + + + + &Documentation + + + Alt+D + + + true + + + affichage documentation aster + + + + + textLabel6 + + + + 10 + 70 + 30 + 30 + + + + Filtre + + + + + textLabel1_4_2 + + + + 350 + 0 + 50 + 21 + + + + <b><u>Régles :</u></b> + + + + + LEFiltre + + + + 50 + 70 + 140 + 30 + + + + + + BNext + + + + 200 + 70 + 30 + 31 + + + + + + + image0 + + + affiche la prochaine occurence + + + + + textLabel1_4 + + + + 90 + 0 + 75 + 21 + + + + <b><u>Commandes :</u></b> + + + + + buttonGroup1 + + + + 10 + 20 + 230 + 40 + + + + Affichage + + + + RBGroupe + + + + 20 + 10 + 101 + 20 + + + + par groupe + + + + + RBalpha + + + + 140 + 10 + 80 + 20 + + + + alphabétique + + + true + + + + + + bOk + + + + 180 + 440 + 142 + 30 + + + + &Valider + + + Shift+A, Alt+A, Alt+A, Alt+A + + + true + + + true + + + validation de la saisie + + + + + bSup + + + + 350 + 440 + 142 + 30 + + + + &Supprimer + + + Alt+S + + + true + + + suppression du mot clef + + + + + LBNouvCommande + + + + 10 + 110 + 230 + 320 + + + + + + LBRegles + + + + 260 + 30 + 230 + 400 + + + + + + + 89504e470d0a1a0a0000000d49484452000000210000000e0806000000a11e758c000000cf49444154388dd594db0ec3200c43edfdf8d897bb0f345b480845d51eb64888f412e76001c00f046fd6e99bba77200480924a1032c92efbd8c7d5cabcc025400099e957849568fe7f06c0ded1deb32b4a1ec4ea824b9e74097165bd01f85527f78a7201e0a3129f345a017c543bafdc983d0f7109d15a331b471f47072c17494a82338f6178203a8817e67306b1f08b07ba03e602c9b831077e37e0209e67e3386710977b17de80c185ad38695a51d522c82ce77912e2fed8be83762092f52b1820dd11bb10e565b53a5a3bbaff130713d66fa6981857060000000049454e44ae426082 + + + + + LBNouvCommande + clicked(QListBoxItem*) + DRac + LBNouvCommandeClicked() + + + LEFiltre + textChanged(const QString&) + DRac + LEFiltreTextChanged() + + + LEFiltre + returnPressed() + DRac + LEfiltreReturnPressed() + + + bSup + pressed() + DRac + BSupPressed() + + + bOk + clicked() + DRac + BOkPressed() + + + RBalpha + clicked() + DRac + buildTabCommand() + + + RBGroupe + clicked() + DRac + buildTabCommand() + + + BNext + clicked() + DRac + BNextPressed() + + + + LBNouvCommandeClicked() + LEFiltreTextChanged() + LEfiltreReturnPressed() + BSupPressed() + BOkPressed() + buildTabCommand() + BNextPressed() + + + diff --git a/Ui/desUniqueASSD.py b/Ui/desUniqueASSD.py new file mode 100644 index 00000000..24b38d77 --- /dev/null +++ b/Ui/desUniqueASSD.py @@ -0,0 +1,91 @@ +# -*- coding: utf-8 -*- + +# Form implementation generated from reading ui file 'desUniqueASSD.ui' +# +# Created: mer mar 21 10:41:08 2007 +# by: The PyQt User Interface Compiler (pyuic) 3.13 +# +# 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(350,0)) + + + self.tabuniqueinto = QTabWidget(self,"tabuniqueinto") + self.tabuniqueinto.setGeometry(QRect(10,20,460,440)) + + self.Widget8 = QWidget(self.tabuniqueinto,"Widget8") + + self.bSup = QPushButton(self.Widget8,"bSup") + self.bSup.setGeometry(QRect(310,370,142,30)) + self.bSup.setAutoDefault(1) + + self.bOk = QPushButton(self.Widget8,"bOk") + self.bOk.setGeometry(QRect(160,370,142,30)) + self.bOk.setAutoDefault(1) + self.bOk.setDefault(1) + + self.bHelp = QPushButton(self.Widget8,"bHelp") + self.bHelp.setGeometry(QRect(10,370,142,30)) + self.bHelp.setAutoDefault(1) + + self.textLabel2 = QLabel(self.Widget8,"textLabel2") + self.textLabel2.setGeometry(QRect(140,20,160,60)) + + self.Commentaire = QLabel(self.Widget8,"Commentaire") + self.Commentaire.setGeometry(QRect(40,311,381,30)) + + self.listBoxASSD = QListBox(self.Widget8,"listBoxASSD") + self.listBoxASSD.setGeometry(QRect(40,100,380,180)) + self.tabuniqueinto.insertTab(self.Widget8,QString("")) + + self.languageChange() + + self.resize(QSize(482,480).expandedTo(self.minimumSizeHint())) + self.clearWState(Qt.WState_Polished) + + self.connect(self.bHelp,SIGNAL("clicked()"),self.ViewDoc) + self.connect(self.bOk,SIGNAL("clicked()"),self.BOkPressed) + self.connect(self.bSup,SIGNAL("clicked()"),self.BSupPressed) + + + def languageChange(self): + self.setCaption(self.__tr("DUnIn")) + self.bSup.setText(self.__tr("&Supprimer")) + self.bSup.setAccel(self.__tr("Alt+S")) + QToolTip.add(self.bSup,self.__tr("suppression du mot clef")) + self.bOk.setText(self.__tr("&Valider")) + self.bOk.setAccel(self.__tr("Shift+A, Alt+A, Alt+A, Alt+A")) + QToolTip.add(self.bOk,self.__tr("validation de la saisie")) + self.bHelp.setText(self.__tr("&Documentation")) + self.bHelp.setAccel(self.__tr("Alt+D")) + QToolTip.add(self.bHelp,self.__tr("affichage documentation aster")) + 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.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/desUniqueASSD.ui b/Ui/desUniqueASSD.ui new file mode 100644 index 00000000..a22cbb9e --- /dev/null +++ b/Ui/desUniqueASSD.ui @@ -0,0 +1,196 @@ + +DUnASSD + + + DUnASSD + + + + 0 + 0 + 482 + 480 + + + + + 350 + 0 + + + + DUnIn + + + + tabuniqueinto + + + + 10 + 20 + 460 + 440 + + + + + Widget8 + + + Saisir Valeur + + + + bSup + + + + 310 + 370 + 142 + 30 + + + + &Supprimer + + + Alt+S + + + true + + + suppression du mot clef + + + + + bOk + + + + 160 + 370 + 142 + 30 + + + + &Valider + + + Shift+A, Alt+A, Alt+A, Alt+A + + + true + + + true + + + validation de la saisie + + + + + bHelp + + + + 10 + 370 + 142 + 30 + + + + &Documentation + + + Alt+D + + + true + + + affichage documentation aster + + + + + textLabel2 + + + + 140 + 20 + 160 + 60 + + + + <font size="+1"><p align="center">Structures de données du type +requis par l'objet courant :</p></font> + + + + + Commentaire + + + + 40 + 311 + 381 + 30 + + + + + + + + + listBoxASSD + + + + 40 + 100 + 380 + 180 + + + + + + + + + bHelp + clicked() + DUnASSD + ViewDoc() + + + bOk + clicked() + DUnASSD + BOkPressed() + + + bSup + clicked() + DUnASSD + BSupPressed() + + + + BSupPressed() + ViewDoc() + BOkPressed() + + + diff --git a/Ui/desUniqueBase.py b/Ui/desUniqueBase.py new file mode 100644 index 00000000..7f69b8ea --- /dev/null +++ b/Ui/desUniqueBase.py @@ -0,0 +1,99 @@ +# -*- coding: utf-8 -*- + +# Form implementation generated from reading ui file 'desUniqueBasePanel.ui' +# +# Created: mar mar 20 14:05:29 2007 +# by: The PyQt User Interface Compiler (pyuic) 3.13 +# +# WARNING! All changes made in this file will be lost! + + +from qt import * + + +class DUnBase(QWidget): + def __init__(self,parent = None,name = None,fl = 0): + QWidget.__init__(self,parent,name,fl) + + if not name: + self.setName("DUnBase") + + self.setMinimumSize(QSize(350,0)) + + + self.tabuniqueinto = QTabWidget(self,"tabuniqueinto") + self.tabuniqueinto.setGeometry(QRect(10,20,460,440)) + + self.Widget8 = QWidget(self.tabuniqueinto,"Widget8") + + self.bSup = QPushButton(self.Widget8,"bSup") + self.bSup.setGeometry(QRect(310,370,142,30)) + self.bSup.setAutoDefault(1) + + self.bOk = QPushButton(self.Widget8,"bOk") + self.bOk.setGeometry(QRect(160,370,142,30)) + self.bOk.setAutoDefault(1) + self.bOk.setDefault(1) + + self.bHelp = QPushButton(self.Widget8,"bHelp") + self.bHelp.setGeometry(QRect(10,370,142,30)) + self.bHelp.setAutoDefault(1) + + self.Commentaire = QLabel(self.Widget8,"Commentaire") + self.Commentaire.setGeometry(QRect(38,316,381,41)) + + self.textLabel2 = QLabel(self.Widget8,"textLabel2") + self.textLabel2.setGeometry(QRect(40,160,50,21)) + + self.lineEditVal = QLineEdit(self.Widget8,"lineEditVal") + self.lineEditVal.setGeometry(QRect(120,150,231,31)) + + self.bParametres = QPushButton(self.Widget8,"bParametres") + self.bParametres.setGeometry(QRect(300,10,140,30)) + self.tabuniqueinto.insertTab(self.Widget8,QString("")) + + self.languageChange() + + self.resize(QSize(482,480).expandedTo(self.minimumSizeHint())) + self.clearWState(Qt.WState_Polished) + + self.connect(self.bHelp,SIGNAL("clicked()"),self.ViewDoc) + self.connect(self.bOk,SIGNAL("clicked()"),self.BOk2Pressed) + self.connect(self.bSup,SIGNAL("clicked()"),self.BSupPressed) + self.connect(self.lineEditVal,SIGNAL("returnPressed()"),self.LEValeurPressed) + + + def languageChange(self): + self.setCaption(self.__tr("DUnIn")) + self.bSup.setText(self.__tr("&Supprimer")) + self.bSup.setAccel(self.__tr("Alt+S")) + QToolTip.add(self.bSup,self.__tr("suppression du mot clef")) + self.bOk.setText(self.__tr("&Valider")) + self.bOk.setAccel(self.__tr("Shift+A, Alt+A, Alt+A, Alt+A")) + QToolTip.add(self.bOk,self.__tr("validation de la saisie")) + self.bHelp.setText(self.__tr("&Documentation")) + self.bHelp.setAccel(self.__tr("Alt+D")) + QToolTip.add(self.bHelp,self.__tr("affichage documentation aster")) + self.Commentaire.setText(QString.null) + self.textLabel2.setText(self.__tr("

Valeur:

")) + self.bParametres.setText(self.__tr("Parametres")) + 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 __tr(self,s,c = None): + return qApp.translate("DUnBase",s,c) diff --git a/Ui/visualisation.ui b/Ui/visualisation.ui index 897268b9..68c9644d 100644 --- a/Ui/visualisation.ui +++ b/Ui/visualisation.ui @@ -1,8 +1,8 @@ -Form2 +visual - Form2 + visual @@ -40,34 +40,34 @@ - pushButton4_2 + pushBOK - 470 + 120 8 - 120 + 121 25 - Sauver + Fermer - pushButton4 + pushBSave - 120 + 470 8 - 121 + 120 25 - Fermer + Sauver @@ -85,5 +85,22 @@
+ + + pushBOK + clicked() + visual + close() + + + pushBSave + clicked() + visual + Save() + + + + Save() +