From f0f8d6a0c73aaa95c6fbffdb9f0b7a12be0cc4a4 Mon Sep 17 00:00:00 2001 From: Pascale Noyret Date: Tue, 7 Jul 2009 13:55:58 +0000 Subject: [PATCH] *** empty log message *** --- InterfaceQT4/monPixmap.py | 51 +++++++++ InterfaceQT4/qtEficas.py | 6 ++ UiQT4/OptionsEditeur.py | 117 -------------------- UiQT4/OptionsPdf.py | 50 --------- UiQT4/aideQT.py | 56 ---------- UiQT4/desChoixCata.py | 79 -------------- UiQT4/desCommande.py | 213 ------------------------------------- UiQT4/desCommentaire.py | 124 --------------------- UiQT4/desError.py | 63 ----------- UiQT4/desFormule.py | 198 ---------------------------------- UiQT4/desInactif.py | 73 ------------- UiQT4/desInclude.py | 185 -------------------------------- UiQT4/desListeParam.py | 36 ------- UiQT4/desMCFact.py | 74 ------------- UiQT4/desMCListAjout.py | 80 -------------- UiQT4/desParam.py | 169 ----------------------------- UiQT4/desPlusieursBase.py | 180 ------------------------------- UiQT4/desPlusieursInto.py | 115 -------------------- UiQT4/desPoursuite.py | 164 ---------------------------- UiQT4/desRacine.py | 139 ------------------------ UiQT4/desSelectVal.py | 60 ----------- UiQT4/desUniqueASSD.py | 75 ------------- UiQT4/desUniqueBase.py | 139 ------------------------ UiQT4/desUniqueComp.py | 113 -------------------- UiQT4/desUniqueInto.py | 74 ------------- UiQT4/desUniqueSDCO.py | 74 ------------- UiQT4/desUniqueSDCOInto.py | 95 ----------------- UiQT4/desViewTexte.py | 47 -------- UiQT4/desVisu.py | 36 ------- UiQT4/makefile | 3 + UiQT4/myMain.py | 182 ------------------------------- 31 files changed, 60 insertions(+), 3010 deletions(-) create mode 100644 InterfaceQT4/monPixmap.py delete mode 100644 UiQT4/OptionsEditeur.py delete mode 100644 UiQT4/OptionsPdf.py delete mode 100644 UiQT4/aideQT.py delete mode 100644 UiQT4/desChoixCata.py delete mode 100644 UiQT4/desCommande.py delete mode 100644 UiQT4/desCommentaire.py delete mode 100644 UiQT4/desError.py delete mode 100644 UiQT4/desFormule.py delete mode 100644 UiQT4/desInactif.py delete mode 100644 UiQT4/desInclude.py delete mode 100644 UiQT4/desListeParam.py delete mode 100644 UiQT4/desMCFact.py delete mode 100644 UiQT4/desMCListAjout.py delete mode 100644 UiQT4/desParam.py delete mode 100644 UiQT4/desPlusieursBase.py delete mode 100644 UiQT4/desPlusieursInto.py delete mode 100644 UiQT4/desPoursuite.py delete mode 100644 UiQT4/desRacine.py delete mode 100644 UiQT4/desSelectVal.py delete mode 100644 UiQT4/desUniqueASSD.py delete mode 100644 UiQT4/desUniqueBase.py delete mode 100644 UiQT4/desUniqueComp.py delete mode 100644 UiQT4/desUniqueInto.py delete mode 100644 UiQT4/desUniqueSDCO.py delete mode 100644 UiQT4/desUniqueSDCOInto.py delete mode 100644 UiQT4/desViewTexte.py delete mode 100644 UiQT4/desVisu.py delete mode 100644 UiQT4/myMain.py diff --git a/InterfaceQT4/monPixmap.py b/InterfaceQT4/monPixmap.py new file mode 100644 index 00000000..b2860e61 --- /dev/null +++ b/InterfaceQT4/monPixmap.py @@ -0,0 +1,51 @@ +# -*- coding: utf-8 -*- +# CONFIGURATION MANAGEMENT OF EDF VERSION +# ====================================================================== +# COPYRIGHT (C) 1991 - 2002 EDF R&D WWW.CODE-ASTER.ORG +# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY +# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY +# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR +# (AT YOUR OPTION) ANY LATER VERSION. +# +# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT +# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF +# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU +# GENERAL PUBLIC LICENSE FOR MORE DETAILS. +# +# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE +# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, +# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. +# +# +# ====================================================================== +# Modules Python +# Modules Eficas + +from desPixmap import Ui_LabelPixmap +from PyQt4 import * +from PyQt4.QtCore import * +from PyQt4.QtGui import * +from PyQt4.QtCore import * + + +# Import des panels + +class MonLabelPixmap(Ui_LabelPixmap,QtGui.QDialog): + """ + Classe définissant le panel associé aux mots-clés qui demandent + à l'utilisateur de choisir une seule valeur parmi une liste de valeurs + discrètes + """ + def __init__(self, QWparent , fichier = "/home/noyret/ast-red-ball.png"): + QtGui.QDialog.__init__(self,QWparent) + self.setModal(True) + self.setupUi(self) + self.labelPix.setPixmap(QPixmap(fichier)); + + + def on_buttonCancel_clicked(self): + QDialog.reject(self) + + def on_buttonOk_clicked(self): + QDialog.accept(self) + diff --git a/InterfaceQT4/qtEficas.py b/InterfaceQT4/qtEficas.py index 5d27974e..76b52344 100644 --- a/InterfaceQT4/qtEficas.py +++ b/InterfaceQT4/qtEficas.py @@ -25,6 +25,7 @@ class Appli(Ui_Eficas,QMainWindow): self.format_fichier="python" #par defaut self.top = self #(pour CONFIGURATION) self.QWParent=None #(Pour lancement sans IHM) + self.indice=0 import prefs if salome : @@ -310,6 +311,11 @@ class Appli(Ui_Eficas,QMainWindow): def NewInclude(self): self.viewmanager.newIncludeEditor() + def getName(self): + self.indice=self.indice+1 + texte="/tmp/tempo"+str(self.indice) + return texte + if __name__=='__main__': diff --git a/UiQT4/OptionsEditeur.py b/UiQT4/OptionsEditeur.py deleted file mode 100644 index 8406bfb0..00000000 --- a/UiQT4/OptionsEditeur.py +++ /dev/null @@ -1,117 +0,0 @@ -# -*- coding: utf-8 -*- - -# Form implementation generated from reading ui file 'OptionsEditeur.ui' -# -# Created: Fri Jun 19 11:40:14 2009 -# by: PyQt4 UI code generator 4.4.3 -# -# WARNING! All changes made in this file will be lost! - -from PyQt4 import QtCore, QtGui - -class Ui_desOptions(object): - def setupUi(self, desOptions): - desOptions.setObjectName("desOptions") - desOptions.resize(570, 474) - self.gridLayout = QtGui.QGridLayout(desOptions) - self.gridLayout.setObjectName("gridLayout") - self.groupBox1 = QtGui.QGroupBox(desOptions) - self.groupBox1.setMinimumSize(QtCore.QSize(548, 191)) - self.groupBox1.setObjectName("groupBox1") - self.textLabel1_3 = QtGui.QLabel(self.groupBox1) - self.textLabel1_3.setGeometry(QtCore.QRect(30, 60, 280, 20)) - self.textLabel1_3.setWordWrap(False) - self.textLabel1_3.setObjectName("textLabel1_3") - self.textLabel1_2_2 = QtGui.QLabel(self.groupBox1) - self.textLabel1_2_2.setGeometry(QtCore.QRect(30, 120, 280, 20)) - self.textLabel1_2_2.setWordWrap(False) - self.textLabel1_2_2.setObjectName("textLabel1_2_2") - self.CBVersions = QtGui.QComboBox(self.groupBox1) - self.CBVersions.setGeometry(QtCore.QRect(30, 20, 90, 30)) - self.CBVersions.setObjectName("CBVersions") - self.LERepMat = QtGui.QLineEdit(self.groupBox1) - self.LERepMat.setGeometry(QtCore.QRect(30, 140, 501, 31)) - self.LERepMat.setMinimumSize(QtCore.QSize(501, 31)) - self.LERepMat.setObjectName("LERepMat") - self.LERepCata = QtGui.QLineEdit(self.groupBox1) - self.LERepCata.setGeometry(QtCore.QRect(30, 80, 501, 31)) - self.LERepCata.setMinimumSize(QtCore.QSize(501, 31)) - self.LERepCata.setObjectName("LERepCata") - self.Bok = QtGui.QPushButton(self.groupBox1) - self.Bok.setGeometry(QtCore.QRect(440, 20, 90, 31)) - self.Bok.setMinimumSize(QtCore.QSize(90, 31)) - self.Bok.setAutoDefault(False) - self.Bok.setObjectName("Bok") - self.gridLayout.addWidget(self.groupBox1, 0, 0, 1, 2) - self.groupBox2 = QtGui.QGroupBox(desOptions) - self.groupBox2.setMinimumSize(QtCore.QSize(548, 90)) - self.groupBox2.setObjectName("groupBox2") - self.LEVersionAjout = QtGui.QLineEdit(self.groupBox2) - self.LEVersionAjout.setGeometry(QtCore.QRect(120, 31, 101, 30)) - self.LEVersionAjout.setMinimumSize(QtCore.QSize(101, 30)) - self.LEVersionAjout.setObjectName("LEVersionAjout") - self.LEVersionSup = QtGui.QLineEdit(self.groupBox2) - self.LEVersionSup.setGeometry(QtCore.QRect(410, 30, 101, 30)) - self.LEVersionSup.setObjectName("LEVersionSup") - self.PBSup = QtGui.QPushButton(self.groupBox2) - self.PBSup.setGeometry(QtCore.QRect(300, 20, 101, 41)) - self.PBSup.setMinimumSize(QtCore.QSize(101, 41)) - self.PBSup.setObjectName("PBSup") - self.PBajout = QtGui.QPushButton(self.groupBox2) - self.PBajout.setGeometry(QtCore.QRect(10, 20, 101, 41)) - self.PBajout.setMinimumSize(QtCore.QSize(101, 41)) - self.PBajout.setObjectName("PBajout") - self.gridLayout.addWidget(self.groupBox2, 1, 0, 1, 2) - self.groupBox3 = QtGui.QGroupBox(desOptions) - self.groupBox3.setMinimumSize(QtCore.QSize(548, 90)) - self.groupBox3.setObjectName("groupBox3") - self.LERepDoc = QtGui.QLineEdit(self.groupBox3) - self.LERepDoc.setGeometry(QtCore.QRect(20, 50, 520, 31)) - self.LERepDoc.setMinimumSize(QtCore.QSize(520, 31)) - self.LERepDoc.setObjectName("LERepDoc") - self.textLabel1 = QtGui.QLabel(self.groupBox3) - self.textLabel1.setGeometry(QtCore.QRect(20, 20, 280, 30)) - self.textLabel1.setWordWrap(False) - self.textLabel1.setObjectName("textLabel1") - self.gridLayout.addWidget(self.groupBox3, 2, 0, 1, 2) - self.Bdefaut = QtGui.QCheckBox(desOptions) - self.Bdefaut.setMinimumSize(QtCore.QSize(340, 20)) - font = QtGui.QFont() - font.setPointSize(12) - self.Bdefaut.setFont(font) - self.Bdefaut.setObjectName("Bdefaut") - self.gridLayout.addWidget(self.Bdefaut, 3, 0, 1, 1) - self.PBQuit = QtGui.QPushButton(desOptions) - self.PBQuit.setMinimumSize(QtCore.QSize(151, 31)) - self.PBQuit.setObjectName("PBQuit") - self.gridLayout.addWidget(self.PBQuit, 3, 1, 1, 1) - - self.retranslateUi(desOptions) - QtCore.QMetaObject.connectSlotsByName(desOptions) - - def retranslateUi(self, desOptions): - desOptions.setWindowTitle(QtGui.QApplication.translate("desOptions", "Options Aster", None, QtGui.QApplication.UnicodeUTF8)) - self.groupBox1.setTitle(QtGui.QApplication.translate("desOptions", "Configurer une Version", None, QtGui.QApplication.UnicodeUTF8)) - self.textLabel1_3.setText(QtGui.QApplication.translate("desOptions", "Répertoire d\'accès au catalogue :", None, QtGui.QApplication.UnicodeUTF8)) - self.textLabel1_2_2.setText(QtGui.QApplication.translate("desOptions", "Répertoire d\'accès aux matériaux :", None, QtGui.QApplication.UnicodeUTF8)) - self.Bok.setText(QtGui.QApplication.translate("desOptions", "Valider", None, QtGui.QApplication.UnicodeUTF8)) - self.groupBox2.setTitle(QtGui.QApplication.translate("desOptions", "Gérer les versions", None, QtGui.QApplication.UnicodeUTF8)) - self.PBSup.setText(QtGui.QApplication.translate("desOptions", "Supprimer\n" -"Version :", None, QtGui.QApplication.UnicodeUTF8)) - self.PBajout.setText(QtGui.QApplication.translate("desOptions", "Ajouter\n" -"Version :", None, QtGui.QApplication.UnicodeUTF8)) - self.groupBox3.setTitle(QtGui.QApplication.translate("desOptions", "Doc", None, QtGui.QApplication.UnicodeUTF8)) - self.textLabel1.setText(QtGui.QApplication.translate("desOptions", "Repertoire d\'acces à la documentation :", None, QtGui.QApplication.UnicodeUTF8)) - self.Bdefaut.setText(QtGui.QApplication.translate("desOptions", "Reinitialiser avec les valeurs par defaut", None, QtGui.QApplication.UnicodeUTF8)) - self.PBQuit.setText(QtGui.QApplication.translate("desOptions", "Quitter", None, QtGui.QApplication.UnicodeUTF8)) - - -if __name__ == "__main__": - import sys - app = QtGui.QApplication(sys.argv) - desOptions = QtGui.QDialog() - ui = Ui_desOptions() - ui.setupUi(desOptions) - desOptions.show() - sys.exit(app.exec_()) - diff --git a/UiQT4/OptionsPdf.py b/UiQT4/OptionsPdf.py deleted file mode 100644 index 9a787aab..00000000 --- a/UiQT4/OptionsPdf.py +++ /dev/null @@ -1,50 +0,0 @@ -# -*- coding: utf-8 -*- - -# Form implementation generated from reading ui file 'OptionsPdf.ui' -# -# Created: Fri Jun 19 11:40:14 2009 -# by: PyQt4 UI code generator 4.4.3 -# -# WARNING! All changes made in this file will be lost! - -from PyQt4 import QtCore, QtGui - -class Ui_desPdf(object): - def setupUi(self, desPdf): - desPdf.setObjectName("desPdf") - desPdf.resize(538, 142) - self.textLabel1_2 = QtGui.QLabel(desPdf) - self.textLabel1_2.setGeometry(QtCore.QRect(20, 10, 280, 20)) - self.textLabel1_2.setWordWrap(False) - self.textLabel1_2.setObjectName("textLabel1_2") - self.BCancel = QtGui.QPushButton(desPdf) - self.BCancel.setGeometry(QtCore.QRect(450, 90, 70, 31)) - self.BCancel.setObjectName("BCancel") - self.LERepPdf = QtGui.QLineEdit(desPdf) - self.LERepPdf.setGeometry(QtCore.QRect(20, 40, 501, 31)) - self.LERepPdf.setObjectName("LERepPdf") - self.Bok = QtGui.QPushButton(desPdf) - self.Bok.setGeometry(QtCore.QRect(350, 90, 70, 31)) - self.Bok.setObjectName("Bok") - - self.retranslateUi(desPdf) - desPdf.setTabOrder(self.LERepPdf, self.Bok) - desPdf.setTabOrder(self.Bok, self.BCancel) - - def retranslateUi(self, desPdf): - desPdf.setWindowTitle(QtGui.QApplication.translate("desPdf", "desPdf", None, QtGui.QApplication.UnicodeUTF8)) - self.textLabel1_2.setText(QtGui.QApplication.translate("desPdf", "Lecteur Pdf", None, QtGui.QApplication.UnicodeUTF8)) - self.BCancel.setText(QtGui.QApplication.translate("desPdf", "Cancel", None, QtGui.QApplication.UnicodeUTF8)) - self.LERepPdf.setText(QtGui.QApplication.translate("desPdf", "acroread", None, QtGui.QApplication.UnicodeUTF8)) - self.Bok.setText(QtGui.QApplication.translate("desPdf", "Ok", None, QtGui.QApplication.UnicodeUTF8)) - - -if __name__ == "__main__": - import sys - app = QtGui.QApplication(sys.argv) - desPdf = QtGui.QDialog() - ui = Ui_desPdf() - ui.setupUi(desPdf) - desPdf.show() - sys.exit(app.exec_()) - diff --git a/UiQT4/aideQT.py b/UiQT4/aideQT.py deleted file mode 100644 index 617e3ea8..00000000 --- a/UiQT4/aideQT.py +++ /dev/null @@ -1,56 +0,0 @@ -# -*- coding: utf-8 -*- - -# Form implementation generated from reading ui file 'aideQT.ui' -# -# Created: Fri Jun 19 11:40:14 2009 -# by: PyQt4 UI code generator 4.4.3 -# -# WARNING! All changes made in this file will be lost! - -from PyQt4 import QtCore, QtGui - -class Ui_Aide(object): - def setupUi(self, Aide): - Aide.setObjectName("Aide") - Aide.resize(602, 480) - self.gridLayout = QtGui.QGridLayout(Aide) - self.gridLayout.setObjectName("gridLayout") - self.TB1 = QtGui.QTextBrowser(Aide) - self.TB1.setObjectName("TB1") - self.gridLayout.addWidget(self.TB1, 0, 0, 1, 4) - self.PBIndex = QtGui.QPushButton(Aide) - self.PBIndex.setMinimumSize(QtCore.QSize(0, 30)) - self.PBIndex.setObjectName("PBIndex") - self.gridLayout.addWidget(self.PBIndex, 1, 0, 1, 1) - self.PBBack = QtGui.QPushButton(Aide) - self.PBBack.setEnabled(True) - self.PBBack.setMinimumSize(QtCore.QSize(0, 30)) - self.PBBack.setObjectName("PBBack") - self.gridLayout.addWidget(self.PBBack, 1, 1, 1, 1) - self.PBForward = QtGui.QPushButton(Aide) - self.PBForward.setEnabled(True) - self.PBForward.setMinimumSize(QtCore.QSize(0, 30)) - self.PBForward.setObjectName("PBForward") - self.gridLayout.addWidget(self.PBForward, 1, 2, 1, 1) - spacerItem = QtGui.QSpacerItem(311, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) - self.gridLayout.addItem(spacerItem, 1, 3, 1, 1) - - self.retranslateUi(Aide) - QtCore.QMetaObject.connectSlotsByName(Aide) - - def retranslateUi(self, Aide): - Aide.setWindowTitle(QtGui.QApplication.translate("Aide", "Aide", None, QtGui.QApplication.UnicodeUTF8)) - self.PBIndex.setText(QtGui.QApplication.translate("Aide", "Index", None, QtGui.QApplication.UnicodeUTF8)) - self.PBBack.setText(QtGui.QApplication.translate("Aide", "Back", None, QtGui.QApplication.UnicodeUTF8)) - self.PBForward.setText(QtGui.QApplication.translate("Aide", "Forward", None, QtGui.QApplication.UnicodeUTF8)) - - -if __name__ == "__main__": - import sys - app = QtGui.QApplication(sys.argv) - Aide = QtGui.QWidget() - ui = Ui_Aide() - ui.setupUi(Aide) - Aide.show() - sys.exit(app.exec_()) - diff --git a/UiQT4/desChoixCata.py b/UiQT4/desChoixCata.py deleted file mode 100644 index 836caceb..00000000 --- a/UiQT4/desChoixCata.py +++ /dev/null @@ -1,79 +0,0 @@ -# -*- coding: utf-8 -*- - -# Form implementation generated from reading ui file 'desChoixCata.ui' -# -# Created: Fri Jun 19 11:40:11 2009 -# by: PyQt4 UI code generator 4.4.3 -# -# WARNING! All changes made in this file will be lost! - -from PyQt4 import QtCore, QtGui - -class Ui_DChoixCata(object): - def setupUi(self, DChoixCata): - DChoixCata.setObjectName("DChoixCata") - DChoixCata.resize(547, 215) - DChoixCata.setSizeGripEnabled(True) - self.gridLayout = QtGui.QGridLayout(DChoixCata) - self.gridLayout.setObjectName("gridLayout") - self.TLNb = QtGui.QLabel(DChoixCata) - self.TLNb.setMinimumSize(QtCore.QSize(30, 0)) - self.TLNb.setWordWrap(False) - self.TLNb.setObjectName("TLNb") - self.gridLayout.addWidget(self.TLNb, 0, 0, 1, 1) - self.CBChoixCata = QtGui.QComboBox(DChoixCata) - self.CBChoixCata.setEnabled(True) - self.CBChoixCata.setMinimumSize(QtCore.QSize(125, 41)) - self.CBChoixCata.setMaximumSize(QtCore.QSize(150, 16777215)) - self.CBChoixCata.setObjectName("CBChoixCata") - self.gridLayout.addWidget(self.CBChoixCata, 0, 1, 2, 1) - self.textLabel1_2 = QtGui.QLabel(DChoixCata) - self.textLabel1_2.setMinimumSize(QtCore.QSize(60, 60)) - self.textLabel1_2.setWordWrap(False) - self.textLabel1_2.setObjectName("textLabel1_2") - self.gridLayout.addWidget(self.textLabel1_2, 1, 0, 1, 1) - self.frame3 = QtGui.QFrame(DChoixCata) - self.frame3.setFrameShape(QtGui.QFrame.StyledPanel) - self.frame3.setFrameShadow(QtGui.QFrame.Raised) - self.frame3.setObjectName("frame3") - self.buttonOk = QtGui.QPushButton(self.frame3) - self.buttonOk.setGeometry(QtCore.QRect(11, 13, 91, 41)) - self.buttonOk.setAutoDefault(True) - self.buttonOk.setDefault(True) - self.buttonOk.setObjectName("buttonOk") - self.buttonCancel = QtGui.QPushButton(self.frame3) - self.buttonCancel.setGeometry(QtCore.QRect(437, 13, 81, 41)) - self.buttonCancel.setMinimumSize(QtCore.QSize(81, 41)) - self.buttonCancel.setAutoDefault(True) - self.buttonCancel.setObjectName("buttonCancel") - self.gridLayout.addWidget(self.frame3, 2, 0, 1, 2) - - self.retranslateUi(DChoixCata) - QtCore.QMetaObject.connectSlotsByName(DChoixCata) - - def retranslateUi(self, DChoixCata): - DChoixCata.setWindowTitle(QtGui.QApplication.translate("DChoixCata", "Choix d\'une version du code Aster", None, QtGui.QApplication.UnicodeUTF8)) - self.TLNb.setText(QtGui.QApplication.translate("DChoixCata", "\n" -"\n" -"

2 versions sont disponibles

", None, QtGui.QApplication.UnicodeUTF8)) - self.textLabel1_2.setText(QtGui.QApplication.translate("DChoixCata", "\n" -"\n" -"

Veuillez choisir celle avec laquelle

\n" -"

vous souhaitez travailler

", None, QtGui.QApplication.UnicodeUTF8)) - self.buttonOk.setText(QtGui.QApplication.translate("DChoixCata", "&OK", None, QtGui.QApplication.UnicodeUTF8)) - self.buttonCancel.setText(QtGui.QApplication.translate("DChoixCata", "&Cancel", None, QtGui.QApplication.UnicodeUTF8)) - - -if __name__ == "__main__": - import sys - app = QtGui.QApplication(sys.argv) - DChoixCata = QtGui.QDialog() - ui = Ui_DChoixCata() - ui.setupUi(DChoixCata) - DChoixCata.show() - sys.exit(app.exec_()) - diff --git a/UiQT4/desCommande.py b/UiQT4/desCommande.py deleted file mode 100644 index 8787cad4..00000000 --- a/UiQT4/desCommande.py +++ /dev/null @@ -1,213 +0,0 @@ -# -*- coding: utf-8 -*- - -# Form implementation generated from reading ui file 'desCommande.ui' -# -# Created: Fri Jun 19 11:40:11 2009 -# by: PyQt4 UI code generator 4.4.3 -# -# WARNING! All changes made in this file will be lost! - -from PyQt4 import QtCore, QtGui - -class Ui_DComm(object): - def setupUi(self, DComm): - DComm.setObjectName("DComm") - DComm.resize(792, 770) - sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(DComm.sizePolicy().hasHeightForWidth()) - DComm.setSizePolicy(sizePolicy) - DComm.setMinimumSize(QtCore.QSize(505, 0)) - self.gridLayout_3 = QtGui.QGridLayout(DComm) - self.gridLayout_3.setObjectName("gridLayout_3") - self.Commentaire = QtGui.QLabel(DComm) - self.Commentaire.setMaximumSize(QtCore.QSize(793, 20)) - self.Commentaire.setFrameShape(QtGui.QFrame.NoFrame) - self.Commentaire.setFrameShadow(QtGui.QFrame.Plain) - self.Commentaire.setWordWrap(False) - self.Commentaire.setObjectName("Commentaire") - self.gridLayout_3.addWidget(self.Commentaire, 1, 0, 1, 1) - self.horizontalLayout = QtGui.QHBoxLayout() - self.horizontalLayout.setObjectName("horizontalLayout") - spacerItem = QtGui.QSpacerItem(263, 27, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) - self.horizontalLayout.addItem(spacerItem) - self.bOk = QtGui.QPushButton(DComm) - sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.bOk.sizePolicy().hasHeightForWidth()) - self.bOk.setSizePolicy(sizePolicy) - self.bOk.setMinimumSize(QtCore.QSize(160, 30)) - self.bOk.setMaximumSize(QtCore.QSize(16777215, 30)) - self.bOk.setAutoDefault(True) - self.bOk.setDefault(True) - self.bOk.setObjectName("bOk") - self.horizontalLayout.addWidget(self.bOk) - spacerItem1 = QtGui.QSpacerItem(254, 27, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) - self.horizontalLayout.addItem(spacerItem1) - self.gridLayout_3.addLayout(self.horizontalLayout, 2, 0, 1, 1) - self.TWChoix = QtGui.QTabWidget(DComm) - self.TWChoix.setObjectName("TWChoix") - self.MotClef = QtGui.QWidget() - self.MotClef.setObjectName("MotClef") - self.gridLayout_6 = QtGui.QGridLayout(self.MotClef) - self.gridLayout_6.setObjectName("gridLayout_6") - self.gridLayout_5 = QtGui.QGridLayout() - self.gridLayout_5.setObjectName("gridLayout_5") - self.textLabel1 = QtGui.QLabel(self.MotClef) - self.textLabel1.setMinimumSize(QtCore.QSize(0, 0)) - self.textLabel1.setWordWrap(False) - self.textLabel1.setObjectName("textLabel1") - self.gridLayout_5.addWidget(self.textLabel1, 0, 0, 1, 1) - self.textLabel1_2 = QtGui.QLabel(self.MotClef) - self.textLabel1_2.setWordWrap(False) - self.textLabel1_2.setObjectName("textLabel1_2") - self.gridLayout_5.addWidget(self.textLabel1_2, 0, 1, 1, 1) - self.LBMCPermis = QtGui.QListWidget(self.MotClef) - self.LBMCPermis.setObjectName("LBMCPermis") - self.gridLayout_5.addWidget(self.LBMCPermis, 1, 0, 1, 1) - self.LBRegles = QtGui.QListWidget(self.MotClef) - self.LBRegles.setObjectName("LBRegles") - self.gridLayout_5.addWidget(self.LBRegles, 1, 1, 1, 1) - self.gridLayout_6.addLayout(self.gridLayout_5, 0, 0, 1, 1) - self.TWChoix.addTab(self.MotClef, "") - self.Concept = QtGui.QWidget() - self.Concept.setObjectName("Concept") - self.gridLayout_9 = QtGui.QGridLayout(self.Concept) - self.gridLayout_9.setObjectName("gridLayout_9") - self.groupBox1 = QtGui.QGroupBox(self.Concept) - self.groupBox1.setObjectName("groupBox1") - self.gridLayout_8 = QtGui.QGridLayout(self.groupBox1) - self.gridLayout_8.setObjectName("gridLayout_8") - self.splitter = QtGui.QSplitter(self.groupBox1) - self.splitter.setOrientation(QtCore.Qt.Horizontal) - self.splitter.setObjectName("splitter") - self.textLabel1_3 = QtGui.QLabel(self.splitter) - self.textLabel1_3.setWordWrap(False) - self.textLabel1_3.setObjectName("textLabel1_3") - self.gridLayout_8.addWidget(self.splitter, 0, 0, 1, 1) - self.horizontalLayout_2 = QtGui.QHBoxLayout() - self.horizontalLayout_2.setObjectName("horizontalLayout_2") - self.LENomConcept = QtGui.QLineEdit(self.groupBox1) - self.LENomConcept.setMinimumSize(QtCore.QSize(360, 40)) - self.LENomConcept.setObjectName("LENomConcept") - self.horizontalLayout_2.addWidget(self.LENomConcept) - spacerItem2 = QtGui.QSpacerItem(356, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) - self.horizontalLayout_2.addItem(spacerItem2) - self.gridLayout_8.addLayout(self.horizontalLayout_2, 1, 0, 1, 1) - spacerItem3 = QtGui.QSpacerItem(20, 51, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) - self.gridLayout_8.addItem(spacerItem3, 2, 0, 1, 1) - self.verticalLayout = QtGui.QVBoxLayout() - self.verticalLayout.setObjectName("verticalLayout") - self.gridLayout_7 = QtGui.QGridLayout() - self.gridLayout_7.setObjectName("gridLayout_7") - self.textLabel1_3_2 = QtGui.QLabel(self.groupBox1) - self.textLabel1_3_2.setWordWrap(False) - self.textLabel1_3_2.setObjectName("textLabel1_3_2") - self.gridLayout_7.addWidget(self.textLabel1_3_2, 0, 0, 1, 1) - self.textLabel3 = QtGui.QLabel(self.groupBox1) - self.textLabel3.setWordWrap(False) - self.textLabel3.setObjectName("textLabel3") - self.gridLayout_7.addWidget(self.textLabel3, 1, 0, 1, 1) - self.typeConcept = QtGui.QLabel(self.groupBox1) - self.typeConcept.setWordWrap(False) - self.typeConcept.setObjectName("typeConcept") - self.gridLayout_7.addWidget(self.typeConcept, 1, 1, 1, 1) - self.verticalLayout.addLayout(self.gridLayout_7) - spacerItem4 = QtGui.QSpacerItem(20, 338, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) - self.verticalLayout.addItem(spacerItem4) - self.gridLayout_8.addLayout(self.verticalLayout, 3, 0, 1, 1) - self.gridLayout_9.addWidget(self.groupBox1, 0, 0, 1, 1) - self.TWChoix.addTab(self.Concept, "") - self.Commande = QtGui.QWidget() - self.Commande.setObjectName("Commande") - self.gridLayout_4 = QtGui.QGridLayout(self.Commande) - self.gridLayout_4.setObjectName("gridLayout_4") - self.gridLayout_2 = QtGui.QGridLayout() - self.gridLayout_2.setObjectName("gridLayout_2") - self.textLabel1_4 = QtGui.QLabel(self.Commande) - self.textLabel1_4.setWordWrap(False) - self.textLabel1_4.setObjectName("textLabel1_4") - self.gridLayout_2.addWidget(self.textLabel1_4, 0, 0, 1, 2) - self.groupBox = QtGui.QGroupBox(self.Commande) - self.groupBox.setMinimumSize(QtCore.QSize(171, 71)) - self.groupBox.setObjectName("groupBox") - self.gridLayout = QtGui.QGridLayout(self.groupBox) - self.gridLayout.setObjectName("gridLayout") - self.RBalpha = QtGui.QRadioButton(self.groupBox) - self.RBalpha.setMinimumSize(QtCore.QSize(149, 16)) - self.RBalpha.setMaximumSize(QtCore.QSize(149, 16)) - self.RBalpha.setChecked(True) - self.RBalpha.setObjectName("RBalpha") - self.gridLayout.addWidget(self.RBalpha, 0, 0, 1, 1) - self.RBGroupe = QtGui.QRadioButton(self.groupBox) - self.RBGroupe.setObjectName("RBGroupe") - self.gridLayout.addWidget(self.RBGroupe, 1, 0, 1, 1) - self.gridLayout_2.addWidget(self.groupBox, 0, 4, 2, 1) - self.textLabel6 = QtGui.QLabel(self.Commande) - self.textLabel6.setMinimumSize(QtCore.QSize(91, 30)) - self.textLabel6.setWordWrap(False) - self.textLabel6.setObjectName("textLabel6") - self.gridLayout_2.addWidget(self.textLabel6, 1, 0, 1, 1) - self.LEFiltre = QtGui.QLineEdit(self.Commande) - self.LEFiltre.setMinimumSize(QtCore.QSize(231, 30)) - self.LEFiltre.setObjectName("LEFiltre") - self.gridLayout_2.addWidget(self.LEFiltre, 1, 1, 1, 1) - self.BNext = QtGui.QPushButton(self.Commande) - self.BNext.setMinimumSize(QtCore.QSize(90, 30)) - self.BNext.setObjectName("BNext") - self.gridLayout_2.addWidget(self.BNext, 1, 2, 1, 1) - spacerItem5 = QtGui.QSpacerItem(108, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) - self.gridLayout_2.addItem(spacerItem5, 1, 3, 1, 1) - self.gridLayout_4.addLayout(self.gridLayout_2, 0, 0, 1, 1) - self.LBNouvCommande = QtGui.QListWidget(self.Commande) - self.LBNouvCommande.setObjectName("LBNouvCommande") - self.gridLayout_4.addWidget(self.LBNouvCommande, 1, 0, 1, 1) - self.textLabel4 = QtGui.QLabel(self.Commande) - self.textLabel4.setMaximumSize(QtCore.QSize(721, 20)) - self.textLabel4.setWordWrap(False) - self.textLabel4.setObjectName("textLabel4") - self.gridLayout_4.addWidget(self.textLabel4, 2, 0, 1, 1) - self.TWChoix.addTab(self.Commande, "") - self.gridLayout_3.addWidget(self.TWChoix, 0, 0, 1, 1) - - self.retranslateUi(DComm) - self.TWChoix.setCurrentIndex(0) - QtCore.QMetaObject.connectSlotsByName(DComm) - DComm.setTabOrder(self.TWChoix, self.LBNouvCommande) - DComm.setTabOrder(self.LBNouvCommande, self.bOk) - - def retranslateUi(self, DComm): - DComm.setWindowTitle(QtGui.QApplication.translate("DComm", "DComm", None, QtGui.QApplication.UnicodeUTF8)) - self.bOk.setToolTip(QtGui.QApplication.translate("DComm", "validation de la saisie", None, QtGui.QApplication.UnicodeUTF8)) - self.bOk.setText(QtGui.QApplication.translate("DComm", "&Valider", None, QtGui.QApplication.UnicodeUTF8)) - self.bOk.setShortcut(QtGui.QApplication.translate("DComm", "Shift+A, Alt+A, Alt+A, Alt+A", None, QtGui.QApplication.UnicodeUTF8)) - self.textLabel1.setText(QtGui.QApplication.translate("DComm", "

Mots Clefs Permis

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

Règles

", None, QtGui.QApplication.UnicodeUTF8)) - self.TWChoix.setTabText(self.TWChoix.indexOf(self.MotClef), QtGui.QApplication.translate("DComm", "Ajouter Mot-Clef", None, QtGui.QApplication.UnicodeUTF8)) - self.groupBox1.setTitle(QtGui.QApplication.translate("DComm", "Concept", None, QtGui.QApplication.UnicodeUTF8)) - self.textLabel1_3.setText(QtGui.QApplication.translate("DComm", "Nom du concept :", None, QtGui.QApplication.UnicodeUTF8)) - self.textLabel1_3_2.setText(QtGui.QApplication.translate("DComm", "Type du concept :", None, QtGui.QApplication.UnicodeUTF8)) - self.textLabel3.setText(QtGui.QApplication.translate("DComm", "L\'opérateur retourne un concept de type :", None, QtGui.QApplication.UnicodeUTF8)) - self.typeConcept.setText(QtGui.QApplication.translate("DComm", "TypeDuConcept", None, QtGui.QApplication.UnicodeUTF8)) - self.TWChoix.setTabText(self.TWChoix.indexOf(self.Concept), QtGui.QApplication.translate("DComm", "Nommer Concept", None, QtGui.QApplication.UnicodeUTF8)) - self.textLabel1_4.setText(QtGui.QApplication.translate("DComm", "Commandes :", None, QtGui.QApplication.UnicodeUTF8)) - self.groupBox.setTitle(QtGui.QApplication.translate("DComm", "Affichage", None, QtGui.QApplication.UnicodeUTF8)) - self.RBalpha.setText(QtGui.QApplication.translate("DComm", "alphabétique", None, QtGui.QApplication.UnicodeUTF8)) - self.RBGroupe.setText(QtGui.QApplication.translate("DComm", "par groupe", None, QtGui.QApplication.UnicodeUTF8)) - self.textLabel6.setText(QtGui.QApplication.translate("DComm", "Filtre", None, QtGui.QApplication.UnicodeUTF8)) - self.BNext.setText(QtGui.QApplication.translate("DComm", "Suivant", None, QtGui.QApplication.UnicodeUTF8)) - self.textLabel4.setText(QtGui.QApplication.translate("DComm", "La commande choisie sera ajoutée APRES la commande courante", None, QtGui.QApplication.UnicodeUTF8)) - self.TWChoix.setTabText(self.TWChoix.indexOf(self.Commande), QtGui.QApplication.translate("DComm", "Nouvelle Commande", None, QtGui.QApplication.UnicodeUTF8)) - - -if __name__ == "__main__": - import sys - app = QtGui.QApplication(sys.argv) - DComm = QtGui.QWidget() - ui = Ui_DComm() - ui.setupUi(DComm) - DComm.show() - sys.exit(app.exec_()) - diff --git a/UiQT4/desCommentaire.py b/UiQT4/desCommentaire.py deleted file mode 100644 index 37791894..00000000 --- a/UiQT4/desCommentaire.py +++ /dev/null @@ -1,124 +0,0 @@ -# -*- coding: utf-8 -*- - -# Form implementation generated from reading ui file 'desCommentaire.ui' -# -# Created: Fri Jun 19 11:40:11 2009 -# by: PyQt4 UI code generator 4.4.3 -# -# WARNING! All changes made in this file will be lost! - -from PyQt4 import QtCore, QtGui - -class Ui_DComment(object): - def setupUi(self, DComment): - DComment.setObjectName("DComment") - DComment.resize(796, 618) - DComment.setMinimumSize(QtCore.QSize(505, 0)) - self.gridLayout_3 = QtGui.QGridLayout(DComment) - self.gridLayout_3.setObjectName("gridLayout_3") - self.TWChoix = QtGui.QTabWidget(DComment) - self.TWChoix.setObjectName("TWChoix") - self.Valeur_Parametre = QtGui.QWidget() - self.Valeur_Parametre.setObjectName("Valeur_Parametre") - self.gridLayout = QtGui.QGridLayout(self.Valeur_Parametre) - self.gridLayout.setObjectName("gridLayout") - self.textCommentaire = QtGui.QTextEdit(self.Valeur_Parametre) - self.textCommentaire.setObjectName("textCommentaire") - self.gridLayout.addWidget(self.textCommentaire, 0, 0, 1, 1) - self.TWChoix.addTab(self.Valeur_Parametre, "") - self.Commande = QtGui.QWidget() - self.Commande.setObjectName("Commande") - self.gridLayout_4 = QtGui.QGridLayout(self.Commande) - self.gridLayout_4.setObjectName("gridLayout_4") - self.gridLayout_2 = QtGui.QGridLayout() - self.gridLayout_2.setObjectName("gridLayout_2") - self.textLabel1_4 = QtGui.QLabel(self.Commande) - self.textLabel1_4.setWordWrap(False) - self.textLabel1_4.setObjectName("textLabel1_4") - self.gridLayout_2.addWidget(self.textLabel1_4, 0, 0, 1, 2) - self.groupBox = QtGui.QGroupBox(self.Commande) - self.groupBox.setMinimumSize(QtCore.QSize(171, 71)) - self.groupBox.setObjectName("groupBox") - self.gridLayout1 = QtGui.QGridLayout(self.groupBox) - self.gridLayout1.setObjectName("gridLayout1") - self.RBalpha = QtGui.QRadioButton(self.groupBox) - self.RBalpha.setMinimumSize(QtCore.QSize(149, 16)) - self.RBalpha.setMaximumSize(QtCore.QSize(149, 16)) - self.RBalpha.setChecked(True) - self.RBalpha.setObjectName("RBalpha") - self.gridLayout1.addWidget(self.RBalpha, 0, 0, 1, 1) - self.RBGroupe = QtGui.QRadioButton(self.groupBox) - self.RBGroupe.setObjectName("RBGroupe") - self.gridLayout1.addWidget(self.RBGroupe, 1, 0, 1, 1) - self.gridLayout_2.addWidget(self.groupBox, 0, 4, 2, 1) - self.textLabel6 = QtGui.QLabel(self.Commande) - self.textLabel6.setMinimumSize(QtCore.QSize(91, 30)) - self.textLabel6.setWordWrap(False) - self.textLabel6.setObjectName("textLabel6") - self.gridLayout_2.addWidget(self.textLabel6, 1, 0, 1, 1) - self.LEFiltre = QtGui.QLineEdit(self.Commande) - self.LEFiltre.setMinimumSize(QtCore.QSize(231, 30)) - self.LEFiltre.setObjectName("LEFiltre") - self.gridLayout_2.addWidget(self.LEFiltre, 1, 1, 1, 1) - self.BNext = QtGui.QPushButton(self.Commande) - self.BNext.setMinimumSize(QtCore.QSize(90, 30)) - self.BNext.setObjectName("BNext") - self.gridLayout_2.addWidget(self.BNext, 1, 2, 1, 1) - spacerItem = QtGui.QSpacerItem(108, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) - self.gridLayout_2.addItem(spacerItem, 1, 3, 1, 1) - self.gridLayout_4.addLayout(self.gridLayout_2, 0, 0, 1, 1) - self.LBNouvCommande = QtGui.QListWidget(self.Commande) - self.LBNouvCommande.setObjectName("LBNouvCommande") - self.gridLayout_4.addWidget(self.LBNouvCommande, 1, 0, 1, 1) - self.textLabel4 = QtGui.QLabel(self.Commande) - self.textLabel4.setMaximumSize(QtCore.QSize(721, 20)) - self.textLabel4.setWordWrap(False) - self.textLabel4.setObjectName("textLabel4") - self.gridLayout_4.addWidget(self.textLabel4, 2, 0, 1, 1) - self.TWChoix.addTab(self.Commande, "") - self.gridLayout_3.addWidget(self.TWChoix, 0, 0, 1, 1) - self.horizontalLayout = QtGui.QHBoxLayout() - self.horizontalLayout.setObjectName("horizontalLayout") - spacerItem1 = QtGui.QSpacerItem(268, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) - self.horizontalLayout.addItem(spacerItem1) - self.bOk = QtGui.QPushButton(DComment) - self.bOk.setMinimumSize(QtCore.QSize(160, 30)) - self.bOk.setMaximumSize(QtCore.QSize(160, 30)) - self.bOk.setAutoDefault(True) - self.bOk.setDefault(True) - self.bOk.setObjectName("bOk") - self.horizontalLayout.addWidget(self.bOk) - spacerItem2 = QtGui.QSpacerItem(328, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) - self.horizontalLayout.addItem(spacerItem2) - self.gridLayout_3.addLayout(self.horizontalLayout, 1, 0, 1, 1) - - self.retranslateUi(DComment) - self.TWChoix.setCurrentIndex(0) - QtCore.QMetaObject.connectSlotsByName(DComment) - DComment.setTabOrder(self.TWChoix, self.bOk) - - def retranslateUi(self, DComment): - DComment.setWindowTitle(QtGui.QApplication.translate("DComment", "DComm", None, QtGui.QApplication.UnicodeUTF8)) - self.TWChoix.setTabText(self.TWChoix.indexOf(self.Valeur_Parametre), QtGui.QApplication.translate("DComment", "Commentaire", None, QtGui.QApplication.UnicodeUTF8)) - self.textLabel1_4.setText(QtGui.QApplication.translate("DComment", "Commandes :", None, QtGui.QApplication.UnicodeUTF8)) - self.groupBox.setTitle(QtGui.QApplication.translate("DComment", "Affichage", None, QtGui.QApplication.UnicodeUTF8)) - self.RBalpha.setText(QtGui.QApplication.translate("DComment", "alphabétique", None, QtGui.QApplication.UnicodeUTF8)) - self.RBGroupe.setText(QtGui.QApplication.translate("DComment", "par groupe", None, QtGui.QApplication.UnicodeUTF8)) - self.textLabel6.setText(QtGui.QApplication.translate("DComment", "Filtre", None, QtGui.QApplication.UnicodeUTF8)) - self.BNext.setText(QtGui.QApplication.translate("DComment", "Suivant", None, QtGui.QApplication.UnicodeUTF8)) - self.textLabel4.setText(QtGui.QApplication.translate("DComment", "La commande choisie sera ajoutée APRES la commande courante", None, QtGui.QApplication.UnicodeUTF8)) - self.TWChoix.setTabText(self.TWChoix.indexOf(self.Commande), QtGui.QApplication.translate("DComment", "Nouvelle Commande", None, QtGui.QApplication.UnicodeUTF8)) - self.bOk.setToolTip(QtGui.QApplication.translate("DComment", "validation de la saisie", None, QtGui.QApplication.UnicodeUTF8)) - self.bOk.setText(QtGui.QApplication.translate("DComment", "&Valider", None, QtGui.QApplication.UnicodeUTF8)) - self.bOk.setShortcut(QtGui.QApplication.translate("DComment", "Shift+A, Alt+A, Alt+A, Alt+A", None, QtGui.QApplication.UnicodeUTF8)) - - -if __name__ == "__main__": - import sys - app = QtGui.QApplication(sys.argv) - DComment = QtGui.QWidget() - ui = Ui_DComment() - ui.setupUi(DComment) - DComment.show() - sys.exit(app.exec_()) - diff --git a/UiQT4/desError.py b/UiQT4/desError.py deleted file mode 100644 index d9184275..00000000 --- a/UiQT4/desError.py +++ /dev/null @@ -1,63 +0,0 @@ -# -*- coding: utf-8 -*- - -# Form implementation generated from reading ui file 'desError.ui' -# -# Created: Fri Jun 19 11:40:11 2009 -# by: PyQt4 UI code generator 4.4.3 -# -# WARNING! All changes made in this file will be lost! - -from PyQt4 import QtCore, QtGui - -class Ui_DError(object): - def setupUi(self, DError): - DError.setObjectName("DError") - DError.resize(482, 480) - DError.setMinimumSize(QtCore.QSize(350, 0)) - self.gridLayout = QtGui.QGridLayout(DError) - self.gridLayout.setObjectName("gridLayout") - self.textBrowser = QtGui.QTextBrowser(DError) - self.textBrowser.setObjectName("textBrowser") - self.gridLayout.addWidget(self.textBrowser, 0, 0, 1, 1) - self.hboxlayout = QtGui.QHBoxLayout() - self.hboxlayout.setObjectName("hboxlayout") - spacerItem = QtGui.QSpacerItem(171, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) - self.hboxlayout.addItem(spacerItem) - self.bSup = QtGui.QPushButton(DError) - self.bSup.setAutoDefault(True) - self.bSup.setObjectName("bSup") - self.hboxlayout.addWidget(self.bSup) - spacerItem1 = QtGui.QSpacerItem(171, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) - self.hboxlayout.addItem(spacerItem1) - self.gridLayout.addLayout(self.hboxlayout, 1, 0, 1, 1) - - self.retranslateUi(DError) - QtCore.QMetaObject.connectSlotsByName(DError) - - def retranslateUi(self, DError): - DError.setWindowTitle(QtGui.QApplication.translate("DError", "DInactif", None, QtGui.QApplication.UnicodeUTF8)) - self.textBrowser.setHtml(QtGui.QApplication.translate("DError", "\n" -"\n" -"

\n" -"

\n" -"

\n" -"

\n" -"

Le noeud selectionné

\n" -"

ne correspond pas

\n" -"

à un noeud actif

", None, QtGui.QApplication.UnicodeUTF8)) - self.bSup.setToolTip(QtGui.QApplication.translate("DError", "suppression du mot clef", None, QtGui.QApplication.UnicodeUTF8)) - self.bSup.setText(QtGui.QApplication.translate("DError", "&Supprimer", None, QtGui.QApplication.UnicodeUTF8)) - self.bSup.setShortcut(QtGui.QApplication.translate("DError", "Alt+S", None, QtGui.QApplication.UnicodeUTF8)) - - -if __name__ == "__main__": - import sys - app = QtGui.QApplication(sys.argv) - DError = QtGui.QWidget() - ui = Ui_DError() - ui.setupUi(DError) - DError.show() - sys.exit(app.exec_()) - diff --git a/UiQT4/desFormule.py b/UiQT4/desFormule.py deleted file mode 100644 index 13fbad0a..00000000 --- a/UiQT4/desFormule.py +++ /dev/null @@ -1,198 +0,0 @@ -# -*- coding: utf-8 -*- - -# Form implementation generated from reading ui file 'desFormule.ui' -# -# Created: Fri Jun 19 11:40:11 2009 -# by: PyQt4 UI code generator 4.4.3 -# -# WARNING! All changes made in this file will be lost! - -from PyQt4 import QtCore, QtGui - -class Ui_DFormule(object): - def setupUi(self, DFormule): - DFormule.setObjectName("DFormule") - DFormule.resize(529, 493) - DFormule.setMinimumSize(QtCore.QSize(505, 0)) - self.gridLayout_3 = QtGui.QGridLayout(DFormule) - self.gridLayout_3.setObjectName("gridLayout_3") - self.TWChoix = QtGui.QTabWidget(DFormule) - self.TWChoix.setObjectName("TWChoix") - self.Formule = QtGui.QWidget() - self.Formule.setObjectName("Formule") - self.gridlayout = QtGui.QGridLayout(self.Formule) - self.gridlayout.setObjectName("gridlayout") - self.textLabel1 = QtGui.QLabel(self.Formule) - self.textLabel1.setMinimumSize(QtCore.QSize(0, 0)) - self.textLabel1.setWordWrap(False) - self.textLabel1.setObjectName("textLabel1") - self.gridlayout.addWidget(self.textLabel1, 0, 0, 1, 1) - self.textLabel1_3 = QtGui.QLabel(self.Formule) - self.textLabel1_3.setWordWrap(False) - self.textLabel1_3.setObjectName("textLabel1_3") - self.gridlayout.addWidget(self.textLabel1_3, 6, 0, 1, 2) - self.hboxlayout = QtGui.QHBoxLayout() - self.hboxlayout.setObjectName("hboxlayout") - self.LENomFormule = QtGui.QLineEdit(self.Formule) - self.LENomFormule.setMinimumSize(QtCore.QSize(0, 40)) - self.LENomFormule.setObjectName("LENomFormule") - self.hboxlayout.addWidget(self.LENomFormule) - self.hboxlayout1 = QtGui.QHBoxLayout() - self.hboxlayout1.setObjectName("hboxlayout1") - self.textLabel1_6 = QtGui.QLabel(self.Formule) - self.textLabel1_6.setWordWrap(False) - self.textLabel1_6.setObjectName("textLabel1_6") - self.hboxlayout1.addWidget(self.textLabel1_6) - self.LENomsArgs = QtGui.QLineEdit(self.Formule) - self.LENomsArgs.setMinimumSize(QtCore.QSize(230, 40)) - self.LENomsArgs.setObjectName("LENomsArgs") - self.hboxlayout1.addWidget(self.LENomsArgs) - self.textLabel1_6_2 = QtGui.QLabel(self.Formule) - self.textLabel1_6_2.setWordWrap(False) - self.textLabel1_6_2.setObjectName("textLabel1_6_2") - self.hboxlayout1.addWidget(self.textLabel1_6_2) - self.hboxlayout.addLayout(self.hboxlayout1) - self.gridlayout.addLayout(self.hboxlayout, 2, 0, 1, 2) - self.textLabel2 = QtGui.QLabel(self.Formule) - self.textLabel2.setWordWrap(False) - self.textLabel2.setObjectName("textLabel2") - self.gridlayout.addWidget(self.textLabel2, 1, 1, 1, 1) - self.textLabel1_3_2 = QtGui.QLabel(self.Formule) - self.textLabel1_3_2.setWordWrap(False) - self.textLabel1_3_2.setObjectName("textLabel1_3_2") - self.gridlayout.addWidget(self.textLabel1_3_2, 7, 0, 1, 2) - self.textLabel2_2 = QtGui.QLabel(self.Formule) - self.textLabel2_2.setWordWrap(False) - self.textLabel2_2.setObjectName("textLabel2_2") - self.gridlayout.addWidget(self.textLabel2_2, 3, 0, 1, 2) - self.textLabel1_5 = QtGui.QLabel(self.Formule) - self.textLabel1_5.setMinimumSize(QtCore.QSize(0, 0)) - self.textLabel1_5.setWordWrap(False) - self.textLabel1_5.setObjectName("textLabel1_5") - self.gridlayout.addWidget(self.textLabel1_5, 4, 0, 1, 2) - self.LECorpsFormule = QtGui.QLineEdit(self.Formule) - self.LECorpsFormule.setMinimumSize(QtCore.QSize(0, 30)) - self.LECorpsFormule.setObjectName("LECorpsFormule") - self.gridlayout.addWidget(self.LECorpsFormule, 5, 0, 1, 2) - self.textLabel1_2 = QtGui.QLabel(self.Formule) - self.textLabel1_2.setWordWrap(False) - self.textLabel1_2.setObjectName("textLabel1_2") - self.gridlayout.addWidget(self.textLabel1_2, 0, 1, 1, 1) - self.TWChoix.addTab(self.Formule, "") - self.Commande = QtGui.QWidget() - self.Commande.setObjectName("Commande") - self.gridLayout_4 = QtGui.QGridLayout(self.Commande) - self.gridLayout_4.setObjectName("gridLayout_4") - self.gridLayout_2 = QtGui.QGridLayout() - self.gridLayout_2.setObjectName("gridLayout_2") - self.textLabel1_4 = QtGui.QLabel(self.Commande) - self.textLabel1_4.setWordWrap(False) - self.textLabel1_4.setObjectName("textLabel1_4") - self.gridLayout_2.addWidget(self.textLabel1_4, 0, 0, 1, 2) - self.groupBox = QtGui.QGroupBox(self.Commande) - self.groupBox.setMinimumSize(QtCore.QSize(171, 71)) - self.groupBox.setObjectName("groupBox") - self.gridLayout = QtGui.QGridLayout(self.groupBox) - self.gridLayout.setObjectName("gridLayout") - self.RBalpha = QtGui.QRadioButton(self.groupBox) - self.RBalpha.setMinimumSize(QtCore.QSize(149, 16)) - self.RBalpha.setMaximumSize(QtCore.QSize(149, 16)) - self.RBalpha.setChecked(True) - self.RBalpha.setObjectName("RBalpha") - self.gridLayout.addWidget(self.RBalpha, 0, 0, 1, 1) - self.RBGroupe = QtGui.QRadioButton(self.groupBox) - self.RBGroupe.setObjectName("RBGroupe") - self.gridLayout.addWidget(self.RBGroupe, 1, 0, 1, 1) - self.gridLayout_2.addWidget(self.groupBox, 0, 4, 2, 1) - self.textLabel6 = QtGui.QLabel(self.Commande) - self.textLabel6.setMinimumSize(QtCore.QSize(91, 30)) - self.textLabel6.setWordWrap(False) - self.textLabel6.setObjectName("textLabel6") - self.gridLayout_2.addWidget(self.textLabel6, 1, 0, 1, 1) - self.LEFiltre = QtGui.QLineEdit(self.Commande) - self.LEFiltre.setMinimumSize(QtCore.QSize(231, 30)) - self.LEFiltre.setObjectName("LEFiltre") - self.gridLayout_2.addWidget(self.LEFiltre, 1, 1, 1, 1) - self.BNext = QtGui.QPushButton(self.Commande) - self.BNext.setMinimumSize(QtCore.QSize(90, 30)) - self.BNext.setObjectName("BNext") - self.gridLayout_2.addWidget(self.BNext, 1, 2, 1, 1) - spacerItem = QtGui.QSpacerItem(108, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) - self.gridLayout_2.addItem(spacerItem, 1, 3, 1, 1) - self.gridLayout_4.addLayout(self.gridLayout_2, 0, 0, 1, 1) - self.LBNouvCommande = QtGui.QListWidget(self.Commande) - self.LBNouvCommande.setObjectName("LBNouvCommande") - self.gridLayout_4.addWidget(self.LBNouvCommande, 1, 0, 1, 1) - self.textLabel4 = QtGui.QLabel(self.Commande) - self.textLabel4.setMaximumSize(QtCore.QSize(721, 20)) - self.textLabel4.setWordWrap(False) - self.textLabel4.setObjectName("textLabel4") - self.gridLayout_4.addWidget(self.textLabel4, 2, 0, 1, 1) - self.TWChoix.addTab(self.Commande, "") - self.gridLayout_3.addWidget(self.TWChoix, 0, 0, 1, 1) - self.Commentaire = QtGui.QLabel(DFormule) - self.Commentaire.setWordWrap(False) - self.Commentaire.setObjectName("Commentaire") - self.gridLayout_3.addWidget(self.Commentaire, 1, 0, 1, 1) - self.horizontalLayout = QtGui.QHBoxLayout() - self.horizontalLayout.setObjectName("horizontalLayout") - spacerItem1 = QtGui.QSpacerItem(158, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) - self.horizontalLayout.addItem(spacerItem1) - self.bOk = QtGui.QPushButton(DFormule) - self.bOk.setMinimumSize(QtCore.QSize(163, 30)) - self.bOk.setAutoDefault(True) - self.bOk.setDefault(True) - self.bOk.setObjectName("bOk") - self.horizontalLayout.addWidget(self.bOk) - spacerItem2 = QtGui.QSpacerItem(158, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) - self.horizontalLayout.addItem(spacerItem2) - self.gridLayout_3.addLayout(self.horizontalLayout, 2, 0, 1, 1) - - self.retranslateUi(DFormule) - self.TWChoix.setCurrentIndex(0) - QtCore.QMetaObject.connectSlotsByName(DFormule) - DFormule.setTabOrder(self.LEFiltre, self.LENomFormule) - DFormule.setTabOrder(self.LENomFormule, self.LENomsArgs) - DFormule.setTabOrder(self.LENomsArgs, self.LECorpsFormule) - DFormule.setTabOrder(self.LECorpsFormule, self.bOk) - DFormule.setTabOrder(self.bOk, self.TWChoix) - DFormule.setTabOrder(self.TWChoix, self.RBalpha) - DFormule.setTabOrder(self.RBalpha, self.RBGroupe) - DFormule.setTabOrder(self.RBGroupe, self.LBNouvCommande) - - def retranslateUi(self, DFormule): - DFormule.setWindowTitle(QtGui.QApplication.translate("DFormule", "DMacro", None, QtGui.QApplication.UnicodeUTF8)) - self.textLabel1.setText(QtGui.QApplication.translate("DFormule", "

Nom de la formule

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

(

", None, QtGui.QApplication.UnicodeUTF8)) - self.textLabel1_6_2.setText(QtGui.QApplication.translate("DFormule", "

)

", None, QtGui.QApplication.UnicodeUTF8)) - self.textLabel2.setText(QtGui.QApplication.translate("DFormule", "variables séparées par des \",\"\n" -" par ex. : x,y,z", None, QtGui.QApplication.UnicodeUTF8)) - self.textLabel1_3_2.setText(QtGui.QApplication.translate("DFormule", "Ce n\'est qu\'après avoir appuyé sur le bouton Valider que les nouvelles\n" -"valeurs seront effectivement prises en compte", None, QtGui.QApplication.UnicodeUTF8)) - self.textLabel2_2.setText(QtGui.QApplication.translate("DFormule", "=", None, QtGui.QApplication.UnicodeUTF8)) - self.textLabel1_5.setText(QtGui.QApplication.translate("DFormule", "

Expression

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

Arguments

", None, QtGui.QApplication.UnicodeUTF8)) - self.TWChoix.setTabText(self.TWChoix.indexOf(self.Formule), QtGui.QApplication.translate("DFormule", "Définition Formule", None, QtGui.QApplication.UnicodeUTF8)) - self.textLabel1_4.setText(QtGui.QApplication.translate("DFormule", "Commandes :", None, QtGui.QApplication.UnicodeUTF8)) - self.groupBox.setTitle(QtGui.QApplication.translate("DFormule", "Affichage", None, QtGui.QApplication.UnicodeUTF8)) - self.RBalpha.setText(QtGui.QApplication.translate("DFormule", "alphabétique", None, QtGui.QApplication.UnicodeUTF8)) - self.RBGroupe.setText(QtGui.QApplication.translate("DFormule", "par groupe", None, QtGui.QApplication.UnicodeUTF8)) - self.textLabel6.setText(QtGui.QApplication.translate("DFormule", "Filtre", None, QtGui.QApplication.UnicodeUTF8)) - self.BNext.setText(QtGui.QApplication.translate("DFormule", "Suivant", None, QtGui.QApplication.UnicodeUTF8)) - self.textLabel4.setText(QtGui.QApplication.translate("DFormule", "La commande choisie sera ajoutée APRES la commande courante", None, QtGui.QApplication.UnicodeUTF8)) - self.TWChoix.setTabText(self.TWChoix.indexOf(self.Commande), QtGui.QApplication.translate("DFormule", "Nouvelle Commande", None, QtGui.QApplication.UnicodeUTF8)) - self.bOk.setToolTip(QtGui.QApplication.translate("DFormule", "validation de la saisie", None, QtGui.QApplication.UnicodeUTF8)) - self.bOk.setText(QtGui.QApplication.translate("DFormule", "&Valider", None, QtGui.QApplication.UnicodeUTF8)) - self.bOk.setShortcut(QtGui.QApplication.translate("DFormule", "Shift+A, Alt+A, Alt+A, Alt+A", None, QtGui.QApplication.UnicodeUTF8)) - - -if __name__ == "__main__": - import sys - app = QtGui.QApplication(sys.argv) - DFormule = QtGui.QWidget() - ui = Ui_DFormule() - ui.setupUi(DFormule) - DFormule.show() - sys.exit(app.exec_()) - diff --git a/UiQT4/desInactif.py b/UiQT4/desInactif.py deleted file mode 100644 index 73b1f04f..00000000 --- a/UiQT4/desInactif.py +++ /dev/null @@ -1,73 +0,0 @@ -# -*- coding: utf-8 -*- - -# Form implementation generated from reading ui file 'desInactif.ui' -# -# Created: Fri Jun 19 11:40:12 2009 -# by: PyQt4 UI code generator 4.4.3 -# -# WARNING! All changes made in this file will be lost! - -from PyQt4 import QtCore, QtGui - -class Ui_DInactif(object): - def setupUi(self, DInactif): - DInactif.setObjectName("DInactif") - DInactif.resize(452, 480) - DInactif.setMinimumSize(QtCore.QSize(350, 0)) - self.gridLayout = QtGui.QGridLayout(DInactif) - self.gridLayout.setObjectName("gridLayout") - self.textLabel1_3 = QtGui.QLabel(DInactif) - self.textLabel1_3.setMinimumSize(QtCore.QSize(0, 0)) - self.textLabel1_3.setWordWrap(False) - self.textLabel1_3.setObjectName("textLabel1_3") - self.gridLayout.addWidget(self.textLabel1_3, 0, 0, 1, 3) - self.textLabel1 = QtGui.QLabel(DInactif) - self.textLabel1.setWordWrap(False) - self.textLabel1.setObjectName("textLabel1") - self.gridLayout.addWidget(self.textLabel1, 1, 0, 1, 3) - spacerItem = QtGui.QSpacerItem(167, 146, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) - self.gridLayout.addItem(spacerItem, 2, 0, 1, 1) - self.bSup = QtGui.QPushButton(DInactif) - sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.bSup.sizePolicy().hasHeightForWidth()) - self.bSup.setSizePolicy(sizePolicy) - self.bSup.setMinimumSize(QtCore.QSize(170, 40)) - self.bSup.setAutoDefault(True) - self.bSup.setObjectName("bSup") - self.gridLayout.addWidget(self.bSup, 2, 1, 1, 1) - spacerItem1 = QtGui.QSpacerItem(166, 146, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) - self.gridLayout.addItem(spacerItem1, 2, 2, 1, 1) - - self.retranslateUi(DInactif) - QtCore.QMetaObject.connectSlotsByName(DInactif) - - def retranslateUi(self, DInactif): - DInactif.setWindowTitle(QtGui.QApplication.translate("DInactif", "DInactif", None, QtGui.QApplication.UnicodeUTF8)) - self.textLabel1_3.setText(QtGui.QApplication.translate("DInactif", "\n" -"\n" -"

Le noeud sélectionné ne correspond

\n" -"

pas à un objet actif.

", None, QtGui.QApplication.UnicodeUTF8)) - self.textLabel1.setText(QtGui.QApplication.translate("DInactif", "\n" -"\n" -"

Seules les commandes placées

\n" -"

entre : DEBUT / FIN sont actives

", None, QtGui.QApplication.UnicodeUTF8)) - self.bSup.setToolTip(QtGui.QApplication.translate("DInactif", "suppression du mot clef", None, QtGui.QApplication.UnicodeUTF8)) - self.bSup.setText(QtGui.QApplication.translate("DInactif", "&Supprimer", None, QtGui.QApplication.UnicodeUTF8)) - self.bSup.setShortcut(QtGui.QApplication.translate("DInactif", "Alt+S", None, QtGui.QApplication.UnicodeUTF8)) - - -if __name__ == "__main__": - import sys - app = QtGui.QApplication(sys.argv) - DInactif = QtGui.QWidget() - ui = Ui_DInactif() - ui.setupUi(DInactif) - DInactif.show() - sys.exit(app.exec_()) - diff --git a/UiQT4/desInclude.py b/UiQT4/desInclude.py deleted file mode 100644 index c5564846..00000000 --- a/UiQT4/desInclude.py +++ /dev/null @@ -1,185 +0,0 @@ -# -*- coding: utf-8 -*- - -# Form implementation generated from reading ui file 'desInclude.ui' -# -# Created: Fri Jun 19 11:40:12 2009 -# by: PyQt4 UI code generator 4.4.3 -# -# WARNING! All changes made in this file will be lost! - -from PyQt4 import QtCore, QtGui - -class Ui_DInc1(object): - def setupUi(self, DInc1): - DInc1.setObjectName("DInc1") - DInc1.resize(521, 511) - DInc1.setMinimumSize(QtCore.QSize(505, 0)) - self.gridlayout = QtGui.QGridLayout(DInc1) - self.gridlayout.setObjectName("gridlayout") - self.bOk = QtGui.QPushButton(DInc1) - self.bOk.setMinimumSize(QtCore.QSize(0, 30)) - self.bOk.setAutoDefault(True) - self.bOk.setDefault(True) - self.bOk.setObjectName("bOk") - self.gridlayout.addWidget(self.bOk, 2, 1, 1, 1) - self.Commentaire = QtGui.QLabel(DInc1) - self.Commentaire.setWordWrap(False) - self.Commentaire.setObjectName("Commentaire") - self.gridlayout.addWidget(self.Commentaire, 1, 0, 1, 3) - self.TWChoix = QtGui.QTabWidget(DInc1) - self.TWChoix.setObjectName("TWChoix") - self.MotClef = QtGui.QWidget() - self.MotClef.setObjectName("MotClef") - self.gridlayout1 = QtGui.QGridLayout(self.MotClef) - self.gridlayout1.setObjectName("gridlayout1") - self.LBMCPermis = QtGui.QListWidget(self.MotClef) - self.LBMCPermis.setMinimumSize(QtCore.QSize(0, 0)) - self.LBMCPermis.setObjectName("LBMCPermis") - self.gridlayout1.addWidget(self.LBMCPermis, 1, 0, 1, 1) - self.textLabel1 = QtGui.QLabel(self.MotClef) - self.textLabel1.setMinimumSize(QtCore.QSize(0, 0)) - self.textLabel1.setWordWrap(False) - self.textLabel1.setObjectName("textLabel1") - self.gridlayout1.addWidget(self.textLabel1, 0, 0, 1, 1) - self.LBRegles = QtGui.QListWidget(self.MotClef) - self.LBRegles.setObjectName("LBRegles") - self.gridlayout1.addWidget(self.LBRegles, 1, 1, 1, 1) - self.textLabel1_2 = QtGui.QLabel(self.MotClef) - self.textLabel1_2.setWordWrap(False) - self.textLabel1_2.setObjectName("textLabel1_2") - self.gridlayout1.addWidget(self.textLabel1_2, 0, 1, 1, 1) - self.TWChoix.addTab(self.MotClef, "") - self.Commande = QtGui.QWidget() - self.Commande.setObjectName("Commande") - self.gridLayout_2 = QtGui.QGridLayout(self.Commande) - self.gridLayout_2.setObjectName("gridLayout_2") - self.textLabel1_4 = QtGui.QLabel(self.Commande) - self.textLabel1_4.setWordWrap(False) - self.textLabel1_4.setObjectName("textLabel1_4") - self.gridLayout_2.addWidget(self.textLabel1_4, 0, 0, 1, 3) - self.groupBox = QtGui.QGroupBox(self.Commande) - self.groupBox.setObjectName("groupBox") - self.gridLayout = QtGui.QGridLayout(self.groupBox) - self.gridLayout.setObjectName("gridLayout") - self.RBalpha = QtGui.QRadioButton(self.groupBox) - self.RBalpha.setChecked(True) - self.RBalpha.setObjectName("RBalpha") - self.gridLayout.addWidget(self.RBalpha, 0, 0, 1, 1) - self.RBGroupe = QtGui.QRadioButton(self.groupBox) - self.RBGroupe.setObjectName("RBGroupe") - self.gridLayout.addWidget(self.RBGroupe, 1, 0, 1, 1) - self.gridLayout_2.addWidget(self.groupBox, 0, 3, 2, 1) - self.textLabel6 = QtGui.QLabel(self.Commande) - self.textLabel6.setMinimumSize(QtCore.QSize(50, 30)) - self.textLabel6.setWordWrap(False) - self.textLabel6.setObjectName("textLabel6") - self.gridLayout_2.addWidget(self.textLabel6, 1, 0, 1, 1) - self.LEFiltre = QtGui.QLineEdit(self.Commande) - self.LEFiltre.setMinimumSize(QtCore.QSize(160, 30)) - self.LEFiltre.setObjectName("LEFiltre") - self.gridLayout_2.addWidget(self.LEFiltre, 1, 1, 1, 1) - self.BNext = QtGui.QPushButton(self.Commande) - self.BNext.setObjectName("BNext") - self.gridLayout_2.addWidget(self.BNext, 1, 2, 1, 1) - self.LBNouvCommande = QtGui.QListWidget(self.Commande) - self.LBNouvCommande.setObjectName("LBNouvCommande") - self.gridLayout_2.addWidget(self.LBNouvCommande, 2, 0, 1, 4) - self.textLabel4 = QtGui.QLabel(self.Commande) - self.textLabel4.setWordWrap(False) - self.textLabel4.setObjectName("textLabel4") - self.gridLayout_2.addWidget(self.textLabel4, 3, 0, 1, 4) - self.TWChoix.addTab(self.Commande, "") - self.maPageOk = QtGui.QWidget() - self.maPageOk.setObjectName("maPageOk") - self.textLabel1_3 = QtGui.QLabel(self.maPageOk) - self.textLabel1_3.setGeometry(QtCore.QRect(30, 40, 440, 41)) - self.textLabel1_3.setWordWrap(False) - self.textLabel1_3.setObjectName("textLabel1_3") - self.LENomFichier = QtGui.QLineEdit(self.maPageOk) - self.LENomFichier.setGeometry(QtCore.QRect(18, 117, 450, 40)) - sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.LENomFichier.sizePolicy().hasHeightForWidth()) - self.LENomFichier.setSizePolicy(sizePolicy) - self.LENomFichier.setMinimumSize(QtCore.QSize(450, 40)) - self.LENomFichier.setObjectName("LENomFichier") - self.BBrowse = QtGui.QPushButton(self.maPageOk) - self.BBrowse.setGeometry(QtCore.QRect(280, 240, 161, 41)) - sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.BBrowse.sizePolicy().hasHeightForWidth()) - self.BBrowse.setSizePolicy(sizePolicy) - self.BBrowse.setObjectName("BBrowse") - self.BChangeFile = QtGui.QPushButton(self.maPageOk) - self.BChangeFile.setGeometry(QtCore.QRect(280, 290, 161, 41)) - sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.BChangeFile.sizePolicy().hasHeightForWidth()) - self.BChangeFile.setSizePolicy(sizePolicy) - self.BChangeFile.setObjectName("BChangeFile") - self.TWChoix.addTab(self.maPageOk, "") - self.maPageBad = QtGui.QWidget() - self.maPageBad.setObjectName("maPageBad") - self.gridlayout2 = QtGui.QGridLayout(self.maPageBad) - self.gridlayout2.setObjectName("gridlayout2") - self.textLabel1_5 = QtGui.QLabel(self.maPageBad) - self.textLabel1_5.setWordWrap(False) - self.textLabel1_5.setObjectName("textLabel1_5") - self.gridlayout2.addWidget(self.textLabel1_5, 0, 0, 1, 1) - self.TWChoix.addTab(self.maPageBad, "") - self.gridlayout.addWidget(self.TWChoix, 0, 0, 1, 3) - - self.retranslateUi(DInc1) - self.TWChoix.setCurrentIndex(0) - QtCore.QMetaObject.connectSlotsByName(DInc1) - DInc1.setTabOrder(self.LEFiltre, self.LENomFichier) - DInc1.setTabOrder(self.LENomFichier, self.bOk) - DInc1.setTabOrder(self.bOk, self.TWChoix) - DInc1.setTabOrder(self.TWChoix, self.LBMCPermis) - DInc1.setTabOrder(self.LBMCPermis, self.LBRegles) - DInc1.setTabOrder(self.LBRegles, self.LBNouvCommande) - DInc1.setTabOrder(self.LBNouvCommande, self.RBalpha) - DInc1.setTabOrder(self.RBalpha, self.BBrowse) - DInc1.setTabOrder(self.BBrowse, self.BChangeFile) - - def retranslateUi(self, DInc1): - DInc1.setWindowTitle(QtGui.QApplication.translate("DInc1", "DMacro", None, QtGui.QApplication.UnicodeUTF8)) - self.bOk.setToolTip(QtGui.QApplication.translate("DInc1", "validation de la saisie", None, QtGui.QApplication.UnicodeUTF8)) - self.bOk.setText(QtGui.QApplication.translate("DInc1", "&Valider", None, QtGui.QApplication.UnicodeUTF8)) - self.bOk.setShortcut(QtGui.QApplication.translate("DInc1", "Shift+A, Alt+A, Alt+A, Alt+A", None, QtGui.QApplication.UnicodeUTF8)) - self.textLabel1.setText(QtGui.QApplication.translate("DInc1", "

Mots Clefs Permis

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

Régles

", None, QtGui.QApplication.UnicodeUTF8)) - self.TWChoix.setTabText(self.TWChoix.indexOf(self.MotClef), QtGui.QApplication.translate("DInc1", "Ajouter Mot-Clef", None, QtGui.QApplication.UnicodeUTF8)) - self.textLabel1_4.setText(QtGui.QApplication.translate("DInc1", "Commandes :", None, QtGui.QApplication.UnicodeUTF8)) - self.groupBox.setTitle(QtGui.QApplication.translate("DInc1", "Affichage", None, QtGui.QApplication.UnicodeUTF8)) - self.RBalpha.setText(QtGui.QApplication.translate("DInc1", "alphabétique", None, QtGui.QApplication.UnicodeUTF8)) - self.RBGroupe.setText(QtGui.QApplication.translate("DInc1", "par groupe", None, QtGui.QApplication.UnicodeUTF8)) - self.textLabel6.setText(QtGui.QApplication.translate("DInc1", "Filtre", None, QtGui.QApplication.UnicodeUTF8)) - self.BNext.setText(QtGui.QApplication.translate("DInc1", "Suivant", None, QtGui.QApplication.UnicodeUTF8)) - self.textLabel4.setText(QtGui.QApplication.translate("DInc1", "La commande choisie sera ajoutée APRES la commande courante", None, QtGui.QApplication.UnicodeUTF8)) - self.TWChoix.setTabText(self.TWChoix.indexOf(self.Commande), QtGui.QApplication.translate("DInc1", "Nouvelle Commande", None, QtGui.QApplication.UnicodeUTF8)) - self.textLabel1_3.setText(QtGui.QApplication.translate("DInc1", "La commande INCLUDE requiert un nom de Fichier :", None, QtGui.QApplication.UnicodeUTF8)) - self.BBrowse.setText(QtGui.QApplication.translate("DInc1", "Edit", None, QtGui.QApplication.UnicodeUTF8)) - self.BChangeFile.setText(QtGui.QApplication.translate("DInc1", "Autre Fichier", None, QtGui.QApplication.UnicodeUTF8)) - self.TWChoix.setTabText(self.TWChoix.indexOf(self.maPageOk), QtGui.QApplication.translate("DInc1", "Fichier Include", None, QtGui.QApplication.UnicodeUTF8)) - self.textLabel1_5.setText(QtGui.QApplication.translate("DInc1", "\n" -"\n" -"

La commande INCLUDE n\'a pas de fichier associé.

\n" -"

Il faut d\'abord choisir un numéro d\'unité

", None, QtGui.QApplication.UnicodeUTF8)) - self.TWChoix.setTabText(self.TWChoix.indexOf(self.maPageBad), QtGui.QApplication.translate("DInc1", "Fichier Inc", None, QtGui.QApplication.UnicodeUTF8)) - - -if __name__ == "__main__": - import sys - app = QtGui.QApplication(sys.argv) - DInc1 = QtGui.QWidget() - ui = Ui_DInc1() - ui.setupUi(DInc1) - DInc1.show() - sys.exit(app.exec_()) - diff --git a/UiQT4/desListeParam.py b/UiQT4/desListeParam.py deleted file mode 100644 index f888d117..00000000 --- a/UiQT4/desListeParam.py +++ /dev/null @@ -1,36 +0,0 @@ -# -*- coding: utf-8 -*- - -# Form implementation generated from reading ui file 'desListeParam.ui' -# -# Created: Fri Jun 19 11:40:12 2009 -# by: PyQt4 UI code generator 4.4.3 -# -# WARNING! All changes made in this file will be lost! - -from PyQt4 import QtCore, QtGui - -class Ui_DLisParam(object): - def setupUi(self, DLisParam): - DLisParam.setObjectName("DLisParam") - DLisParam.resize(413, 394) - self.gridlayout = QtGui.QGridLayout(DLisParam) - self.gridlayout.setObjectName("gridlayout") - self.LBParam = QtGui.QListWidget(DLisParam) - self.LBParam.setObjectName("LBParam") - self.gridlayout.addWidget(self.LBParam, 0, 0, 1, 1) - - self.retranslateUi(DLisParam) - - def retranslateUi(self, DLisParam): - DLisParam.setWindowTitle(QtGui.QApplication.translate("DLisParam", "Sélection de paramétres", None, QtGui.QApplication.UnicodeUTF8)) - - -if __name__ == "__main__": - import sys - app = QtGui.QApplication(sys.argv) - DLisParam = QtGui.QWidget() - ui = Ui_DLisParam() - ui.setupUi(DLisParam) - DLisParam.show() - sys.exit(app.exec_()) - diff --git a/UiQT4/desMCFact.py b/UiQT4/desMCFact.py deleted file mode 100644 index d2251c25..00000000 --- a/UiQT4/desMCFact.py +++ /dev/null @@ -1,74 +0,0 @@ -# -*- coding: utf-8 -*- - -# Form implementation generated from reading ui file 'desMCFact.ui' -# -# Created: Fri Jun 19 11:40:12 2009 -# by: PyQt4 UI code generator 4.4.3 -# -# WARNING! All changes made in this file will be lost! - -from PyQt4 import QtCore, QtGui - -class Ui_DMCFact(object): - def setupUi(self, DMCFact): - DMCFact.setObjectName("DMCFact") - DMCFact.resize(511, 499) - DMCFact.setMinimumSize(QtCore.QSize(505, 0)) - self.gridlayout = QtGui.QGridLayout(DMCFact) - self.gridlayout.setObjectName("gridlayout") - self.TWChoix = QtGui.QTabWidget(DMCFact) - self.TWChoix.setObjectName("TWChoix") - self.MotClef = QtGui.QWidget() - self.MotClef.setObjectName("MotClef") - self.gridlayout1 = QtGui.QGridLayout(self.MotClef) - self.gridlayout1.setObjectName("gridlayout1") - self.textLabel1 = QtGui.QLabel(self.MotClef) - self.textLabel1.setMinimumSize(QtCore.QSize(0, 0)) - self.textLabel1.setWordWrap(False) - self.textLabel1.setObjectName("textLabel1") - self.gridlayout1.addWidget(self.textLabel1, 0, 0, 1, 1) - self.LBMCPermis = QtGui.QListWidget(self.MotClef) - self.LBMCPermis.setMinimumSize(QtCore.QSize(0, 0)) - self.LBMCPermis.setObjectName("LBMCPermis") - self.gridlayout1.addWidget(self.LBMCPermis, 1, 0, 1, 1) - self.LBRegles = QtGui.QListWidget(self.MotClef) - self.LBRegles.setObjectName("LBRegles") - self.gridlayout1.addWidget(self.LBRegles, 1, 1, 1, 1) - self.textLabel1_2 = QtGui.QLabel(self.MotClef) - self.textLabel1_2.setWordWrap(False) - self.textLabel1_2.setObjectName("textLabel1_2") - self.gridlayout1.addWidget(self.textLabel1_2, 0, 1, 1, 1) - self.TWChoix.addTab(self.MotClef, "") - self.gridlayout.addWidget(self.TWChoix, 0, 0, 1, 3) - self.Commentaire = QtGui.QLabel(DMCFact) - self.Commentaire.setWordWrap(False) - self.Commentaire.setObjectName("Commentaire") - self.gridlayout.addWidget(self.Commentaire, 1, 0, 1, 3) - self.bOk = QtGui.QPushButton(DMCFact) - self.bOk.setAutoDefault(True) - self.bOk.setDefault(True) - self.bOk.setObjectName("bOk") - self.gridlayout.addWidget(self.bOk, 2, 1, 1, 1) - - self.retranslateUi(DMCFact) - QtCore.QMetaObject.connectSlotsByName(DMCFact) - - def retranslateUi(self, DMCFact): - DMCFact.setWindowTitle(QtGui.QApplication.translate("DMCFact", "DMacro", None, QtGui.QApplication.UnicodeUTF8)) - self.textLabel1.setText(QtGui.QApplication.translate("DMCFact", "

Mots Clefs Permis

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

Régles

", None, QtGui.QApplication.UnicodeUTF8)) - self.TWChoix.setTabText(self.TWChoix.indexOf(self.MotClef), QtGui.QApplication.translate("DMCFact", "Ajouter Mot-Clef", None, QtGui.QApplication.UnicodeUTF8)) - self.bOk.setToolTip(QtGui.QApplication.translate("DMCFact", "validation de la saisie", None, QtGui.QApplication.UnicodeUTF8)) - self.bOk.setText(QtGui.QApplication.translate("DMCFact", "&Valider", None, QtGui.QApplication.UnicodeUTF8)) - self.bOk.setShortcut(QtGui.QApplication.translate("DMCFact", "Shift+A, Alt+A, Alt+A, Alt+A", None, QtGui.QApplication.UnicodeUTF8)) - - -if __name__ == "__main__": - import sys - app = QtGui.QApplication(sys.argv) - DMCFact = QtGui.QWidget() - ui = Ui_DMCFact() - ui.setupUi(DMCFact) - DMCFact.show() - sys.exit(app.exec_()) - diff --git a/UiQT4/desMCListAjout.py b/UiQT4/desMCListAjout.py deleted file mode 100644 index 702a712b..00000000 --- a/UiQT4/desMCListAjout.py +++ /dev/null @@ -1,80 +0,0 @@ -# -*- coding: utf-8 -*- - -# Form implementation generated from reading ui file 'desMCListAjout.ui' -# -# Created: Fri Jun 19 11:40:12 2009 -# by: PyQt4 UI code generator 4.4.3 -# -# WARNING! All changes made in this file will be lost! - -from PyQt4 import QtCore, QtGui - -class Ui_DMCListAjout(object): - def setupUi(self, DMCListAjout): - DMCListAjout.setObjectName("DMCListAjout") - DMCListAjout.resize(459, 472) - DMCListAjout.setMinimumSize(QtCore.QSize(350, 0)) - self.gridlayout = QtGui.QGridLayout(DMCListAjout) - self.gridlayout.setObjectName("gridlayout") - self.textLabel1 = QtGui.QLabel(DMCListAjout) - self.textLabel1.setWordWrap(False) - self.textLabel1.setObjectName("textLabel1") - self.gridlayout.addWidget(self.textLabel1, 1, 0, 1, 3) - self.textLabel1_2 = QtGui.QLabel(DMCListAjout) - self.textLabel1_2.setWordWrap(False) - self.textLabel1_2.setObjectName("textLabel1_2") - self.gridlayout.addWidget(self.textLabel1_2, 2, 0, 1, 3) - self.hboxlayout = QtGui.QHBoxLayout() - self.hboxlayout.setObjectName("hboxlayout") - spacerItem = QtGui.QSpacerItem(60, 21, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) - self.hboxlayout.addItem(spacerItem) - self.bAjout = QtGui.QPushButton(DMCListAjout) - self.bAjout.setAutoDefault(True) - self.bAjout.setDefault(True) - self.bAjout.setObjectName("bAjout") - self.hboxlayout.addWidget(self.bAjout) - spacerItem1 = QtGui.QSpacerItem(80, 21, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) - self.hboxlayout.addItem(spacerItem1) - self.gridlayout.addLayout(self.hboxlayout, 8, 0, 1, 3) - spacerItem2 = QtGui.QSpacerItem(21, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) - self.gridlayout.addItem(spacerItem2, 9, 1, 1, 1) - self.textLabel1_2_2 = QtGui.QLabel(DMCListAjout) - self.textLabel1_2_2.setWordWrap(False) - self.textLabel1_2_2.setObjectName("textLabel1_2_2") - self.gridlayout.addWidget(self.textLabel1_2_2, 6, 0, 1, 3) - spacerItem3 = QtGui.QSpacerItem(20, 20, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) - self.gridlayout.addItem(spacerItem3, 7, 1, 1, 1) - self.MCFacteur = QtGui.QLabel(DMCListAjout) - self.MCFacteur.setWordWrap(False) - self.MCFacteur.setObjectName("MCFacteur") - self.gridlayout.addWidget(self.MCFacteur, 4, 0, 1, 3) - spacerItem4 = QtGui.QSpacerItem(21, 31, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) - self.gridlayout.addItem(spacerItem4, 5, 1, 1, 1) - spacerItem5 = QtGui.QSpacerItem(21, 51, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) - self.gridlayout.addItem(spacerItem5, 3, 1, 1, 1) - spacerItem6 = QtGui.QSpacerItem(41, 51, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) - self.gridlayout.addItem(spacerItem6, 0, 1, 1, 1) - - self.retranslateUi(DMCListAjout) - QtCore.QMetaObject.connectSlotsByName(DMCListAjout) - - def retranslateUi(self, DMCListAjout): - DMCListAjout.setWindowTitle(QtGui.QApplication.translate("DMCListAjout", "Form1", None, QtGui.QApplication.UnicodeUTF8)) - self.textLabel1.setText(QtGui.QApplication.translate("DMCListAjout", "

Pour ajouter une autre occurrence

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

du mot clef-facteur

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

cliquez ci-dessous

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

AFFE

", None, QtGui.QApplication.UnicodeUTF8)) - - -if __name__ == "__main__": - import sys - app = QtGui.QApplication(sys.argv) - DMCListAjout = QtGui.QWidget() - ui = Ui_DMCListAjout() - ui.setupUi(DMCListAjout) - DMCListAjout.show() - sys.exit(app.exec_()) - diff --git a/UiQT4/desParam.py b/UiQT4/desParam.py deleted file mode 100644 index cf666555..00000000 --- a/UiQT4/desParam.py +++ /dev/null @@ -1,169 +0,0 @@ -# -*- coding: utf-8 -*- - -# Form implementation generated from reading ui file 'desParam.ui' -# -# Created: Fri Jun 19 11:40:12 2009 -# by: PyQt4 UI code generator 4.4.3 -# -# WARNING! All changes made in this file will be lost! - -from PyQt4 import QtCore, QtGui - -class Ui_DParam(object): - def setupUi(self, DParam): - DParam.setObjectName("DParam") - DParam.resize(682, 552) - DParam.setMinimumSize(QtCore.QSize(505, 0)) - self.gridLayout_3 = QtGui.QGridLayout(DParam) - self.gridLayout_3.setObjectName("gridLayout_3") - self.TWChoix = QtGui.QTabWidget(DParam) - self.TWChoix.setObjectName("TWChoix") - self.Valeur_Parametre = QtGui.QWidget() - self.Valeur_Parametre.setObjectName("Valeur_Parametre") - self.gridLayout_5 = QtGui.QGridLayout(self.Valeur_Parametre) - self.gridLayout_5.setObjectName("gridLayout_5") - self.textLabel2_2_2 = QtGui.QLabel(self.Valeur_Parametre) - self.textLabel2_2_2.setWordWrap(False) - self.textLabel2_2_2.setObjectName("textLabel2_2_2") - self.gridLayout_5.addWidget(self.textLabel2_2_2, 0, 0, 1, 2) - self.textLabel2_2 = QtGui.QLabel(self.Valeur_Parametre) - self.textLabel2_2.setWordWrap(False) - self.textLabel2_2.setObjectName("textLabel2_2") - self.gridLayout_5.addWidget(self.textLabel2_2, 1, 0, 1, 1) - self.lineEditNom = QtGui.QLineEdit(self.Valeur_Parametre) - self.lineEditNom.setMinimumSize(QtCore.QSize(231, 31)) - self.lineEditNom.setObjectName("lineEditNom") - self.gridLayout_5.addWidget(self.lineEditNom, 1, 1, 1, 1) - self.textLabel2 = QtGui.QLabel(self.Valeur_Parametre) - self.textLabel2.setWordWrap(False) - self.textLabel2.setObjectName("textLabel2") - self.gridLayout_5.addWidget(self.textLabel2, 2, 0, 1, 1) - self.lineEditVal = QtGui.QLineEdit(self.Valeur_Parametre) - self.lineEditVal.setMinimumSize(QtCore.QSize(231, 31)) - self.lineEditVal.setObjectName("lineEditVal") - self.gridLayout_5.addWidget(self.lineEditVal, 2, 1, 1, 1) - self.Commentaire2 = QtGui.QLabel(self.Valeur_Parametre) - self.Commentaire2.setWordWrap(False) - self.Commentaire2.setObjectName("Commentaire2") - self.gridLayout_5.addWidget(self.Commentaire2, 3, 0, 1, 2) - spacerItem = QtGui.QSpacerItem(460, 139, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) - self.gridLayout_5.addItem(spacerItem, 4, 0, 1, 2) - self.Commentaire = QtGui.QLabel(self.Valeur_Parametre) - self.Commentaire.setMinimumSize(QtCore.QSize(0, 20)) - self.Commentaire.setMaximumSize(QtCore.QSize(465, 16777215)) - self.Commentaire.setObjectName("Commentaire") - self.gridLayout_5.addWidget(self.Commentaire, 5, 0, 1, 2) - self.Commentaire_2 = QtGui.QLabel(self.Valeur_Parametre) - self.Commentaire_2.setWordWrap(False) - self.Commentaire_2.setObjectName("Commentaire_2") - self.gridLayout_5.addWidget(self.Commentaire_2, 6, 0, 1, 2) - self.TWChoix.addTab(self.Valeur_Parametre, "") - self.Commande = QtGui.QWidget() - self.Commande.setObjectName("Commande") - self.gridLayout_4 = QtGui.QGridLayout(self.Commande) - self.gridLayout_4.setObjectName("gridLayout_4") - self.gridLayout_2 = QtGui.QGridLayout() - self.gridLayout_2.setObjectName("gridLayout_2") - self.textLabel1_4 = QtGui.QLabel(self.Commande) - self.textLabel1_4.setWordWrap(False) - self.textLabel1_4.setObjectName("textLabel1_4") - self.gridLayout_2.addWidget(self.textLabel1_4, 0, 0, 1, 2) - self.groupBox = QtGui.QGroupBox(self.Commande) - self.groupBox.setMinimumSize(QtCore.QSize(171, 71)) - self.groupBox.setObjectName("groupBox") - self.gridLayout = QtGui.QGridLayout(self.groupBox) - self.gridLayout.setObjectName("gridLayout") - self.RBalpha = QtGui.QRadioButton(self.groupBox) - self.RBalpha.setMinimumSize(QtCore.QSize(149, 16)) - self.RBalpha.setMaximumSize(QtCore.QSize(149, 16)) - self.RBalpha.setChecked(True) - self.RBalpha.setObjectName("RBalpha") - self.gridLayout.addWidget(self.RBalpha, 0, 0, 1, 1) - self.RBGroupe = QtGui.QRadioButton(self.groupBox) - self.RBGroupe.setObjectName("RBGroupe") - self.gridLayout.addWidget(self.RBGroupe, 1, 0, 1, 1) - self.gridLayout_2.addWidget(self.groupBox, 0, 4, 2, 1) - self.textLabel6 = QtGui.QLabel(self.Commande) - self.textLabel6.setMinimumSize(QtCore.QSize(91, 30)) - self.textLabel6.setWordWrap(False) - self.textLabel6.setObjectName("textLabel6") - self.gridLayout_2.addWidget(self.textLabel6, 1, 0, 1, 1) - self.LEFiltre = QtGui.QLineEdit(self.Commande) - self.LEFiltre.setMinimumSize(QtCore.QSize(231, 30)) - self.LEFiltre.setObjectName("LEFiltre") - self.gridLayout_2.addWidget(self.LEFiltre, 1, 1, 1, 1) - self.BNext = QtGui.QPushButton(self.Commande) - self.BNext.setMinimumSize(QtCore.QSize(90, 30)) - self.BNext.setObjectName("BNext") - self.gridLayout_2.addWidget(self.BNext, 1, 2, 1, 1) - spacerItem1 = QtGui.QSpacerItem(108, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) - self.gridLayout_2.addItem(spacerItem1, 1, 3, 1, 1) - self.gridLayout_4.addLayout(self.gridLayout_2, 0, 0, 1, 1) - self.LBNouvCommande = QtGui.QListWidget(self.Commande) - self.LBNouvCommande.setObjectName("LBNouvCommande") - self.gridLayout_4.addWidget(self.LBNouvCommande, 1, 0, 1, 1) - self.textLabel4 = QtGui.QLabel(self.Commande) - self.textLabel4.setMaximumSize(QtCore.QSize(721, 20)) - self.textLabel4.setWordWrap(False) - self.textLabel4.setObjectName("textLabel4") - self.gridLayout_4.addWidget(self.textLabel4, 2, 0, 1, 1) - self.TWChoix.addTab(self.Commande, "") - self.gridLayout_3.addWidget(self.TWChoix, 0, 0, 1, 1) - self.horizontalLayout = QtGui.QHBoxLayout() - self.horizontalLayout.setObjectName("horizontalLayout") - spacerItem2 = QtGui.QSpacerItem(158, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) - self.horizontalLayout.addItem(spacerItem2) - self.bOk = QtGui.QPushButton(DParam) - self.bOk.setMinimumSize(QtCore.QSize(160, 30)) - self.bOk.setMaximumSize(QtCore.QSize(160, 30)) - self.bOk.setAutoDefault(True) - self.bOk.setDefault(True) - self.bOk.setObjectName("bOk") - self.horizontalLayout.addWidget(self.bOk) - spacerItem3 = QtGui.QSpacerItem(148, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) - self.horizontalLayout.addItem(spacerItem3) - self.gridLayout_3.addLayout(self.horizontalLayout, 1, 0, 1, 1) - - self.retranslateUi(DParam) - self.TWChoix.setCurrentIndex(0) - QtCore.QMetaObject.connectSlotsByName(DParam) - DParam.setTabOrder(self.LEFiltre, self.TWChoix) - DParam.setTabOrder(self.TWChoix, self.lineEditNom) - DParam.setTabOrder(self.lineEditNom, self.lineEditVal) - DParam.setTabOrder(self.lineEditVal, self.LBNouvCommande) - DParam.setTabOrder(self.LBNouvCommande, self.RBalpha) - DParam.setTabOrder(self.RBalpha, self.bOk) - - def retranslateUi(self, DParam): - DParam.setWindowTitle(QtGui.QApplication.translate("DParam", "DComm", None, QtGui.QApplication.UnicodeUTF8)) - self.textLabel2_2_2.setText(QtGui.QApplication.translate("DParam", "

Parametre

", None, QtGui.QApplication.UnicodeUTF8)) - self.textLabel2_2.setText(QtGui.QApplication.translate("DParam", " Nom: ", None, QtGui.QApplication.UnicodeUTF8)) - self.textLabel2.setText(QtGui.QApplication.translate("DParam", " Valeur: ", None, QtGui.QApplication.UnicodeUTF8)) - self.Commentaire2.setText(QtGui.QApplication.translate("DParam", "Retour Chariot dans une sone de saisie permet de vérifier la \n" -"validité de la valeur saisie.\n" -"\n" -"Les nouvelles valeurs ne seront prises en compte qu\'après avoir \n" -"appuyé sur le bouton Valider.", None, QtGui.QApplication.UnicodeUTF8)) - self.TWChoix.setTabText(self.TWChoix.indexOf(self.Valeur_Parametre), QtGui.QApplication.translate("DParam", "Valeur Parametre", None, QtGui.QApplication.UnicodeUTF8)) - self.textLabel1_4.setText(QtGui.QApplication.translate("DParam", "Commandes :", None, QtGui.QApplication.UnicodeUTF8)) - self.groupBox.setTitle(QtGui.QApplication.translate("DParam", "Affichage", None, QtGui.QApplication.UnicodeUTF8)) - self.RBalpha.setText(QtGui.QApplication.translate("DParam", "alphabétique", None, QtGui.QApplication.UnicodeUTF8)) - self.RBGroupe.setText(QtGui.QApplication.translate("DParam", "par groupe", None, QtGui.QApplication.UnicodeUTF8)) - self.textLabel6.setText(QtGui.QApplication.translate("DParam", "Filtre", None, QtGui.QApplication.UnicodeUTF8)) - self.BNext.setText(QtGui.QApplication.translate("DParam", "Suivant", None, QtGui.QApplication.UnicodeUTF8)) - self.textLabel4.setText(QtGui.QApplication.translate("DParam", "La commande choisie sera ajoutée APRES la commande courante", None, QtGui.QApplication.UnicodeUTF8)) - self.TWChoix.setTabText(self.TWChoix.indexOf(self.Commande), QtGui.QApplication.translate("DParam", "Nouvelle Commande", None, QtGui.QApplication.UnicodeUTF8)) - self.bOk.setToolTip(QtGui.QApplication.translate("DParam", "validation de la saisie", None, QtGui.QApplication.UnicodeUTF8)) - self.bOk.setText(QtGui.QApplication.translate("DParam", "&Valider", None, QtGui.QApplication.UnicodeUTF8)) - self.bOk.setShortcut(QtGui.QApplication.translate("DParam", "Shift+A, Alt+A, Alt+A, Alt+A", None, QtGui.QApplication.UnicodeUTF8)) - - -if __name__ == "__main__": - import sys - app = QtGui.QApplication(sys.argv) - DParam = QtGui.QWidget() - ui = Ui_DParam() - ui.setupUi(DParam) - DParam.show() - sys.exit(app.exec_()) - diff --git a/UiQT4/desPlusieursBase.py b/UiQT4/desPlusieursBase.py deleted file mode 100644 index f1fd6b75..00000000 --- a/UiQT4/desPlusieursBase.py +++ /dev/null @@ -1,180 +0,0 @@ -# -*- coding: utf-8 -*- - -# Form implementation generated from reading ui file 'desPlusieursBase.ui' -# -# Created: Mon Jul 6 14:08:51 2009 -# by: PyQt4 UI code generator 4.4.3 -# -# WARNING! All changes made in this file will be lost! - -from PyQt4 import QtCore, QtGui - -class Ui_DPlusBase(object): - def setupUi(self, DPlusBase): - DPlusBase.setObjectName("DPlusBase") - DPlusBase.resize(643, 728) - DPlusBase.setMinimumSize(QtCore.QSize(350, 0)) - self.gridLayout_4 = QtGui.QGridLayout(DPlusBase) - self.gridLayout_4.setObjectName("gridLayout_4") - self.tabuniqueinto = QtGui.QTabWidget(DPlusBase) - self.tabuniqueinto.setObjectName("tabuniqueinto") - self.Widget8 = QtGui.QWidget() - self.Widget8.setObjectName("Widget8") - self.gridLayout_2 = QtGui.QGridLayout(self.Widget8) - self.gridLayout_2.setObjectName("gridLayout_2") - self.verticalLayout_2 = QtGui.QVBoxLayout() - self.verticalLayout_2.setObjectName("verticalLayout_2") - self.textLabel1 = QtGui.QLabel(self.Widget8) - self.textLabel1.setWordWrap(False) - self.textLabel1.setObjectName("textLabel1") - self.verticalLayout_2.addWidget(self.textLabel1) - self.LBValeurs = QtGui.QListWidget(self.Widget8) - self.LBValeurs.setMinimumSize(QtCore.QSize(200, 0)) - self.LBValeurs.setObjectName("LBValeurs") - self.verticalLayout_2.addWidget(self.LBValeurs) - self.gridLayout_2.addLayout(self.verticalLayout_2, 0, 0, 7, 1) - self.gridLayout = QtGui.QGridLayout() - self.gridLayout.setObjectName("gridLayout") - self.horizontalLayout = QtGui.QHBoxLayout() - self.horizontalLayout.setObjectName("horizontalLayout") - self.textLabel1_2 = QtGui.QLabel(self.Widget8) - self.textLabel1_2.setMinimumSize(QtCore.QSize(61, 21)) - self.textLabel1_2.setMaximumSize(QtCore.QSize(61, 21)) - self.textLabel1_2.setWordWrap(False) - self.textLabel1_2.setObjectName("textLabel1_2") - self.horizontalLayout.addWidget(self.textLabel1_2) - spacerItem = QtGui.QSpacerItem(168, 18, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) - self.horizontalLayout.addItem(spacerItem) - self.gridLayout.addLayout(self.horizontalLayout, 0, 0, 1, 3) - self.BAjout1Val = QtGui.QToolButton(self.Widget8) - sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.BAjout1Val.sizePolicy().hasHeightForWidth()) - self.BAjout1Val.setSizePolicy(sizePolicy) - self.BAjout1Val.setMinimumSize(QtCore.QSize(40, 30)) - icon = QtGui.QIcon() - icon.addPixmap(QtGui.QPixmap("../Editeur/icons/arrow_left.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) - self.BAjout1Val.setIcon(icon) - self.BAjout1Val.setObjectName("BAjout1Val") - self.gridLayout.addWidget(self.BAjout1Val, 1, 0, 1, 1) - self.LEValeur = QtGui.QLineEdit(self.Widget8) - sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Minimum) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.LEValeur.sizePolicy().hasHeightForWidth()) - self.LEValeur.setSizePolicy(sizePolicy) - self.LEValeur.setMinimumSize(QtCore.QSize(220, 30)) - self.LEValeur.setObjectName("LEValeur") - self.gridLayout.addWidget(self.LEValeur, 1, 1, 1, 2) - self.BSup1Val = QtGui.QToolButton(self.Widget8) - sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.BSup1Val.sizePolicy().hasHeightForWidth()) - self.BSup1Val.setSizePolicy(sizePolicy) - self.BSup1Val.setMinimumSize(QtCore.QSize(40, 30)) - icon1 = QtGui.QIcon() - icon1.addPixmap(QtGui.QPixmap("../Editeur/icons/arrow_right.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) - self.BSup1Val.setIcon(icon1) - self.BSup1Val.setObjectName("BSup1Val") - self.gridLayout.addWidget(self.BSup1Val, 2, 0, 1, 1) - self.BSalome = QtGui.QToolButton(self.Widget8) - sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.BSalome.sizePolicy().hasHeightForWidth()) - self.BSalome.setSizePolicy(sizePolicy) - self.BSalome.setMinimumSize(QtCore.QSize(40, 30)) - icon2 = QtGui.QIcon() - icon2.addPixmap(QtGui.QPixmap("image240.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) - self.BSalome.setIcon(icon2) - self.BSalome.setObjectName("BSalome") - self.gridLayout.addWidget(self.BSalome, 2, 1, 1, 1) - self.BView2D = QtGui.QPushButton(self.Widget8) - self.BView2D.setMinimumSize(QtCore.QSize(120, 30)) - self.BView2D.setObjectName("BView2D") - self.gridLayout.addWidget(self.BView2D, 2, 2, 1, 1) - self.gridLayout_2.addLayout(self.gridLayout, 0, 1, 1, 1) - spacerItem1 = QtGui.QSpacerItem(20, 158, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) - self.gridLayout_2.addItem(spacerItem1, 1, 1, 1, 1) - self.horizontalLayout_2 = QtGui.QHBoxLayout() - self.horizontalLayout_2.setObjectName("horizontalLayout_2") - spacerItem2 = QtGui.QSpacerItem(150, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) - self.horizontalLayout_2.addItem(spacerItem2) - self.verticalLayout = QtGui.QVBoxLayout() - self.verticalLayout.setObjectName("verticalLayout") - self.bParam = QtGui.QPushButton(self.Widget8) - self.bParam.setMinimumSize(QtCore.QSize(100, 30)) - self.bParam.setMaximumSize(QtCore.QSize(100, 30)) - self.bParam.setAutoDefault(True) - self.bParam.setObjectName("bParam") - self.verticalLayout.addWidget(self.bParam) - self.bImport = QtGui.QPushButton(self.Widget8) - self.bImport.setMinimumSize(QtCore.QSize(100, 30)) - self.bImport.setMaximumSize(QtCore.QSize(100, 30)) - self.bImport.setAutoDefault(True) - self.bImport.setObjectName("bImport") - self.verticalLayout.addWidget(self.bImport) - self.horizontalLayout_2.addLayout(self.verticalLayout) - self.gridLayout_2.addLayout(self.horizontalLayout_2, 2, 1, 1, 1) - spacerItem3 = QtGui.QSpacerItem(289, 100, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) - self.gridLayout_2.addItem(spacerItem3, 3, 1, 1, 1) - self.Commentaire = QtGui.QLabel(self.Widget8) - self.Commentaire.setMinimumSize(QtCore.QSize(298, 61)) - self.Commentaire.setObjectName("Commentaire") - self.gridLayout_2.addWidget(self.Commentaire, 4, 1, 1, 1) - spacerItem4 = QtGui.QSpacerItem(265, 48, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) - self.gridLayout_2.addItem(spacerItem4, 5, 1, 1, 1) - self.horizontalLayout_3 = QtGui.QHBoxLayout() - self.horizontalLayout_3.setObjectName("horizontalLayout_3") - spacerItem5 = QtGui.QSpacerItem(118, 27, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) - self.horizontalLayout_3.addItem(spacerItem5) - self.bOk = QtGui.QPushButton(self.Widget8) - self.bOk.setMinimumSize(QtCore.QSize(160, 30)) - self.bOk.setMaximumSize(QtCore.QSize(160, 30)) - self.bOk.setAutoDefault(True) - self.bOk.setDefault(False) - self.bOk.setObjectName("bOk") - self.horizontalLayout_3.addWidget(self.bOk) - self.gridLayout_2.addLayout(self.horizontalLayout_3, 6, 1, 1, 1) - self.tabuniqueinto.addTab(self.Widget8, "") - self.gridLayout_4.addWidget(self.tabuniqueinto, 0, 0, 1, 1) - - self.retranslateUi(DPlusBase) - QtCore.QMetaObject.connectSlotsByName(DPlusBase) - DPlusBase.setTabOrder(self.LEValeur, self.tabuniqueinto) - DPlusBase.setTabOrder(self.tabuniqueinto, self.bOk) - DPlusBase.setTabOrder(self.bOk, self.bImport) - DPlusBase.setTabOrder(self.bImport, self.LBValeurs) - DPlusBase.setTabOrder(self.LBValeurs, self.BView2D) - - def retranslateUi(self, DPlusBase): - DPlusBase.setWindowTitle(QtGui.QApplication.translate("DPlusBase", "DUnIn", None, QtGui.QApplication.UnicodeUTF8)) - self.textLabel1.setText(QtGui.QApplication.translate("DPlusBase", "Valeur(s) actuelle(s)", None, QtGui.QApplication.UnicodeUTF8)) - self.textLabel1_2.setText(QtGui.QApplication.translate("DPlusBase", "Valeur", None, QtGui.QApplication.UnicodeUTF8)) - self.BAjout1Val.setToolTip(QtGui.QApplication.translate("DPlusBase", "ajoute la valeur saisie sous l occurence selectionnée (en fin de liste si il n y a pas de selection)", None, QtGui.QApplication.UnicodeUTF8)) - self.BSup1Val.setToolTip(QtGui.QApplication.translate("DPlusBase", "enleve l occurence selectionnee", None, QtGui.QApplication.UnicodeUTF8)) - self.BSalome.setToolTip(QtGui.QApplication.translate("DPlusBase", "ajoute la valeur saisie sous l occurence selectionnée (en fin de liste si il n y a pas de selection)", None, QtGui.QApplication.UnicodeUTF8)) - self.BView2D.setText(QtGui.QApplication.translate("DPlusBase", "Visualiser", None, QtGui.QApplication.UnicodeUTF8)) - self.bParam.setToolTip(QtGui.QApplication.translate("DPlusBase", "suppression du mot clef", None, QtGui.QApplication.UnicodeUTF8)) - self.bParam.setText(QtGui.QApplication.translate("DPlusBase", "&Parametres", None, QtGui.QApplication.UnicodeUTF8)) - self.bParam.setShortcut(QtGui.QApplication.translate("DPlusBase", "Alt+P", None, QtGui.QApplication.UnicodeUTF8)) - self.bImport.setToolTip(QtGui.QApplication.translate("DPlusBase", "suppression du mot clef", None, QtGui.QApplication.UnicodeUTF8)) - self.bImport.setText(QtGui.QApplication.translate("DPlusBase", "&Importer", None, QtGui.QApplication.UnicodeUTF8)) - self.bImport.setShortcut(QtGui.QApplication.translate("DPlusBase", "Alt+I", None, QtGui.QApplication.UnicodeUTF8)) - self.bOk.setToolTip(QtGui.QApplication.translate("DPlusBase", "validation de la saisie", None, QtGui.QApplication.UnicodeUTF8)) - self.bOk.setText(QtGui.QApplication.translate("DPlusBase", "&Valider", None, QtGui.QApplication.UnicodeUTF8)) - self.bOk.setShortcut(QtGui.QApplication.translate("DPlusBase", "Shift+A, Alt+A, Alt+A, Alt+A", None, QtGui.QApplication.UnicodeUTF8)) - self.tabuniqueinto.setTabText(self.tabuniqueinto.indexOf(self.Widget8), QtGui.QApplication.translate("DPlusBase", "Saisir Valeur", None, QtGui.QApplication.UnicodeUTF8)) - - -if __name__ == "__main__": - import sys - app = QtGui.QApplication(sys.argv) - DPlusBase = QtGui.QWidget() - ui = Ui_DPlusBase() - ui.setupUi(DPlusBase) - DPlusBase.show() - sys.exit(app.exec_()) - diff --git a/UiQT4/desPlusieursInto.py b/UiQT4/desPlusieursInto.py deleted file mode 100644 index de7ec9bf..00000000 --- a/UiQT4/desPlusieursInto.py +++ /dev/null @@ -1,115 +0,0 @@ -# -*- coding: utf-8 -*- - -# Form implementation generated from reading ui file 'desPlusieursInto.ui' -# -# Created: Fri Jun 19 11:40:12 2009 -# by: PyQt4 UI code generator 4.4.3 -# -# WARNING! All changes made in this file will be lost! - -from PyQt4 import QtCore, QtGui - -class Ui_DPlusInto(object): - def setupUi(self, DPlusInto): - DPlusInto.setObjectName("DPlusInto") - DPlusInto.resize(482, 480) - DPlusInto.setMinimumSize(QtCore.QSize(350, 0)) - self.gridlayout = QtGui.QGridLayout(DPlusInto) - self.gridlayout.setObjectName("gridlayout") - self.tabuniqueinto = QtGui.QTabWidget(DPlusInto) - self.tabuniqueinto.setObjectName("tabuniqueinto") - self.Widget8 = QtGui.QWidget() - self.Widget8.setObjectName("Widget8") - self.gridLayout = QtGui.QGridLayout(self.Widget8) - self.gridLayout.setObjectName("gridLayout") - self.textLabel1 = QtGui.QLabel(self.Widget8) - self.textLabel1.setWordWrap(False) - self.textLabel1.setObjectName("textLabel1") - self.gridLayout.addWidget(self.textLabel1, 0, 0, 1, 1) - self.textLabel1_2 = QtGui.QLabel(self.Widget8) - self.textLabel1_2.setWordWrap(False) - self.textLabel1_2.setObjectName("textLabel1_2") - self.gridLayout.addWidget(self.textLabel1_2, 0, 1, 1, 1) - self.hboxlayout = QtGui.QHBoxLayout() - self.hboxlayout.setObjectName("hboxlayout") - self.LBValeurs = QtGui.QListWidget(self.Widget8) - self.LBValeurs.setObjectName("LBValeurs") - self.hboxlayout.addWidget(self.LBValeurs) - self.vboxlayout = QtGui.QVBoxLayout() - self.vboxlayout.setObjectName("vboxlayout") - spacerItem = QtGui.QSpacerItem(21, 44, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) - self.vboxlayout.addItem(spacerItem) - self.vboxlayout1 = QtGui.QVBoxLayout() - self.vboxlayout1.setObjectName("vboxlayout1") - self.BAjout1Val = QtGui.QToolButton(self.Widget8) - self.BAjout1Val.setMinimumSize(QtCore.QSize(40, 31)) - self.BAjout1Val.setMaximumSize(QtCore.QSize(40, 31)) - icon = QtGui.QIcon() - icon.addPixmap(QtGui.QPixmap("../Editeur/icons/arrow_left.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) - self.BAjout1Val.setIcon(icon) - self.BAjout1Val.setObjectName("BAjout1Val") - self.vboxlayout1.addWidget(self.BAjout1Val) - self.BSup1Val = QtGui.QToolButton(self.Widget8) - self.BSup1Val.setMinimumSize(QtCore.QSize(40, 31)) - self.BSup1Val.setMaximumSize(QtCore.QSize(40, 31)) - icon1 = QtGui.QIcon() - icon1.addPixmap(QtGui.QPixmap("../Editeur/icons/arrow_right.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) - self.BSup1Val.setIcon(icon1) - self.BSup1Val.setObjectName("BSup1Val") - self.vboxlayout1.addWidget(self.BSup1Val) - spacerItem1 = QtGui.QSpacerItem(21, 176, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) - self.vboxlayout1.addItem(spacerItem1) - self.vboxlayout.addLayout(self.vboxlayout1) - self.hboxlayout.addLayout(self.vboxlayout) - self.listBoxVal = QtGui.QListWidget(self.Widget8) - self.listBoxVal.setObjectName("listBoxVal") - self.hboxlayout.addWidget(self.listBoxVal) - self.gridLayout.addLayout(self.hboxlayout, 1, 0, 1, 2) - self.Commentaire = QtGui.QLabel(self.Widget8) - self.Commentaire.setMinimumSize(QtCore.QSize(0, 20)) - self.Commentaire.setWordWrap(False) - self.Commentaire.setObjectName("Commentaire") - self.gridLayout.addWidget(self.Commentaire, 2, 0, 1, 2) - self.horizontalLayout = QtGui.QHBoxLayout() - self.horizontalLayout.setObjectName("horizontalLayout") - spacerItem2 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) - self.horizontalLayout.addItem(spacerItem2) - self.bOk = QtGui.QPushButton(self.Widget8) - self.bOk.setMinimumSize(QtCore.QSize(130, 30)) - self.bOk.setAutoDefault(True) - self.bOk.setDefault(True) - self.bOk.setObjectName("bOk") - self.horizontalLayout.addWidget(self.bOk) - spacerItem3 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) - self.horizontalLayout.addItem(spacerItem3) - self.gridLayout.addLayout(self.horizontalLayout, 3, 0, 1, 2) - self.tabuniqueinto.addTab(self.Widget8, "") - self.gridlayout.addWidget(self.tabuniqueinto, 0, 0, 1, 1) - - self.retranslateUi(DPlusInto) - QtCore.QMetaObject.connectSlotsByName(DPlusInto) - DPlusInto.setTabOrder(self.listBoxVal, self.tabuniqueinto) - DPlusInto.setTabOrder(self.tabuniqueinto, self.bOk) - DPlusInto.setTabOrder(self.bOk, self.LBValeurs) - - def retranslateUi(self, DPlusInto): - DPlusInto.setWindowTitle(QtGui.QApplication.translate("DPlusInto", "DUnIn", None, QtGui.QApplication.UnicodeUTF8)) - self.textLabel1.setText(QtGui.QApplication.translate("DPlusInto", "Valeur(s) actuelle(s)", None, QtGui.QApplication.UnicodeUTF8)) - self.textLabel1_2.setText(QtGui.QApplication.translate("DPlusInto", "Valeur(s) possibles(s)", None, QtGui.QApplication.UnicodeUTF8)) - self.BAjout1Val.setToolTip(QtGui.QApplication.translate("DPlusInto", "enleve l occurence selectionnee", None, QtGui.QApplication.UnicodeUTF8)) - self.BSup1Val.setToolTip(QtGui.QApplication.translate("DPlusInto", "ajoute la valeur saisie sous l occurence selectionnée (en fin de liste si il n y a pas de selection)", None, QtGui.QApplication.UnicodeUTF8)) - self.bOk.setToolTip(QtGui.QApplication.translate("DPlusInto", "validation de la saisie", None, QtGui.QApplication.UnicodeUTF8)) - self.bOk.setText(QtGui.QApplication.translate("DPlusInto", "&Valider", None, QtGui.QApplication.UnicodeUTF8)) - self.bOk.setShortcut(QtGui.QApplication.translate("DPlusInto", "Shift+A, Alt+A, Alt+A, Alt+A", None, QtGui.QApplication.UnicodeUTF8)) - self.tabuniqueinto.setTabText(self.tabuniqueinto.indexOf(self.Widget8), QtGui.QApplication.translate("DPlusInto", "Saisir Valeur", None, QtGui.QApplication.UnicodeUTF8)) - - -if __name__ == "__main__": - import sys - app = QtGui.QApplication(sys.argv) - DPlusInto = QtGui.QWidget() - ui = Ui_DPlusInto() - ui.setupUi(DPlusInto) - DPlusInto.show() - sys.exit(app.exec_()) - diff --git a/UiQT4/desPoursuite.py b/UiQT4/desPoursuite.py deleted file mode 100644 index d5cc8938..00000000 --- a/UiQT4/desPoursuite.py +++ /dev/null @@ -1,164 +0,0 @@ -# -*- coding: utf-8 -*- - -# Form implementation generated from reading ui file 'desPoursuite.ui' -# -# Created: Fri Jun 19 11:40:12 2009 -# by: PyQt4 UI code generator 4.4.3 -# -# WARNING! All changes made in this file will be lost! - -from PyQt4 import QtCore, QtGui - -class Ui_DPour(object): - def setupUi(self, DPour): - DPour.setObjectName("DPour") - DPour.resize(521, 544) - DPour.setMinimumSize(QtCore.QSize(505, 0)) - self.gridlayout = QtGui.QGridLayout(DPour) - self.gridlayout.setObjectName("gridlayout") - self.TWChoix = QtGui.QTabWidget(DPour) - self.TWChoix.setObjectName("TWChoix") - self.MotClef = QtGui.QWidget() - self.MotClef.setObjectName("MotClef") - self.gridLayout_4 = QtGui.QGridLayout(self.MotClef) - self.gridLayout_4.setObjectName("gridLayout_4") - self.textLabel1 = QtGui.QLabel(self.MotClef) - self.textLabel1.setMinimumSize(QtCore.QSize(0, 0)) - self.textLabel1.setWordWrap(False) - self.textLabel1.setObjectName("textLabel1") - self.gridLayout_4.addWidget(self.textLabel1, 0, 0, 1, 1) - self.textLabel1_2 = QtGui.QLabel(self.MotClef) - self.textLabel1_2.setWordWrap(False) - self.textLabel1_2.setObjectName("textLabel1_2") - self.gridLayout_4.addWidget(self.textLabel1_2, 0, 1, 1, 1) - self.LBMCPermis = QtGui.QListWidget(self.MotClef) - self.LBMCPermis.setMinimumSize(QtCore.QSize(0, 0)) - self.LBMCPermis.setObjectName("LBMCPermis") - self.gridLayout_4.addWidget(self.LBMCPermis, 1, 0, 1, 1) - self.LBRegles = QtGui.QListWidget(self.MotClef) - self.LBRegles.setObjectName("LBRegles") - self.gridLayout_4.addWidget(self.LBRegles, 1, 1, 1, 1) - self.TWChoix.addTab(self.MotClef, "") - self.Commande = QtGui.QWidget() - self.Commande.setObjectName("Commande") - self.gridLayout_3 = QtGui.QGridLayout(self.Commande) - self.gridLayout_3.setObjectName("gridLayout_3") - self.textLabel1_4 = QtGui.QLabel(self.Commande) - self.textLabel1_4.setWordWrap(False) - self.textLabel1_4.setObjectName("textLabel1_4") - self.gridLayout_3.addWidget(self.textLabel1_4, 0, 0, 1, 3) - self.groupBox = QtGui.QGroupBox(self.Commande) - self.groupBox.setObjectName("groupBox") - self.gridLayout = QtGui.QGridLayout(self.groupBox) - self.gridLayout.setObjectName("gridLayout") - self.RBalpha = QtGui.QRadioButton(self.groupBox) - self.RBalpha.setChecked(True) - self.RBalpha.setObjectName("RBalpha") - self.gridLayout.addWidget(self.RBalpha, 0, 0, 1, 1) - self.RBGroupe = QtGui.QRadioButton(self.groupBox) - self.RBGroupe.setObjectName("RBGroupe") - self.gridLayout.addWidget(self.RBGroupe, 1, 0, 1, 1) - self.gridLayout_3.addWidget(self.groupBox, 0, 3, 2, 1) - self.textLabel6 = QtGui.QLabel(self.Commande) - self.textLabel6.setMinimumSize(QtCore.QSize(50, 30)) - self.textLabel6.setWordWrap(False) - self.textLabel6.setObjectName("textLabel6") - self.gridLayout_3.addWidget(self.textLabel6, 1, 0, 1, 1) - self.LEFiltre = QtGui.QLineEdit(self.Commande) - self.LEFiltre.setMinimumSize(QtCore.QSize(160, 30)) - self.LEFiltre.setObjectName("LEFiltre") - self.gridLayout_3.addWidget(self.LEFiltre, 1, 1, 1, 1) - self.pushButton = QtGui.QPushButton(self.Commande) - self.pushButton.setObjectName("pushButton") - self.gridLayout_3.addWidget(self.pushButton, 1, 2, 1, 1) - self.LBNouvCommande = QtGui.QListWidget(self.Commande) - self.LBNouvCommande.setObjectName("LBNouvCommande") - self.gridLayout_3.addWidget(self.LBNouvCommande, 2, 0, 1, 4) - self.textLabel4 = QtGui.QLabel(self.Commande) - self.textLabel4.setWordWrap(False) - self.textLabel4.setObjectName("textLabel4") - self.gridLayout_3.addWidget(self.textLabel4, 3, 0, 1, 4) - self.TWChoix.addTab(self.Commande, "") - self.TabPage = QtGui.QWidget() - self.TabPage.setObjectName("TabPage") - self.textLabel1_3 = QtGui.QLabel(self.TabPage) - self.textLabel1_3.setGeometry(QtCore.QRect(9, 9, 481, 19)) - self.textLabel1_3.setWordWrap(False) - self.textLabel1_3.setObjectName("textLabel1_3") - self.LENomFichier = QtGui.QLineEdit(self.TabPage) - self.LENomFichier.setGeometry(QtCore.QRect(9, 33, 481, 40)) - self.LENomFichier.setMinimumSize(QtCore.QSize(470, 40)) - self.LENomFichier.setObjectName("LENomFichier") - self.BFichier = QtGui.QPushButton(self.TabPage) - self.BFichier.setGeometry(QtCore.QRect(330, 170, 140, 50)) - sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.BFichier.sizePolicy().hasHeightForWidth()) - self.BFichier.setSizePolicy(sizePolicy) - self.BFichier.setMinimumSize(QtCore.QSize(140, 50)) - self.BFichier.setObjectName("BFichier") - self.BBrowse = QtGui.QPushButton(self.TabPage) - self.BBrowse.setGeometry(QtCore.QRect(330, 110, 140, 50)) - sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.BBrowse.sizePolicy().hasHeightForWidth()) - self.BBrowse.setSizePolicy(sizePolicy) - self.BBrowse.setMinimumSize(QtCore.QSize(140, 50)) - self.BBrowse.setObjectName("BBrowse") - self.TWChoix.addTab(self.TabPage, "") - self.gridlayout.addWidget(self.TWChoix, 0, 0, 1, 3) - self.bOk = QtGui.QPushButton(DPour) - self.bOk.setMinimumSize(QtCore.QSize(0, 30)) - self.bOk.setAutoDefault(True) - self.bOk.setDefault(True) - self.bOk.setObjectName("bOk") - self.gridlayout.addWidget(self.bOk, 2, 1, 1, 1) - self.Commentaire = QtGui.QLabel(DPour) - self.Commentaire.setWordWrap(False) - self.Commentaire.setObjectName("Commentaire") - self.gridlayout.addWidget(self.Commentaire, 1, 0, 1, 3) - - self.retranslateUi(DPour) - self.TWChoix.setCurrentIndex(2) - QtCore.QMetaObject.connectSlotsByName(DPour) - DPour.setTabOrder(self.LEFiltre, self.LENomFichier) - DPour.setTabOrder(self.LENomFichier, self.TWChoix) - DPour.setTabOrder(self.TWChoix, self.LBMCPermis) - DPour.setTabOrder(self.LBMCPermis, self.LBRegles) - DPour.setTabOrder(self.LBRegles, self.LBNouvCommande) - DPour.setTabOrder(self.LBNouvCommande, self.RBalpha) - DPour.setTabOrder(self.RBalpha, self.bOk) - - def retranslateUi(self, DPour): - DPour.setWindowTitle(QtGui.QApplication.translate("DPour", "DMacro", None, QtGui.QApplication.UnicodeUTF8)) - self.textLabel1.setText(QtGui.QApplication.translate("DPour", "

Mots Clefs Permis

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

Régles

", None, QtGui.QApplication.UnicodeUTF8)) - self.TWChoix.setTabText(self.TWChoix.indexOf(self.MotClef), QtGui.QApplication.translate("DPour", "Ajouter Mot-Clef", None, QtGui.QApplication.UnicodeUTF8)) - self.textLabel1_4.setText(QtGui.QApplication.translate("DPour", "Commandes :", None, QtGui.QApplication.UnicodeUTF8)) - self.groupBox.setTitle(QtGui.QApplication.translate("DPour", "Affichage", None, QtGui.QApplication.UnicodeUTF8)) - self.RBalpha.setText(QtGui.QApplication.translate("DPour", "alphabétique", None, QtGui.QApplication.UnicodeUTF8)) - self.RBGroupe.setText(QtGui.QApplication.translate("DPour", "par groupe", None, QtGui.QApplication.UnicodeUTF8)) - self.textLabel6.setText(QtGui.QApplication.translate("DPour", "Filtre", None, QtGui.QApplication.UnicodeUTF8)) - self.pushButton.setText(QtGui.QApplication.translate("DPour", "Suivant", None, QtGui.QApplication.UnicodeUTF8)) - self.textLabel4.setText(QtGui.QApplication.translate("DPour", "La commande choisie sera ajoutée APRES la commande courante", None, QtGui.QApplication.UnicodeUTF8)) - self.TWChoix.setTabText(self.TWChoix.indexOf(self.Commande), QtGui.QApplication.translate("DPour", "Nouvelle Commande", None, QtGui.QApplication.UnicodeUTF8)) - self.textLabel1_3.setText(QtGui.QApplication.translate("DPour", "La commande POURSUITE requiert un nom de Fichier :", None, QtGui.QApplication.UnicodeUTF8)) - self.BFichier.setText(QtGui.QApplication.translate("DPour", "Autre Fichier", None, QtGui.QApplication.UnicodeUTF8)) - self.BBrowse.setText(QtGui.QApplication.translate("DPour", "Edit", None, QtGui.QApplication.UnicodeUTF8)) - self.TWChoix.setTabText(self.TWChoix.indexOf(self.TabPage), QtGui.QApplication.translate("DPour", "Fichier Poursuite", None, QtGui.QApplication.UnicodeUTF8)) - self.bOk.setToolTip(QtGui.QApplication.translate("DPour", "validation de la saisie", None, QtGui.QApplication.UnicodeUTF8)) - self.bOk.setText(QtGui.QApplication.translate("DPour", "&Valider", None, QtGui.QApplication.UnicodeUTF8)) - self.bOk.setShortcut(QtGui.QApplication.translate("DPour", "Shift+A, Alt+A, Alt+A, Alt+A", None, QtGui.QApplication.UnicodeUTF8)) - - -if __name__ == "__main__": - import sys - app = QtGui.QApplication(sys.argv) - DPour = QtGui.QWidget() - ui = Ui_DPour() - ui.setupUi(DPour) - DPour.show() - sys.exit(app.exec_()) - diff --git a/UiQT4/desRacine.py b/UiQT4/desRacine.py deleted file mode 100644 index 265c067c..00000000 --- a/UiQT4/desRacine.py +++ /dev/null @@ -1,139 +0,0 @@ -# -*- coding: utf-8 -*- - -# Form implementation generated from reading ui file 'desRacine.ui' -# -# Created: Fri Jun 19 11:40:13 2009 -# by: PyQt4 UI code generator 4.4.3 -# -# WARNING! All changes made in this file will be lost! - -from PyQt4 import QtCore, QtGui - -class Ui_DRac(object): - def setupUi(self, DRac): - DRac.setObjectName("DRac") - DRac.resize(582, 540) - sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(DRac.sizePolicy().hasHeightForWidth()) - DRac.setSizePolicy(sizePolicy) - DRac.setMinimumSize(QtCore.QSize(505, 0)) - self.gridLayout_2 = QtGui.QGridLayout(DRac) - self.gridLayout_2.setObjectName("gridLayout_2") - self.verticalLayout = QtGui.QVBoxLayout() - self.verticalLayout.setObjectName("verticalLayout") - self.horizontalLayout = QtGui.QHBoxLayout() - self.horizontalLayout.setObjectName("horizontalLayout") - self.textLabel1_4 = QtGui.QLabel(DRac) - self.textLabel1_4.setMinimumSize(QtCore.QSize(0, 20)) - self.textLabel1_4.setWordWrap(False) - self.textLabel1_4.setObjectName("textLabel1_4") - self.horizontalLayout.addWidget(self.textLabel1_4) - self.textLabel1_4_2 = QtGui.QLabel(DRac) - self.textLabel1_4_2.setWordWrap(False) - self.textLabel1_4_2.setObjectName("textLabel1_4_2") - self.horizontalLayout.addWidget(self.textLabel1_4_2) - self.verticalLayout.addLayout(self.horizontalLayout) - self.horizontalLayout_2 = QtGui.QHBoxLayout() - self.horizontalLayout_2.setObjectName("horizontalLayout_2") - self.RBalpha = QtGui.QRadioButton(DRac) - self.RBalpha.setChecked(True) - self.RBalpha.setObjectName("RBalpha") - self.horizontalLayout_2.addWidget(self.RBalpha) - self.RBGroupe = QtGui.QRadioButton(DRac) - self.RBGroupe.setObjectName("RBGroupe") - self.horizontalLayout_2.addWidget(self.RBGroupe) - spacerItem = QtGui.QSpacerItem(228, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) - self.horizontalLayout_2.addItem(spacerItem) - self.verticalLayout.addLayout(self.horizontalLayout_2) - self.horizontalLayout_3 = QtGui.QHBoxLayout() - self.horizontalLayout_3.setObjectName("horizontalLayout_3") - self.textLabel6 = QtGui.QLabel(DRac) - self.textLabel6.setMinimumSize(QtCore.QSize(40, 0)) - self.textLabel6.setWordWrap(False) - self.textLabel6.setObjectName("textLabel6") - self.horizontalLayout_3.addWidget(self.textLabel6) - self.LEFiltre = QtGui.QLineEdit(DRac) - self.LEFiltre.setMinimumSize(QtCore.QSize(0, 30)) - self.LEFiltre.setObjectName("LEFiltre") - self.horizontalLayout_3.addWidget(self.LEFiltre) - self.BNext = QtGui.QPushButton(DRac) - sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.BNext.sizePolicy().hasHeightForWidth()) - self.BNext.setSizePolicy(sizePolicy) - self.BNext.setObjectName("BNext") - self.horizontalLayout_3.addWidget(self.BNext) - spacerItem1 = QtGui.QSpacerItem(268, 27, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) - self.horizontalLayout_3.addItem(spacerItem1) - self.verticalLayout.addLayout(self.horizontalLayout_3) - self.gridLayout_2.addLayout(self.verticalLayout, 0, 0, 1, 1) - self.gridLayout = QtGui.QGridLayout() - self.gridLayout.setObjectName("gridLayout") - self.LBNouvCommande = QtGui.QListWidget(DRac) - sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.MinimumExpanding) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.LBNouvCommande.sizePolicy().hasHeightForWidth()) - self.LBNouvCommande.setSizePolicy(sizePolicy) - self.LBNouvCommande.setObjectName("LBNouvCommande") - self.gridLayout.addWidget(self.LBNouvCommande, 0, 0, 1, 1) - self.LBRegles = QtGui.QListWidget(DRac) - sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.MinimumExpanding) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.LBRegles.sizePolicy().hasHeightForWidth()) - self.LBRegles.setSizePolicy(sizePolicy) - self.LBRegles.setMinimumSize(QtCore.QSize(0, 0)) - self.LBRegles.setObjectName("LBRegles") - self.gridLayout.addWidget(self.LBRegles, 0, 1, 1, 1) - self.gridLayout_2.addLayout(self.gridLayout, 1, 0, 1, 1) - self.horizontalLayout_4 = QtGui.QHBoxLayout() - self.horizontalLayout_4.setObjectName("horizontalLayout_4") - spacerItem2 = QtGui.QSpacerItem(148, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) - self.horizontalLayout_4.addItem(spacerItem2) - self.bOk = QtGui.QPushButton(DRac) - sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.bOk.sizePolicy().hasHeightForWidth()) - self.bOk.setSizePolicy(sizePolicy) - self.bOk.setMinimumSize(QtCore.QSize(160, 30)) - self.bOk.setAutoDefault(True) - self.bOk.setDefault(True) - self.bOk.setObjectName("bOk") - self.horizontalLayout_4.addWidget(self.bOk) - spacerItem3 = QtGui.QSpacerItem(148, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) - self.horizontalLayout_4.addItem(spacerItem3) - self.gridLayout_2.addLayout(self.horizontalLayout_4, 2, 0, 1, 1) - - self.retranslateUi(DRac) - QtCore.QMetaObject.connectSlotsByName(DRac) - DRac.setTabOrder(self.LEFiltre, self.LBNouvCommande) - DRac.setTabOrder(self.LBNouvCommande, self.bOk) - DRac.setTabOrder(self.bOk, self.LBRegles) - - def retranslateUi(self, DRac): - DRac.setWindowTitle(QtGui.QApplication.translate("DRac", "DMacro", None, QtGui.QApplication.UnicodeUTF8)) - self.textLabel1_4.setText(QtGui.QApplication.translate("DRac", "Commandes :", None, QtGui.QApplication.UnicodeUTF8)) - self.textLabel1_4_2.setText(QtGui.QApplication.translate("DRac", "

Régles :

", None, QtGui.QApplication.UnicodeUTF8)) - self.RBalpha.setText(QtGui.QApplication.translate("DRac", "alphabétique", None, QtGui.QApplication.UnicodeUTF8)) - self.RBGroupe.setText(QtGui.QApplication.translate("DRac", "par groupe", None, QtGui.QApplication.UnicodeUTF8)) - self.textLabel6.setText(QtGui.QApplication.translate("DRac", "Filtre", None, QtGui.QApplication.UnicodeUTF8)) - self.BNext.setText(QtGui.QApplication.translate("DRac", "Suivant", None, QtGui.QApplication.UnicodeUTF8)) - self.bOk.setToolTip(QtGui.QApplication.translate("DRac", "validation de la saisie", None, QtGui.QApplication.UnicodeUTF8)) - self.bOk.setText(QtGui.QApplication.translate("DRac", "&Valider", None, QtGui.QApplication.UnicodeUTF8)) - self.bOk.setShortcut(QtGui.QApplication.translate("DRac", "Shift+A, Alt+A, Alt+A, Alt+A", None, QtGui.QApplication.UnicodeUTF8)) - - -if __name__ == "__main__": - import sys - app = QtGui.QApplication(sys.argv) - DRac = QtGui.QWidget() - ui = Ui_DRac() - ui.setupUi(DRac) - DRac.show() - sys.exit(app.exec_()) - diff --git a/UiQT4/desSelectVal.py b/UiQT4/desSelectVal.py deleted file mode 100644 index bb1b7923..00000000 --- a/UiQT4/desSelectVal.py +++ /dev/null @@ -1,60 +0,0 @@ -# -*- coding: utf-8 -*- - -# Form implementation generated from reading ui file 'desSelectVal.ui' -# -# Created: Fri Jun 19 11:40:13 2009 -# by: PyQt4 UI code generator 4.4.3 -# -# WARNING! All changes made in this file will be lost! - -from PyQt4 import QtCore, QtGui - -class Ui_DSelVal(object): - def setupUi(self, DSelVal): - DSelVal.setObjectName("DSelVal") - DSelVal.resize(469, 624) - self.TBtext = QtGui.QTextEdit(DSelVal) - self.TBtext.setGeometry(QtCore.QRect(9, 9, 451, 476)) - self.TBtext.setObjectName("TBtext") - self.BImportSel = QtGui.QPushButton(DSelVal) - self.BImportSel.setGeometry(QtCore.QRect(220, 520, 208, 27)) - self.BImportSel.setObjectName("BImportSel") - self.BImportTout = QtGui.QPushButton(DSelVal) - self.BImportTout.setGeometry(QtCore.QRect(220, 560, 208, 27)) - self.BImportTout.setObjectName("BImportTout") - self.BGSeparateur = QtGui.QGroupBox(DSelVal) - self.BGSeparateur.setGeometry(QtCore.QRect(20, 500, 188, 103)) - self.BGSeparateur.setObjectName("BGSeparateur") - self.Bespace = QtGui.QRadioButton(self.BGSeparateur) - self.Bespace.setGeometry(QtCore.QRect(20, 20, 148, 23)) - self.Bespace.setChecked(True) - self.Bespace.setObjectName("Bespace") - self.Bvirgule = QtGui.QRadioButton(self.BGSeparateur) - self.Bvirgule.setGeometry(QtCore.QRect(20, 40, 148, 23)) - self.Bvirgule.setObjectName("Bvirgule") - self.BpointVirgule = QtGui.QRadioButton(self.BGSeparateur) - self.BpointVirgule.setGeometry(QtCore.QRect(20, 60, 148, 23)) - self.BpointVirgule.setObjectName("BpointVirgule") - - self.retranslateUi(DSelVal) - QtCore.QMetaObject.connectSlotsByName(DSelVal) - - def retranslateUi(self, DSelVal): - DSelVal.setWindowTitle(QtGui.QApplication.translate("DSelVal", "Sélection de valeurs", None, QtGui.QApplication.UnicodeUTF8)) - self.BImportSel.setText(QtGui.QApplication.translate("DSelVal", "Ajouter Selection", None, QtGui.QApplication.UnicodeUTF8)) - self.BImportTout.setText(QtGui.QApplication.translate("DSelVal", "Importer Tout", None, QtGui.QApplication.UnicodeUTF8)) - self.BGSeparateur.setTitle(QtGui.QApplication.translate("DSelVal", "Separateur", None, QtGui.QApplication.UnicodeUTF8)) - self.Bespace.setText(QtGui.QApplication.translate("DSelVal", "espace", None, QtGui.QApplication.UnicodeUTF8)) - self.Bvirgule.setText(QtGui.QApplication.translate("DSelVal", "virgule", None, QtGui.QApplication.UnicodeUTF8)) - self.BpointVirgule.setText(QtGui.QApplication.translate("DSelVal", "point-virgule", None, QtGui.QApplication.UnicodeUTF8)) - - -if __name__ == "__main__": - import sys - app = QtGui.QApplication(sys.argv) - DSelVal = QtGui.QWidget() - ui = Ui_DSelVal() - ui.setupUi(DSelVal) - DSelVal.show() - sys.exit(app.exec_()) - diff --git a/UiQT4/desUniqueASSD.py b/UiQT4/desUniqueASSD.py deleted file mode 100644 index 097589fe..00000000 --- a/UiQT4/desUniqueASSD.py +++ /dev/null @@ -1,75 +0,0 @@ -# -*- coding: utf-8 -*- - -# Form implementation generated from reading ui file 'desUniqueASSD.ui' -# -# Created: Fri Jun 19 11:40:13 2009 -# by: PyQt4 UI code generator 4.4.3 -# -# WARNING! All changes made in this file will be lost! - -from PyQt4 import QtCore, QtGui - -class Ui_DUnASSD(object): - def setupUi(self, DUnASSD): - DUnASSD.setObjectName("DUnASSD") - DUnASSD.resize(482, 480) - DUnASSD.setMinimumSize(QtCore.QSize(350, 0)) - self.gridlayout = QtGui.QGridLayout(DUnASSD) - self.gridlayout.setObjectName("gridlayout") - self.tabuniqueinto = QtGui.QTabWidget(DUnASSD) - self.tabuniqueinto.setObjectName("tabuniqueinto") - self.Widget8 = QtGui.QWidget() - self.Widget8.setObjectName("Widget8") - self.gridLayout = QtGui.QGridLayout(self.Widget8) - self.gridLayout.setObjectName("gridLayout") - self.textLabel2 = QtGui.QLabel(self.Widget8) - self.textLabel2.setMinimumSize(QtCore.QSize(436, 50)) - self.textLabel2.setWordWrap(False) - self.textLabel2.setObjectName("textLabel2") - self.gridLayout.addWidget(self.textLabel2, 0, 0, 1, 1) - self.listBoxASSD = QtGui.QListWidget(self.Widget8) - self.listBoxASSD.setObjectName("listBoxASSD") - self.gridLayout.addWidget(self.listBoxASSD, 1, 0, 1, 1) - self.Commentaire = QtGui.QLabel(self.Widget8) - self.Commentaire.setMinimumSize(QtCore.QSize(380, 30)) - self.Commentaire.setWordWrap(False) - self.Commentaire.setObjectName("Commentaire") - self.gridLayout.addWidget(self.Commentaire, 2, 0, 1, 1) - self.horizontalLayout = QtGui.QHBoxLayout() - self.horizontalLayout.setObjectName("horizontalLayout") - spacerItem = QtGui.QSpacerItem(138, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) - self.horizontalLayout.addItem(spacerItem) - self.bOk = QtGui.QPushButton(self.Widget8) - self.bOk.setMinimumSize(QtCore.QSize(160, 30)) - self.bOk.setAutoDefault(True) - self.bOk.setDefault(True) - self.bOk.setObjectName("bOk") - self.horizontalLayout.addWidget(self.bOk) - spacerItem1 = QtGui.QSpacerItem(138, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) - self.horizontalLayout.addItem(spacerItem1) - self.gridLayout.addLayout(self.horizontalLayout, 3, 0, 1, 1) - self.tabuniqueinto.addTab(self.Widget8, "") - self.gridlayout.addWidget(self.tabuniqueinto, 0, 0, 1, 1) - - self.retranslateUi(DUnASSD) - QtCore.QMetaObject.connectSlotsByName(DUnASSD) - - def retranslateUi(self, DUnASSD): - DUnASSD.setWindowTitle(QtGui.QApplication.translate("DUnASSD", "DUnIn", None, QtGui.QApplication.UnicodeUTF8)) - self.textLabel2.setText(QtGui.QApplication.translate("DUnASSD", "

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

", None, QtGui.QApplication.UnicodeUTF8)) - self.bOk.setToolTip(QtGui.QApplication.translate("DUnASSD", "validation de la saisie", None, QtGui.QApplication.UnicodeUTF8)) - self.bOk.setText(QtGui.QApplication.translate("DUnASSD", "&Valider", None, QtGui.QApplication.UnicodeUTF8)) - self.bOk.setShortcut(QtGui.QApplication.translate("DUnASSD", "Shift+A, Alt+A, Alt+A, Alt+A", None, QtGui.QApplication.UnicodeUTF8)) - self.tabuniqueinto.setTabText(self.tabuniqueinto.indexOf(self.Widget8), QtGui.QApplication.translate("DUnASSD", "Saisir Valeur", None, QtGui.QApplication.UnicodeUTF8)) - - -if __name__ == "__main__": - import sys - app = QtGui.QApplication(sys.argv) - DUnASSD = QtGui.QWidget() - ui = Ui_DUnASSD() - ui.setupUi(DUnASSD) - DUnASSD.show() - sys.exit(app.exec_()) - diff --git a/UiQT4/desUniqueBase.py b/UiQT4/desUniqueBase.py deleted file mode 100644 index beba5d9f..00000000 --- a/UiQT4/desUniqueBase.py +++ /dev/null @@ -1,139 +0,0 @@ -# -*- coding: utf-8 -*- - -# Form implementation generated from reading ui file 'desUniqueBase.ui' -# -# Created: Fri Jun 19 11:40:13 2009 -# by: PyQt4 UI code generator 4.4.3 -# -# WARNING! All changes made in this file will be lost! - -from PyQt4 import QtCore, QtGui - -class Ui_DUnBase(object): - def setupUi(self, DUnBase): - DUnBase.setObjectName("DUnBase") - DUnBase.resize(482, 480) - DUnBase.setMinimumSize(QtCore.QSize(350, 0)) - self.gridlayout = QtGui.QGridLayout(DUnBase) - self.gridlayout.setObjectName("gridlayout") - self.tabuniqueinto = QtGui.QTabWidget(DUnBase) - self.tabuniqueinto.setObjectName("tabuniqueinto") - self.Widget8 = QtGui.QWidget() - self.Widget8.setObjectName("Widget8") - self.gridLayout = QtGui.QGridLayout(self.Widget8) - self.gridLayout.setObjectName("gridLayout") - self.horizontalLayout = QtGui.QHBoxLayout() - self.horizontalLayout.setObjectName("horizontalLayout") - self.textLabel2 = QtGui.QLabel(self.Widget8) - self.textLabel2.setWordWrap(False) - self.textLabel2.setObjectName("textLabel2") - self.horizontalLayout.addWidget(self.textLabel2) - self.lineEditVal = QtGui.QLineEdit(self.Widget8) - self.lineEditVal.setMinimumSize(QtCore.QSize(290, 50)) - self.lineEditVal.setObjectName("lineEditVal") - self.horizontalLayout.addWidget(self.lineEditVal) - self.gridLayout.addLayout(self.horizontalLayout, 0, 0, 1, 4) - spacerItem = QtGui.QSpacerItem(137, 43, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) - self.gridLayout.addItem(spacerItem, 1, 2, 1, 1) - self.bParametres = QtGui.QPushButton(self.Widget8) - sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.bParametres.sizePolicy().hasHeightForWidth()) - self.bParametres.setSizePolicy(sizePolicy) - self.bParametres.setMinimumSize(QtCore.QSize(140, 45)) - self.bParametres.setObjectName("bParametres") - self.gridLayout.addWidget(self.bParametres, 1, 3, 2, 1) - spacerItem1 = QtGui.QSpacerItem(293, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) - self.gridLayout.addItem(spacerItem1, 2, 0, 1, 3) - self.BSalome = QtGui.QPushButton(self.Widget8) - self.BSalome.setMinimumSize(QtCore.QSize(142, 40)) - icon = QtGui.QIcon() - icon.addPixmap(QtGui.QPixmap("image240.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) - self.BSalome.setIcon(icon) - self.BSalome.setObjectName("BSalome") - self.gridLayout.addWidget(self.BSalome, 3, 0, 1, 1) - spacerItem2 = QtGui.QSpacerItem(138, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) - self.gridLayout.addItem(spacerItem2, 3, 1, 1, 1) - spacerItem3 = QtGui.QSpacerItem(137, 77, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) - self.gridLayout.addItem(spacerItem3, 3, 2, 2, 1) - self.BView2D = QtGui.QPushButton(self.Widget8) - sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.BView2D.sizePolicy().hasHeightForWidth()) - self.BView2D.setSizePolicy(sizePolicy) - self.BView2D.setMinimumSize(QtCore.QSize(140, 40)) - self.BView2D.setObjectName("BView2D") - self.gridLayout.addWidget(self.BView2D, 3, 3, 1, 1) - self.BFichier = QtGui.QPushButton(self.Widget8) - sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.BFichier.sizePolicy().hasHeightForWidth()) - self.BFichier.setSizePolicy(sizePolicy) - self.BFichier.setMinimumSize(QtCore.QSize(140, 40)) - self.BFichier.setIcon(icon) - self.BFichier.setObjectName("BFichier") - self.gridLayout.addWidget(self.BFichier, 4, 3, 2, 1) - spacerItem4 = QtGui.QSpacerItem(293, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) - self.gridLayout.addItem(spacerItem4, 5, 0, 1, 3) - self.verticalLayout = QtGui.QVBoxLayout() - self.verticalLayout.setObjectName("verticalLayout") - spacerItem5 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) - self.verticalLayout.addItem(spacerItem5) - self.Commentaire = QtGui.QLabel(self.Widget8) - self.Commentaire.setObjectName("Commentaire") - self.verticalLayout.addWidget(self.Commentaire) - spacerItem6 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) - self.verticalLayout.addItem(spacerItem6) - self.gridLayout.addLayout(self.verticalLayout, 6, 0, 1, 4) - self.horizontalLayout_2 = QtGui.QHBoxLayout() - self.horizontalLayout_2.setObjectName("horizontalLayout_2") - spacerItem7 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) - self.horizontalLayout_2.addItem(spacerItem7) - self.bOk = QtGui.QPushButton(self.Widget8) - sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.bOk.sizePolicy().hasHeightForWidth()) - self.bOk.setSizePolicy(sizePolicy) - self.bOk.setMinimumSize(QtCore.QSize(140, 40)) - self.bOk.setAutoDefault(True) - self.bOk.setDefault(True) - self.bOk.setObjectName("bOk") - self.horizontalLayout_2.addWidget(self.bOk) - spacerItem8 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) - self.horizontalLayout_2.addItem(spacerItem8) - self.gridLayout.addLayout(self.horizontalLayout_2, 7, 0, 1, 4) - self.tabuniqueinto.addTab(self.Widget8, "") - self.gridlayout.addWidget(self.tabuniqueinto, 0, 0, 1, 1) - - self.retranslateUi(DUnBase) - QtCore.QMetaObject.connectSlotsByName(DUnBase) - DUnBase.setTabOrder(self.lineEditVal, self.bOk) - DUnBase.setTabOrder(self.bOk, self.BSalome) - DUnBase.setTabOrder(self.BSalome, self.BView2D) - - def retranslateUi(self, DUnBase): - DUnBase.setWindowTitle(QtGui.QApplication.translate("DUnBase", "DUnIn", None, QtGui.QApplication.UnicodeUTF8)) - self.textLabel2.setText(QtGui.QApplication.translate("DUnBase", "

Valeur:

", None, QtGui.QApplication.UnicodeUTF8)) - self.bParametres.setText(QtGui.QApplication.translate("DUnBase", "Parametres", None, QtGui.QApplication.UnicodeUTF8)) - self.BView2D.setText(QtGui.QApplication.translate("DUnBase", "Visualiser", None, QtGui.QApplication.UnicodeUTF8)) - self.BFichier.setText(QtGui.QApplication.translate("DUnBase", "Fichier", None, QtGui.QApplication.UnicodeUTF8)) - self.Commentaire.setText(QtGui.QApplication.translate("DUnBase", "TextLabel", None, QtGui.QApplication.UnicodeUTF8)) - self.bOk.setToolTip(QtGui.QApplication.translate("DUnBase", "validation de la saisie", None, QtGui.QApplication.UnicodeUTF8)) - self.bOk.setText(QtGui.QApplication.translate("DUnBase", "&Valider", None, QtGui.QApplication.UnicodeUTF8)) - self.bOk.setShortcut(QtGui.QApplication.translate("DUnBase", "Shift+A, Alt+A, Alt+A, Alt+A", None, QtGui.QApplication.UnicodeUTF8)) - self.tabuniqueinto.setTabText(self.tabuniqueinto.indexOf(self.Widget8), QtGui.QApplication.translate("DUnBase", "Saisir Valeur", None, QtGui.QApplication.UnicodeUTF8)) - - -if __name__ == "__main__": - import sys - app = QtGui.QApplication(sys.argv) - DUnBase = QtGui.QWidget() - ui = Ui_DUnBase() - ui.setupUi(DUnBase) - DUnBase.show() - sys.exit(app.exec_()) - diff --git a/UiQT4/desUniqueComp.py b/UiQT4/desUniqueComp.py deleted file mode 100644 index 77999673..00000000 --- a/UiQT4/desUniqueComp.py +++ /dev/null @@ -1,113 +0,0 @@ -# -*- coding: utf-8 -*- - -# Form implementation generated from reading ui file 'desUniqueComp.ui' -# -# Created: Fri Jun 19 11:40:13 2009 -# by: PyQt4 UI code generator 4.4.3 -# -# WARNING! All changes made in this file will be lost! - -from PyQt4 import QtCore, QtGui - -class Ui_DUnComp(object): - def setupUi(self, DUnComp): - DUnComp.setObjectName("DUnComp") - DUnComp.resize(484, 529) - DUnComp.setMinimumSize(QtCore.QSize(350, 0)) - self.gridlayout = QtGui.QGridLayout(DUnComp) - self.gridlayout.setObjectName("gridlayout") - self.tabuniqueinto = QtGui.QTabWidget(DUnComp) - self.tabuniqueinto.setObjectName("tabuniqueinto") - self.Widget8 = QtGui.QWidget() - self.Widget8.setObjectName("Widget8") - self.gridLayout_2 = QtGui.QGridLayout(self.Widget8) - self.gridLayout_2.setObjectName("gridLayout_2") - self.verticalLayout_2 = QtGui.QVBoxLayout() - self.verticalLayout_2.setObjectName("verticalLayout_2") - self.textLabel1 = QtGui.QLabel(self.Widget8) - self.textLabel1.setWordWrap(False) - self.textLabel1.setObjectName("textLabel1") - self.verticalLayout_2.addWidget(self.textLabel1) - self.LEcomp = QtGui.QLineEdit(self.Widget8) - self.LEcomp.setMinimumSize(QtCore.QSize(390, 40)) - self.LEcomp.setObjectName("LEcomp") - self.verticalLayout_2.addWidget(self.LEcomp) - self.gridLayout_2.addLayout(self.verticalLayout_2, 0, 0, 1, 1) - self.verticalLayout_3 = QtGui.QVBoxLayout() - self.verticalLayout_3.setObjectName("verticalLayout_3") - spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) - self.verticalLayout_3.addItem(spacerItem) - self.groupBox = QtGui.QGroupBox(self.Widget8) - self.groupBox.setObjectName("groupBox") - self.gridLayout = QtGui.QGridLayout(self.groupBox) - self.gridLayout.setObjectName("gridLayout") - self.RBRI = QtGui.QRadioButton(self.groupBox) - self.RBRI.setObjectName("RBRI") - self.gridLayout.addWidget(self.RBRI, 0, 0, 1, 1) - self.RBMP = QtGui.QRadioButton(self.groupBox) - self.RBMP.setObjectName("RBMP") - self.gridLayout.addWidget(self.RBMP, 1, 0, 1, 1) - self.verticalLayout_3.addWidget(self.groupBox) - self.gridLayout_2.addLayout(self.verticalLayout_3, 1, 0, 1, 1) - self.horizontalLayout_2 = QtGui.QHBoxLayout() - self.horizontalLayout_2.setObjectName("horizontalLayout_2") - self.LEReel = QtGui.QLineEdit(self.Widget8) - self.LEReel.setMinimumSize(QtCore.QSize(190, 40)) - self.LEReel.setObjectName("LEReel") - self.horizontalLayout_2.addWidget(self.LEReel) - self.LEImag = QtGui.QLineEdit(self.Widget8) - self.LEImag.setMinimumSize(QtCore.QSize(190, 40)) - self.LEImag.setObjectName("LEImag") - self.horizontalLayout_2.addWidget(self.LEImag) - self.gridLayout_2.addLayout(self.horizontalLayout_2, 2, 0, 1, 1) - self.verticalLayout = QtGui.QVBoxLayout() - self.verticalLayout.setObjectName("verticalLayout") - self.Commentaire = QtGui.QLabel(self.Widget8) - self.Commentaire.setWordWrap(False) - self.Commentaire.setObjectName("Commentaire") - self.verticalLayout.addWidget(self.Commentaire) - spacerItem1 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) - self.verticalLayout.addItem(spacerItem1) - self.horizontalLayout = QtGui.QHBoxLayout() - self.horizontalLayout.setObjectName("horizontalLayout") - spacerItem2 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) - self.horizontalLayout.addItem(spacerItem2) - self.bOk = QtGui.QPushButton(self.Widget8) - self.bOk.setMinimumSize(QtCore.QSize(160, 30)) - self.bOk.setMaximumSize(QtCore.QSize(160, 30)) - self.bOk.setAutoDefault(True) - self.bOk.setDefault(True) - self.bOk.setObjectName("bOk") - self.horizontalLayout.addWidget(self.bOk) - spacerItem3 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) - self.horizontalLayout.addItem(spacerItem3) - self.verticalLayout.addLayout(self.horizontalLayout) - self.gridLayout_2.addLayout(self.verticalLayout, 3, 0, 1, 1) - self.tabuniqueinto.addTab(self.Widget8, "") - self.gridlayout.addWidget(self.tabuniqueinto, 0, 0, 1, 1) - - self.retranslateUi(DUnComp) - QtCore.QMetaObject.connectSlotsByName(DUnComp) - - def retranslateUi(self, DUnComp): - DUnComp.setWindowTitle(QtGui.QApplication.translate("DUnComp", "DUnComp", None, QtGui.QApplication.UnicodeUTF8)) - self.textLabel1.setText(QtGui.QApplication.translate("DUnComp", "Complexe de la forme : a+bj", None, QtGui.QApplication.UnicodeUTF8)) - self.groupBox.setTitle(QtGui.QApplication.translate("DUnComp", "Ou", None, QtGui.QApplication.UnicodeUTF8)) - self.RBRI.setText(QtGui.QApplication.translate("DUnComp", "RI : Réel Imaginaire", None, QtGui.QApplication.UnicodeUTF8)) - self.RBMP.setText(QtGui.QApplication.translate("DUnComp", "MP : Module Phase", None, QtGui.QApplication.UnicodeUTF8)) - self.Commentaire.setText(QtGui.QApplication.translate("DUnComp", "Un complexe est attendu", None, QtGui.QApplication.UnicodeUTF8)) - self.bOk.setToolTip(QtGui.QApplication.translate("DUnComp", "validation de la saisie", None, QtGui.QApplication.UnicodeUTF8)) - self.bOk.setText(QtGui.QApplication.translate("DUnComp", "&Valider", None, QtGui.QApplication.UnicodeUTF8)) - self.bOk.setShortcut(QtGui.QApplication.translate("DUnComp", "Shift+A, Alt+A, Alt+A, Alt+A", None, QtGui.QApplication.UnicodeUTF8)) - self.tabuniqueinto.setTabText(self.tabuniqueinto.indexOf(self.Widget8), QtGui.QApplication.translate("DUnComp", "Saisir Valeur", None, QtGui.QApplication.UnicodeUTF8)) - - -if __name__ == "__main__": - import sys - app = QtGui.QApplication(sys.argv) - DUnComp = QtGui.QWidget() - ui = Ui_DUnComp() - ui.setupUi(DUnComp) - DUnComp.show() - sys.exit(app.exec_()) - diff --git a/UiQT4/desUniqueInto.py b/UiQT4/desUniqueInto.py deleted file mode 100644 index 40f6bdb3..00000000 --- a/UiQT4/desUniqueInto.py +++ /dev/null @@ -1,74 +0,0 @@ -# -*- coding: utf-8 -*- - -# Form implementation generated from reading ui file 'desUniqueInto.ui' -# -# Created: Fri Jun 19 11:40:13 2009 -# by: PyQt4 UI code generator 4.4.3 -# -# WARNING! All changes made in this file will be lost! - -from PyQt4 import QtCore, QtGui - -class Ui_DUnIn(object): - def setupUi(self, DUnIn): - DUnIn.setObjectName("DUnIn") - DUnIn.resize(482, 480) - DUnIn.setMinimumSize(QtCore.QSize(350, 0)) - self.gridLayout_2 = QtGui.QGridLayout(DUnIn) - self.gridLayout_2.setObjectName("gridLayout_2") - self.tabuniqueinto = QtGui.QTabWidget(DUnIn) - self.tabuniqueinto.setObjectName("tabuniqueinto") - self.Widget8 = QtGui.QWidget() - self.Widget8.setObjectName("Widget8") - self.gridLayout = QtGui.QGridLayout(self.Widget8) - self.gridLayout.setObjectName("gridLayout") - self.textLabel2 = QtGui.QLabel(self.Widget8) - self.textLabel2.setWordWrap(False) - self.textLabel2.setObjectName("textLabel2") - self.gridLayout.addWidget(self.textLabel2, 0, 0, 1, 1) - self.listBoxVal = QtGui.QListWidget(self.Widget8) - self.listBoxVal.setObjectName("listBoxVal") - self.gridLayout.addWidget(self.listBoxVal, 1, 0, 1, 1) - self.Commentaire = QtGui.QLabel(self.Widget8) - self.Commentaire.setMinimumSize(QtCore.QSize(420, 30)) - self.Commentaire.setWordWrap(False) - self.Commentaire.setObjectName("Commentaire") - self.gridLayout.addWidget(self.Commentaire, 2, 0, 1, 1) - self.horizontalLayout = QtGui.QHBoxLayout() - self.horizontalLayout.setObjectName("horizontalLayout") - spacerItem = QtGui.QSpacerItem(138, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) - self.horizontalLayout.addItem(spacerItem) - self.bOk = QtGui.QPushButton(self.Widget8) - self.bOk.setMinimumSize(QtCore.QSize(160, 30)) - self.bOk.setMaximumSize(QtCore.QSize(160, 30)) - self.bOk.setAutoDefault(True) - self.bOk.setDefault(True) - self.bOk.setObjectName("bOk") - self.horizontalLayout.addWidget(self.bOk) - spacerItem1 = QtGui.QSpacerItem(118, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) - self.horizontalLayout.addItem(spacerItem1) - self.gridLayout.addLayout(self.horizontalLayout, 3, 0, 1, 1) - self.tabuniqueinto.addTab(self.Widget8, "") - self.gridLayout_2.addWidget(self.tabuniqueinto, 0, 0, 1, 1) - - self.retranslateUi(DUnIn) - QtCore.QMetaObject.connectSlotsByName(DUnIn) - - def retranslateUi(self, DUnIn): - DUnIn.setWindowTitle(QtGui.QApplication.translate("DUnIn", "DUnIn", None, QtGui.QApplication.UnicodeUTF8)) - self.textLabel2.setText(QtGui.QApplication.translate("DUnIn", "

Valeurs possibles

", None, QtGui.QApplication.UnicodeUTF8)) - self.bOk.setToolTip(QtGui.QApplication.translate("DUnIn", "validation de la saisie", None, QtGui.QApplication.UnicodeUTF8)) - self.bOk.setText(QtGui.QApplication.translate("DUnIn", "&Valider", None, QtGui.QApplication.UnicodeUTF8)) - self.bOk.setShortcut(QtGui.QApplication.translate("DUnIn", "Shift+A, Alt+A, Alt+A, Alt+A", None, QtGui.QApplication.UnicodeUTF8)) - self.tabuniqueinto.setTabText(self.tabuniqueinto.indexOf(self.Widget8), QtGui.QApplication.translate("DUnIn", "Saisir Valeur", None, QtGui.QApplication.UnicodeUTF8)) - - -if __name__ == "__main__": - import sys - app = QtGui.QApplication(sys.argv) - DUnIn = QtGui.QWidget() - ui = Ui_DUnIn() - ui.setupUi(DUnIn) - DUnIn.show() - sys.exit(app.exec_()) - diff --git a/UiQT4/desUniqueSDCO.py b/UiQT4/desUniqueSDCO.py deleted file mode 100644 index 0d4e4475..00000000 --- a/UiQT4/desUniqueSDCO.py +++ /dev/null @@ -1,74 +0,0 @@ -# -*- coding: utf-8 -*- - -# Form implementation generated from reading ui file 'desUniqueSDCO.ui' -# -# Created: Fri Jun 19 11:40:13 2009 -# by: PyQt4 UI code generator 4.4.3 -# -# WARNING! All changes made in this file will be lost! - -from PyQt4 import QtCore, QtGui - -class Ui_DUnSDCO(object): - def setupUi(self, DUnSDCO): - DUnSDCO.setObjectName("DUnSDCO") - DUnSDCO.resize(461, 480) - DUnSDCO.setMinimumSize(QtCore.QSize(350, 0)) - self.gridlayout = QtGui.QGridLayout(DUnSDCO) - self.gridlayout.setObjectName("gridlayout") - self.tabuniqueinto = QtGui.QTabWidget(DUnSDCO) - self.tabuniqueinto.setObjectName("tabuniqueinto") - self.Widget8 = QtGui.QWidget() - self.Widget8.setObjectName("Widget8") - self.gridlayout1 = QtGui.QGridLayout(self.Widget8) - self.gridlayout1.setObjectName("gridlayout1") - self.bOk = QtGui.QPushButton(self.Widget8) - self.bOk.setMinimumSize(QtCore.QSize(0, 30)) - self.bOk.setAutoDefault(True) - self.bOk.setDefault(True) - self.bOk.setObjectName("bOk") - self.gridlayout1.addWidget(self.bOk, 4, 1, 1, 1) - self.Commentaire = QtGui.QLabel(self.Widget8) - self.Commentaire.setMinimumSize(QtCore.QSize(311, 30)) - self.Commentaire.setWordWrap(False) - self.Commentaire.setObjectName("Commentaire") - self.gridlayout1.addWidget(self.Commentaire, 3, 0, 1, 3) - self.textLabel2_2 = QtGui.QLabel(self.Widget8) - self.textLabel2_2.setWordWrap(False) - self.textLabel2_2.setObjectName("textLabel2_2") - self.gridlayout1.addWidget(self.textLabel2_2, 0, 0, 1, 3) - self.LESDCO = QtGui.QLineEdit(self.Widget8) - self.LESDCO.setMinimumSize(QtCore.QSize(300, 40)) - self.LESDCO.setObjectName("LESDCO") - self.gridlayout1.addWidget(self.LESDCO, 1, 0, 1, 3) - self.textLabel2 = QtGui.QLabel(self.Widget8) - self.textLabel2.setWordWrap(False) - self.textLabel2.setObjectName("textLabel2") - self.gridlayout1.addWidget(self.textLabel2, 2, 0, 1, 3) - self.tabuniqueinto.addTab(self.Widget8, "") - self.gridlayout.addWidget(self.tabuniqueinto, 0, 0, 1, 1) - - self.retranslateUi(DUnSDCO) - QtCore.QMetaObject.connectSlotsByName(DUnSDCO) - DUnSDCO.setTabOrder(self.LESDCO, self.tabuniqueinto) - DUnSDCO.setTabOrder(self.tabuniqueinto, self.bOk) - - def retranslateUi(self, DUnSDCO): - DUnSDCO.setWindowTitle(QtGui.QApplication.translate("DUnSDCO", "DUnIn", None, QtGui.QApplication.UnicodeUTF8)) - self.bOk.setToolTip(QtGui.QApplication.translate("DUnSDCO", "validation de la saisie", None, QtGui.QApplication.UnicodeUTF8)) - self.bOk.setText(QtGui.QApplication.translate("DUnSDCO", "&Valider", None, QtGui.QApplication.UnicodeUTF8)) - self.bOk.setShortcut(QtGui.QApplication.translate("DUnSDCO", "Shift+A, Alt+A, Alt+A, Alt+A", None, QtGui.QApplication.UnicodeUTF8)) - self.textLabel2_2.setText(QtGui.QApplication.translate("DUnSDCO", "

Nom du nouveau concept :

", None, QtGui.QApplication.UnicodeUTF8)) - self.textLabel2.setText(QtGui.QApplication.translate("DUnSDCO", "Un objet de type CO est attendu", None, QtGui.QApplication.UnicodeUTF8)) - self.tabuniqueinto.setTabText(self.tabuniqueinto.indexOf(self.Widget8), QtGui.QApplication.translate("DUnSDCO", "Saisir Valeur", None, QtGui.QApplication.UnicodeUTF8)) - - -if __name__ == "__main__": - import sys - app = QtGui.QApplication(sys.argv) - DUnSDCO = QtGui.QWidget() - ui = Ui_DUnSDCO() - ui.setupUi(DUnSDCO) - DUnSDCO.show() - sys.exit(app.exec_()) - diff --git a/UiQT4/desUniqueSDCOInto.py b/UiQT4/desUniqueSDCOInto.py deleted file mode 100644 index 38c28c9f..00000000 --- a/UiQT4/desUniqueSDCOInto.py +++ /dev/null @@ -1,95 +0,0 @@ -# -*- coding: utf-8 -*- - -# Form implementation generated from reading ui file 'desUniqueSDCOInto.ui' -# -# Created: Fri Jun 19 11:40:13 2009 -# by: PyQt4 UI code generator 4.4.3 -# -# WARNING! All changes made in this file will be lost! - -from PyQt4 import QtCore, QtGui - -class Ui_DUnSDCOInto(object): - def setupUi(self, DUnSDCOInto): - DUnSDCOInto.setObjectName("DUnSDCOInto") - DUnSDCOInto.resize(482, 480) - DUnSDCOInto.setMinimumSize(QtCore.QSize(350, 0)) - self.gridlayout = QtGui.QGridLayout(DUnSDCOInto) - self.gridlayout.setObjectName("gridlayout") - self.tabuniqueinto = QtGui.QTabWidget(DUnSDCOInto) - self.tabuniqueinto.setObjectName("tabuniqueinto") - self.Widget8 = QtGui.QWidget() - self.Widget8.setObjectName("Widget8") - self.gridlayout1 = QtGui.QGridLayout(self.Widget8) - self.gridlayout1.setObjectName("gridlayout1") - self.textLabel2 = QtGui.QLabel(self.Widget8) - self.textLabel2.setWordWrap(False) - self.textLabel2.setObjectName("textLabel2") - self.gridlayout1.addWidget(self.textLabel2, 0, 0, 1, 3) - self.LBSDCO = QtGui.QListWidget(self.Widget8) - self.LBSDCO.setObjectName("LBSDCO") - self.gridlayout1.addWidget(self.LBSDCO, 1, 0, 1, 3) - self.textLabel2_3 = QtGui.QLabel(self.Widget8) - self.textLabel2_3.setWordWrap(False) - self.textLabel2_3.setObjectName("textLabel2_3") - self.gridlayout1.addWidget(self.textLabel2_3, 5, 0, 1, 3) - self.Commentaire = QtGui.QLabel(self.Widget8) - self.Commentaire.setMinimumSize(QtCore.QSize(420, 30)) - self.Commentaire.setWordWrap(False) - self.Commentaire.setObjectName("Commentaire") - self.gridlayout1.addWidget(self.Commentaire, 4, 0, 1, 3) - self.gridlayout2 = QtGui.QGridLayout() - self.gridlayout2.setObjectName("gridlayout2") - self.gridlayout1.addLayout(self.gridlayout2, 2, 0, 1, 3) - self.hboxlayout = QtGui.QHBoxLayout() - self.hboxlayout.setObjectName("hboxlayout") - self.frame3 = QtGui.QFrame(self.Widget8) - self.frame3.setMinimumSize(QtCore.QSize(190, 50)) - self.frame3.setFrameShape(QtGui.QFrame.StyledPanel) - self.frame3.setFrameShadow(QtGui.QFrame.Raised) - self.frame3.setObjectName("frame3") - self.textLabel2_2 = QtGui.QLabel(self.frame3) - self.textLabel2_2.setGeometry(QtCore.QRect(20, 10, 150, 30)) - self.textLabel2_2.setWordWrap(False) - self.textLabel2_2.setObjectName("textLabel2_2") - self.hboxlayout.addWidget(self.frame3) - self.LESDCO = QtGui.QLineEdit(self.Widget8) - self.LESDCO.setMinimumSize(QtCore.QSize(220, 40)) - self.LESDCO.setObjectName("LESDCO") - self.hboxlayout.addWidget(self.LESDCO) - self.gridlayout1.addLayout(self.hboxlayout, 3, 0, 1, 3) - self.bOk = QtGui.QPushButton(self.Widget8) - self.bOk.setMinimumSize(QtCore.QSize(0, 30)) - self.bOk.setAutoDefault(True) - self.bOk.setDefault(True) - self.bOk.setObjectName("bOk") - self.gridlayout1.addWidget(self.bOk, 6, 1, 1, 1) - self.tabuniqueinto.addTab(self.Widget8, "") - self.gridlayout.addWidget(self.tabuniqueinto, 0, 0, 1, 1) - - self.retranslateUi(DUnSDCOInto) - QtCore.QMetaObject.connectSlotsByName(DUnSDCOInto) - DUnSDCOInto.setTabOrder(self.LESDCO, self.LBSDCO) - DUnSDCOInto.setTabOrder(self.LBSDCO, self.tabuniqueinto) - DUnSDCOInto.setTabOrder(self.tabuniqueinto, self.bOk) - - def retranslateUi(self, DUnSDCOInto): - DUnSDCOInto.setWindowTitle(QtGui.QApplication.translate("DUnSDCOInto", "DUnIn", None, QtGui.QApplication.UnicodeUTF8)) - self.textLabel2.setText(QtGui.QApplication.translate("DUnSDCOInto", "Structures de données du type requis par l\'objet courant ", None, QtGui.QApplication.UnicodeUTF8)) - self.textLabel2_3.setText(QtGui.QApplication.translate("DUnSDCOInto", "Un objet de type CO est attendu", None, QtGui.QApplication.UnicodeUTF8)) - self.textLabel2_2.setText(QtGui.QApplication.translate("DUnSDCOInto", " Nom concept : ", None, QtGui.QApplication.UnicodeUTF8)) - self.bOk.setToolTip(QtGui.QApplication.translate("DUnSDCOInto", "validation de la saisie", None, QtGui.QApplication.UnicodeUTF8)) - self.bOk.setText(QtGui.QApplication.translate("DUnSDCOInto", "&Valider", None, QtGui.QApplication.UnicodeUTF8)) - self.bOk.setShortcut(QtGui.QApplication.translate("DUnSDCOInto", "Shift+A, Alt+A, Alt+A, Alt+A", None, QtGui.QApplication.UnicodeUTF8)) - self.tabuniqueinto.setTabText(self.tabuniqueinto.indexOf(self.Widget8), QtGui.QApplication.translate("DUnSDCOInto", "Saisir Valeur", None, QtGui.QApplication.UnicodeUTF8)) - - -if __name__ == "__main__": - import sys - app = QtGui.QApplication(sys.argv) - DUnSDCOInto = QtGui.QWidget() - ui = Ui_DUnSDCOInto() - ui.setupUi(DUnSDCOInto) - DUnSDCOInto.show() - sys.exit(app.exec_()) - diff --git a/UiQT4/desViewTexte.py b/UiQT4/desViewTexte.py deleted file mode 100644 index 08f75b4c..00000000 --- a/UiQT4/desViewTexte.py +++ /dev/null @@ -1,47 +0,0 @@ -# -*- coding: utf-8 -*- - -# Form implementation generated from reading ui file 'desViewTexte.ui' -# -# Created: Fri Jun 19 11:40:14 2009 -# by: PyQt4 UI code generator 4.4.3 -# -# WARNING! All changes made in this file will be lost! - -from PyQt4 import QtCore, QtGui - -class Ui_dView(object): - def setupUi(self, dView): - dView.setObjectName("dView") - dView.resize(400, 322) - self.gridLayout = QtGui.QGridLayout(dView) - self.gridLayout.setObjectName("gridLayout") - self.view = QtGui.QTextBrowser(dView) - self.view.setObjectName("view") - self.gridLayout.addWidget(self.view, 0, 0, 1, 4) - spacerItem = QtGui.QSpacerItem(209, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) - self.gridLayout.addItem(spacerItem, 1, 0, 1, 1) - self.bclose = QtGui.QPushButton(dView) - self.bclose.setObjectName("bclose") - self.gridLayout.addWidget(self.bclose, 1, 2, 1, 1) - self.bsave = QtGui.QPushButton(dView) - self.bsave.setObjectName("bsave") - self.gridLayout.addWidget(self.bsave, 1, 1, 1, 1) - - self.retranslateUi(dView) - QtCore.QMetaObject.connectSlotsByName(dView) - - def retranslateUi(self, dView): - dView.setWindowTitle(QtGui.QApplication.translate("dView", "Dialog", None, QtGui.QApplication.UnicodeUTF8)) - self.bclose.setText(QtGui.QApplication.translate("dView", "Fermer", None, QtGui.QApplication.UnicodeUTF8)) - self.bsave.setText(QtGui.QApplication.translate("dView", "Sauver", None, QtGui.QApplication.UnicodeUTF8)) - - -if __name__ == "__main__": - import sys - app = QtGui.QApplication(sys.argv) - dView = QtGui.QDialog() - ui = Ui_dView() - ui.setupUi(dView) - dView.show() - sys.exit(app.exec_()) - diff --git a/UiQT4/desVisu.py b/UiQT4/desVisu.py deleted file mode 100644 index 4049c7dc..00000000 --- a/UiQT4/desVisu.py +++ /dev/null @@ -1,36 +0,0 @@ -# -*- coding: utf-8 -*- - -# Form implementation generated from reading ui file 'desVisu.ui' -# -# Created: Fri Jun 19 11:40:13 2009 -# by: PyQt4 UI code generator 4.4.3 -# -# WARNING! All changes made in this file will be lost! - -from PyQt4 import QtCore, QtGui - -class Ui_DVisu(object): - def setupUi(self, DVisu): - DVisu.setObjectName("DVisu") - DVisu.resize(501, 394) - self.gridlayout = QtGui.QGridLayout(DVisu) - self.gridlayout.setObjectName("gridlayout") - self.TB = QtGui.QTextBrowser(DVisu) - self.TB.setObjectName("TB") - self.gridlayout.addWidget(self.TB, 0, 0, 1, 1) - - self.retranslateUi(DVisu) - - def retranslateUi(self, DVisu): - DVisu.setWindowTitle(QtGui.QApplication.translate("DVisu", "Visualisation Include Materiau", None, QtGui.QApplication.UnicodeUTF8)) - - -if __name__ == "__main__": - import sys - app = QtGui.QApplication(sys.argv) - DVisu = QtGui.QWidget() - ui = Ui_DVisu() - ui.setupUi(DVisu) - DVisu.show() - sys.exit(app.exec_()) - diff --git a/UiQT4/makefile b/UiQT4/makefile index 62f837e6..9293659e 100644 --- a/UiQT4/makefile +++ b/UiQT4/makefile @@ -14,3 +14,6 @@ PY_FILES = desChoixCata.py desCommande.py desCommentaire.py desError.py desFormu ${PYUIC} -x -o $@ $< all : $(PY_FILES) +clean : + -rm -rf $(PY_FILES) *.pyc + diff --git a/UiQT4/myMain.py b/UiQT4/myMain.py deleted file mode 100644 index 73c24c5b..00000000 --- a/UiQT4/myMain.py +++ /dev/null @@ -1,182 +0,0 @@ -# -*- coding: utf-8 -*- - -# Form implementation generated from reading ui file 'myMain.ui' -# -# Created: Fri Jun 19 11:40:14 2009 -# by: PyQt4 UI code generator 4.4.3 -# -# WARNING! All changes made in this file will be lost! - -from PyQt4 import QtCore, QtGui - -class Ui_Eficas(object): - def setupUi(self, Eficas): - Eficas.setObjectName("Eficas") - Eficas.resize(1383, 811) - self.centralwidget = QtGui.QWidget(Eficas) - self.centralwidget.setObjectName("centralwidget") - Eficas.setCentralWidget(self.centralwidget) - self.menubar = QtGui.QMenuBar(Eficas) - self.menubar.setGeometry(QtCore.QRect(0, 0, 1383, 29)) - self.menubar.setObjectName("menubar") - self.menuFichier = QtGui.QMenu(self.menubar) - self.menuFichier.setObjectName("menuFichier") - self.menuEdition = QtGui.QMenu(self.menubar) - self.menuEdition.setObjectName("menuEdition") - self.menuJdC = QtGui.QMenu(self.menubar) - self.menuJdC.setObjectName("menuJdC") - self.menu_Aide = QtGui.QMenu(self.menubar) - self.menu_Aide.setObjectName("menu_Aide") - self.menuOptions = QtGui.QMenu(self.menubar) - self.menuOptions.setObjectName("menuOptions") - self.menuTraduction = QtGui.QMenu(self.menubar) - self.menuTraduction.setObjectName("menuTraduction") - self.menuPatrons = QtGui.QMenu(self.menubar) - self.menuPatrons.setObjectName("menuPatrons") - Eficas.setMenuBar(self.menubar) - self.statusbar = QtGui.QStatusBar(Eficas) - self.statusbar.setObjectName("statusbar") - Eficas.setStatusBar(self.statusbar) - self.toolBar = QtGui.QToolBar(Eficas) - self.toolBar.setObjectName("toolBar") - Eficas.addToolBar(QtCore.Qt.TopToolBarArea, self.toolBar) - self.action_Nouveau = QtGui.QAction(Eficas) - icon = QtGui.QIcon() - icon.addPixmap(QtGui.QPixmap("../Editeur/icons/New24.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) - self.action_Nouveau.setIcon(icon) - self.action_Nouveau.setObjectName("action_Nouveau") - self.actionNouvel_Include = QtGui.QAction(Eficas) - self.actionNouvel_Include.setObjectName("actionNouvel_Include") - self.action_Ouvrir = QtGui.QAction(Eficas) - icon1 = QtGui.QIcon() - icon1.addPixmap(QtGui.QPixmap("../Editeur/icons/Open24.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) - self.action_Ouvrir.setIcon(icon1) - self.action_Ouvrir.setObjectName("action_Ouvrir") - self.actionEnregistrer = QtGui.QAction(Eficas) - icon2 = QtGui.QIcon() - icon2.addPixmap(QtGui.QPixmap("../Editeur/icons/Save24.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) - self.actionEnregistrer.setIcon(icon2) - self.actionEnregistrer.setObjectName("actionEnregistrer") - self.actionEnregistrer_sous = QtGui.QAction(Eficas) - self.actionEnregistrer_sous.setObjectName("actionEnregistrer_sous") - self.actionFermer = QtGui.QAction(Eficas) - self.actionFermer.setObjectName("actionFermer") - self.actionFermer_tout = QtGui.QAction(Eficas) - self.actionFermer_tout.setObjectName("actionFermer_tout") - self.actionCouper = QtGui.QAction(Eficas) - icon3 = QtGui.QIcon() - icon3.addPixmap(QtGui.QPixmap("../Editeur/icons/Cut24.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) - self.actionCouper.setIcon(icon3) - self.actionCouper.setObjectName("actionCouper") - self.actionCopier = QtGui.QAction(Eficas) - icon4 = QtGui.QIcon() - icon4.addPixmap(QtGui.QPixmap("../Editeur/icons/Copy24.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) - self.actionCopier.setIcon(icon4) - self.actionCopier.setObjectName("actionCopier") - self.actionColler = QtGui.QAction(Eficas) - icon5 = QtGui.QIcon() - icon5.addPixmap(QtGui.QPixmap("../Editeur/icons/Paste24.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) - self.actionColler.setIcon(icon5) - self.actionColler.setObjectName("actionColler") - self.actionQuitter = QtGui.QAction(Eficas) - self.actionQuitter.setObjectName("actionQuitter") - self.actionRapport_de_Validation = QtGui.QAction(Eficas) - self.actionRapport_de_Validation.setObjectName("actionRapport_de_Validation") - self.actionFichier_Source = QtGui.QAction(Eficas) - self.actionFichier_Source.setObjectName("actionFichier_Source") - self.actionFichier_Resultat = QtGui.QAction(Eficas) - self.actionFichier_Resultat.setObjectName("actionFichier_Resultat") - self.actionParametres_Eficas = QtGui.QAction(Eficas) - self.actionParametres_Eficas.setObjectName("actionParametres_Eficas") - self.actionLecteur_Pdf = QtGui.QAction(Eficas) - self.actionLecteur_Pdf.setObjectName("actionLecteur_Pdf") - self.actionTraduitV7V8 = QtGui.QAction(Eficas) - self.actionTraduitV7V8.setObjectName("actionTraduitV7V8") - self.actionTraduitV8V9 = QtGui.QAction(Eficas) - self.actionTraduitV8V9.setObjectName("actionTraduitV8V9") - self.menuFichier.addAction(self.action_Nouveau) - self.menuFichier.addAction(self.actionNouvel_Include) - self.menuFichier.addAction(self.action_Ouvrir) - self.menuFichier.addSeparator() - self.menuFichier.addAction(self.actionEnregistrer) - self.menuFichier.addAction(self.actionEnregistrer_sous) - self.menuFichier.addAction(self.actionFermer) - self.menuFichier.addAction(self.actionFermer_tout) - self.menuFichier.addSeparator() - self.menuFichier.addAction(self.actionQuitter) - self.menuEdition.addAction(self.actionCouper) - self.menuEdition.addAction(self.actionCopier) - self.menuEdition.addAction(self.actionColler) - self.menuJdC.addAction(self.actionRapport_de_Validation) - self.menuJdC.addAction(self.actionFichier_Source) - self.menuJdC.addAction(self.actionFichier_Resultat) - self.menuOptions.addAction(self.actionParametres_Eficas) - self.menuOptions.addAction(self.actionLecteur_Pdf) - self.menuTraduction.addAction(self.actionTraduitV7V8) - self.menuTraduction.addAction(self.actionTraduitV8V9) - self.menubar.addAction(self.menuFichier.menuAction()) - self.menubar.addAction(self.menuEdition.menuAction()) - self.menubar.addAction(self.menuJdC.menuAction()) - self.menubar.addAction(self.menu_Aide.menuAction()) - self.menubar.addAction(self.menuOptions.menuAction()) - self.menubar.addAction(self.menuTraduction.menuAction()) - self.menubar.addAction(self.menuPatrons.menuAction()) - self.toolBar.addAction(self.action_Nouveau) - self.toolBar.addAction(self.action_Ouvrir) - self.toolBar.addAction(self.actionEnregistrer) - self.toolBar.addSeparator() - self.toolBar.addAction(self.actionCouper) - self.toolBar.addAction(self.actionCopier) - self.toolBar.addAction(self.actionColler) - - self.retranslateUi(Eficas) - QtCore.QMetaObject.connectSlotsByName(Eficas) - - def retranslateUi(self, Eficas): - Eficas.setWindowTitle(QtGui.QApplication.translate("Eficas", "MainWindow", None, QtGui.QApplication.UnicodeUTF8)) - self.menuFichier.setTitle(QtGui.QApplication.translate("Eficas", "&Fichier", None, QtGui.QApplication.UnicodeUTF8)) - self.menuEdition.setTitle(QtGui.QApplication.translate("Eficas", "Edition", None, QtGui.QApplication.UnicodeUTF8)) - self.menuJdC.setTitle(QtGui.QApplication.translate("Eficas", "JdC", None, QtGui.QApplication.UnicodeUTF8)) - self.menu_Aide.setTitle(QtGui.QApplication.translate("Eficas", "&Aide", None, QtGui.QApplication.UnicodeUTF8)) - self.menuOptions.setTitle(QtGui.QApplication.translate("Eficas", "Options", None, QtGui.QApplication.UnicodeUTF8)) - self.menuTraduction.setTitle(QtGui.QApplication.translate("Eficas", "Traduction", None, QtGui.QApplication.UnicodeUTF8)) - self.menuPatrons.setTitle(QtGui.QApplication.translate("Eficas", "Patrons", None, QtGui.QApplication.UnicodeUTF8)) - self.toolBar.setWindowTitle(QtGui.QApplication.translate("Eficas", "toolBar", None, QtGui.QApplication.UnicodeUTF8)) - self.action_Nouveau.setText(QtGui.QApplication.translate("Eficas", "&Nouveau", None, QtGui.QApplication.UnicodeUTF8)) - self.action_Nouveau.setShortcut(QtGui.QApplication.translate("Eficas", "Ctrl+N", None, QtGui.QApplication.UnicodeUTF8)) - self.actionNouvel_Include.setText(QtGui.QApplication.translate("Eficas", "Nouvel Include", None, QtGui.QApplication.UnicodeUTF8)) - self.action_Ouvrir.setText(QtGui.QApplication.translate("Eficas", "&Ouvrir", None, QtGui.QApplication.UnicodeUTF8)) - self.action_Ouvrir.setShortcut(QtGui.QApplication.translate("Eficas", "Ctrl+O", None, QtGui.QApplication.UnicodeUTF8)) - self.actionEnregistrer.setText(QtGui.QApplication.translate("Eficas", "Enregistrer", None, QtGui.QApplication.UnicodeUTF8)) - self.actionEnregistrer.setShortcut(QtGui.QApplication.translate("Eficas", "Ctrl+E", None, QtGui.QApplication.UnicodeUTF8)) - self.actionEnregistrer_sous.setText(QtGui.QApplication.translate("Eficas", "Enregistrer sous", None, QtGui.QApplication.UnicodeUTF8)) - self.actionEnregistrer_sous.setShortcut(QtGui.QApplication.translate("Eficas", "Ctrl+Shift+E", None, QtGui.QApplication.UnicodeUTF8)) - self.actionFermer.setText(QtGui.QApplication.translate("Eficas", "Fermer ", None, QtGui.QApplication.UnicodeUTF8)) - self.actionFermer.setShortcut(QtGui.QApplication.translate("Eficas", "Ctrl+W", None, QtGui.QApplication.UnicodeUTF8)) - self.actionFermer_tout.setText(QtGui.QApplication.translate("Eficas", "Fermer tout", None, QtGui.QApplication.UnicodeUTF8)) - self.actionCouper.setText(QtGui.QApplication.translate("Eficas", "Couper", None, QtGui.QApplication.UnicodeUTF8)) - self.actionCouper.setShortcut(QtGui.QApplication.translate("Eficas", "Ctrl+X", None, QtGui.QApplication.UnicodeUTF8)) - self.actionCopier.setText(QtGui.QApplication.translate("Eficas", "Copier", None, QtGui.QApplication.UnicodeUTF8)) - self.actionCopier.setShortcut(QtGui.QApplication.translate("Eficas", "Ctrl+C", None, QtGui.QApplication.UnicodeUTF8)) - self.actionColler.setText(QtGui.QApplication.translate("Eficas", "Coller", None, QtGui.QApplication.UnicodeUTF8)) - self.actionColler.setShortcut(QtGui.QApplication.translate("Eficas", "Ctrl+V", None, QtGui.QApplication.UnicodeUTF8)) - self.actionQuitter.setText(QtGui.QApplication.translate("Eficas", "Quitter", None, QtGui.QApplication.UnicodeUTF8)) - self.actionQuitter.setShortcut(QtGui.QApplication.translate("Eficas", "Ctrl+Q", None, QtGui.QApplication.UnicodeUTF8)) - self.actionRapport_de_Validation.setText(QtGui.QApplication.translate("Eficas", "Rapport de Validation", None, QtGui.QApplication.UnicodeUTF8)) - self.actionFichier_Source.setText(QtGui.QApplication.translate("Eficas", "Fichier Source", None, QtGui.QApplication.UnicodeUTF8)) - self.actionFichier_Resultat.setText(QtGui.QApplication.translate("Eficas", "Fichier Résultat", None, QtGui.QApplication.UnicodeUTF8)) - self.actionParametres_Eficas.setText(QtGui.QApplication.translate("Eficas", "Parametres Eficas", None, QtGui.QApplication.UnicodeUTF8)) - self.actionLecteur_Pdf.setText(QtGui.QApplication.translate("Eficas", "Lecteur Pdf", None, QtGui.QApplication.UnicodeUTF8)) - self.actionTraduitV7V8.setText(QtGui.QApplication.translate("Eficas", "TraduitV7V8", None, QtGui.QApplication.UnicodeUTF8)) - self.actionTraduitV8V9.setText(QtGui.QApplication.translate("Eficas", "TraduitV8V9", None, QtGui.QApplication.UnicodeUTF8)) - - -if __name__ == "__main__": - import sys - app = QtGui.QApplication(sys.argv) - Eficas = QtGui.QMainWindow() - ui = Ui_Eficas() - ui.setupUi(Eficas) - Eficas.show() - sys.exit(app.exec_()) - -- 2.39.2