From: Pascale Noyret Date: Tue, 5 Oct 2010 06:55:55 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: V2_1_1_beta~46 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=284e57e3cbf830993613bc289b27ff100fbedc2a;p=modules%2Feficas.git *** empty log message *** --- diff --git a/UiQT4/desCommande.py b/UiQT4/desCommande.py index 62a7a3db..f114b4d9 100644 --- a/UiQT4/desCommande.py +++ b/UiQT4/desCommande.py @@ -2,8 +2,8 @@ # Form implementation generated from reading ui file 'desCommande.ui' # -# Created: Fri Apr 24 13:21:13 2009 -# by: PyQt4 UI code generator 4.4.3 +# Created: Fri Sep 17 16:46:35 2010 +# by: PyQt4 UI code generator 4.4.2 # # WARNING! All changes made in this file will be lost! @@ -12,41 +12,15 @@ 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) + 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) + DComm.setMinimumSize(QtCore.QSize(505,0)) + self.gridLayout_11 = QtGui.QGridLayout(DComm) + self.gridLayout_11.setObjectName("gridLayout_11") self.TWChoix = QtGui.QTabWidget(DComm) self.TWChoix.setObjectName("TWChoix") self.MotClef = QtGui.QWidget() @@ -56,70 +30,68 @@ class Ui_DComm(object): 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.setMinimumSize(QtCore.QSize(0,0)) self.textLabel1.setWordWrap(False) self.textLabel1.setObjectName("textLabel1") - self.gridLayout_5.addWidget(self.textLabel1, 0, 0, 1, 1) + 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.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.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.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.gridLayout_10 = QtGui.QGridLayout(self.groupBox1) + self.gridLayout_10.setObjectName("gridLayout_10") + self.gridLayout_3 = QtGui.QGridLayout() + self.gridLayout_3.setObjectName("gridLayout_3") + self.Label1 = QtGui.QLabel(self.groupBox1) + self.Label1.setWordWrap(False) + self.Label1.setObjectName("Label1") + self.gridLayout_3.addWidget(self.Label1,0,0,1,2) self.LENomConcept = QtGui.QLineEdit(self.groupBox1) - self.LENomConcept.setMinimumSize(QtCore.QSize(360, 40)) + 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_3.addWidget(self.LENomConcept,1,0,1,1) + spacerItem = QtGui.QSpacerItem(356,20,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum) + self.gridLayout_3.addItem(spacerItem,1,1,1,1) + self.gridLayout_10.addLayout(self.gridLayout_3,0,0,1,1) + self.gridLayout_8 = QtGui.QGridLayout() + self.gridLayout_8.setObjectName("gridLayout_8") + self.listBoxASSD = QtGui.QListWidget(self.groupBox1) + self.listBoxASSD.setObjectName("listBoxASSD") + self.gridLayout_8.addWidget(self.listBoxASSD,0,0,1,1) + spacerItem1 = QtGui.QSpacerItem(20,168,QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Expanding) + self.gridLayout_8.addItem(spacerItem1,1,0,1,1) + self.gridLayout_10.addLayout(self.gridLayout_8,1,0,1,1) 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.Label2 = QtGui.QLabel(self.groupBox1) + self.Label2.setWordWrap(False) + self.Label2.setObjectName("Label2") + self.gridLayout_7.addWidget(self.Label2,0,0,1,1) + self.Label3 = QtGui.QLabel(self.groupBox1) + self.Label3.setWordWrap(False) + self.Label3.setObjectName("Label3") + self.gridLayout_7.addWidget(self.Label3,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.gridLayout_7.addWidget(self.typeConcept,1,1,1,1) + self.gridLayout_10.addLayout(self.gridLayout_7,2,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) @@ -129,67 +101,90 @@ class Ui_DComm(object): 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.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.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.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.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.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.setMinimumSize(QtCore.QSize(91,30)) self.textLabel6.setWordWrap(False) self.textLabel6.setObjectName("textLabel6") - self.gridLayout_2.addWidget(self.textLabel6, 1, 0, 1, 1) + self.gridLayout_2.addWidget(self.textLabel6,1,0,1,1) self.LEFiltre = QtGui.QLineEdit(self.Commande) - self.LEFiltre.setMinimumSize(QtCore.QSize(231, 30)) + self.LEFiltre.setMinimumSize(QtCore.QSize(231,30)) self.LEFiltre.setObjectName("LEFiltre") - self.gridLayout_2.addWidget(self.LEFiltre, 1, 1, 1, 1) + self.gridLayout_2.addWidget(self.LEFiltre,1,1,1,1) self.BNext = QtGui.QPushButton(self.Commande) - self.BNext.setMinimumSize(QtCore.QSize(90, 30)) + 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.gridLayout_2.addWidget(self.BNext,1,2,1,1) + spacerItem2 = QtGui.QSpacerItem(108,20,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum) + self.gridLayout_2.addItem(spacerItem2,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.gridLayout_4.addWidget(self.LBNouvCommande,1,0,1,1) self.textLabel4 = QtGui.QLabel(self.Commande) - self.textLabel4.setMaximumSize(QtCore.QSize(721, 20)) + 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.gridLayout_4.addWidget(self.textLabel4,2,0,1,1) + self.TWChoix.addTab(self.Commande,"") + self.gridLayout_11.addWidget(self.TWChoix,0,0,1,1) + 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_11.addWidget(self.Commentaire,1,0,1,1) + self.horizontalLayout = QtGui.QHBoxLayout() + self.horizontalLayout.setObjectName("horizontalLayout") + spacerItem3 = QtGui.QSpacerItem(263,27,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum) + self.horizontalLayout.addItem(spacerItem3) + 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) + spacerItem4 = QtGui.QSpacerItem(254,27,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum) + self.horizontalLayout.addItem(spacerItem4) + self.gridLayout_11.addLayout(self.horizontalLayout,2,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) + 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.Label1.setText(QtGui.QApplication.translate("DComm", "Nom du concept :", None, QtGui.QApplication.UnicodeUTF8)) + self.Label2.setText(QtGui.QApplication.translate("DComm", "Type du concept :", None, QtGui.QApplication.UnicodeUTF8)) + self.Label3.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)) @@ -200,6 +195,9 @@ class Ui_DComm(object): 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)) + self.bOk.setToolTip(QtGui.QApplication.translate("DComm", "validation de la saisie", None, QtGui.QApplication.UnicodeUTF8)) + self.bOk.setText(QtGui.QApplication.translate("DComm", "&Valider", None, QtGui.QApplication.UnicodeUTF8)) + self.bOk.setShortcut(QtGui.QApplication.translate("DComm", "Shift+A, Alt+A, Alt+A, Alt+A", None, QtGui.QApplication.UnicodeUTF8)) if __name__ == "__main__": diff --git a/UiQT4/desFormule.py b/UiQT4/desFormule.py index 8eb796ae..b7958512 100644 --- a/UiQT4/desFormule.py +++ b/UiQT4/desFormule.py @@ -2,8 +2,8 @@ # Form implementation generated from reading ui file 'desFormule.ui' # -# Created: Fri Apr 24 14:18:26 2009 -# by: PyQt4 UI code generator 4.4.3 +# Created: Fri Sep 17 16:46:35 2010 +# by: PyQt4 UI code generator 4.4.2 # # WARNING! All changes made in this file will be lost! @@ -12,8 +12,8 @@ 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)) + 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) @@ -23,18 +23,18 @@ class Ui_DFormule(object): self.gridlayout = QtGui.QGridLayout(self.Formule) self.gridlayout.setObjectName("gridlayout") self.textLabel1 = QtGui.QLabel(self.Formule) - self.textLabel1.setMinimumSize(QtCore.QSize(0, 0)) + self.textLabel1.setMinimumSize(QtCore.QSize(0,0)) self.textLabel1.setWordWrap(False) self.textLabel1.setObjectName("textLabel1") - self.gridlayout.addWidget(self.textLabel1, 0, 0, 1, 1) + self.gridlayout.addWidget(self.textLabel1,0,0,1,1) self.textLabel1_3 = QtGui.QLabel(self.Formule) self.textLabel1_3.setWordWrap(False) self.textLabel1_3.setObjectName("textLabel1_3") - self.gridlayout.addWidget(self.textLabel1_3, 6, 0, 1, 2) + self.gridlayout.addWidget(self.textLabel1_3,6,0,1,2) self.hboxlayout = QtGui.QHBoxLayout() self.hboxlayout.setObjectName("hboxlayout") self.LENomFormule = QtGui.QLineEdit(self.Formule) - self.LENomFormule.setMinimumSize(QtCore.QSize(0, 40)) + self.LENomFormule.setMinimumSize(QtCore.QSize(0,40)) self.LENomFormule.setObjectName("LENomFormule") self.hboxlayout.addWidget(self.LENomFormule) self.hboxlayout1 = QtGui.QHBoxLayout() @@ -44,7 +44,7 @@ class Ui_DFormule(object): 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.setMinimumSize(QtCore.QSize(230,40)) self.LENomsArgs.setObjectName("LENomsArgs") self.hboxlayout1.addWidget(self.LENomsArgs) self.textLabel1_6_2 = QtGui.QLabel(self.Formule) @@ -52,33 +52,33 @@ class Ui_DFormule(object): 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.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.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.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.gridlayout.addWidget(self.textLabel2_2,3,0,1,2) self.textLabel1_5 = QtGui.QLabel(self.Formule) - self.textLabel1_5.setMinimumSize(QtCore.QSize(0, 0)) + self.textLabel1_5.setMinimumSize(QtCore.QSize(0,0)) self.textLabel1_5.setWordWrap(False) self.textLabel1_5.setObjectName("textLabel1_5") - self.gridlayout.addWidget(self.textLabel1_5, 4, 0, 1, 2) + self.gridlayout.addWidget(self.textLabel1_5,4,0,1,2) self.LECorpsFormule = QtGui.QLineEdit(self.Formule) - self.LECorpsFormule.setMinimumSize(QtCore.QSize(0, 30)) + self.LECorpsFormule.setMinimumSize(QtCore.QSize(0,30)) self.LECorpsFormule.setObjectName("LECorpsFormule") - self.gridlayout.addWidget(self.LECorpsFormule, 5, 0, 1, 2) + self.gridlayout.addWidget(self.LECorpsFormule,5,0,1,2) self.textLabel1_2 = QtGui.QLabel(self.Formule) self.textLabel1_2.setWordWrap(False) self.textLabel1_2.setObjectName("textLabel1_2") - self.gridlayout.addWidget(self.textLabel1_2, 0, 1, 1, 1) - self.TWChoix.addTab(self.Formule, "") + self.gridlayout.addWidget(self.textLabel1_2,0,1,1,1) + self.TWChoix.addTab(self.Formule,"") self.Commande = QtGui.QWidget() self.Commande.setObjectName("Commande") self.gridLayout_4 = QtGui.QGridLayout(self.Commande) @@ -88,77 +88,75 @@ class Ui_DFormule(object): 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.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.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.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.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.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.setMinimumSize(QtCore.QSize(91,30)) self.textLabel6.setWordWrap(False) self.textLabel6.setObjectName("textLabel6") - self.gridLayout_2.addWidget(self.textLabel6, 1, 0, 1, 1) + self.gridLayout_2.addWidget(self.textLabel6,1,0,1,1) self.LEFiltre = QtGui.QLineEdit(self.Commande) - self.LEFiltre.setMinimumSize(QtCore.QSize(231, 30)) + self.LEFiltre.setMinimumSize(QtCore.QSize(231,30)) self.LEFiltre.setObjectName("LEFiltre") - self.gridLayout_2.addWidget(self.LEFiltre, 1, 1, 1, 1) + self.gridLayout_2.addWidget(self.LEFiltre,1,1,1,1) self.BNext = QtGui.QPushButton(self.Commande) - self.BNext.setMinimumSize(QtCore.QSize(90, 30)) + 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.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.gridLayout_4.addWidget(self.LBNouvCommande,1,0,1,1) self.textLabel4 = QtGui.QLabel(self.Commande) - self.textLabel4.setMaximumSize(QtCore.QSize(721, 20)) + 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.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.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) + 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.setMinimumSize(QtCore.QSize(163,30)) self.bOk.setObjectName("bOk") self.horizontalLayout.addWidget(self.bOk) - spacerItem2 = QtGui.QSpacerItem(158, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) + 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.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) + 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)) diff --git a/UiQT4/desInclude.py b/UiQT4/desInclude.py index d177ab1b..1365cae0 100644 --- a/UiQT4/desInclude.py +++ b/UiQT4/desInclude.py @@ -2,8 +2,8 @@ # Form implementation generated from reading ui file 'desInclude.ui' # -# Created: Thu Mar 12 10:42:30 2009 -# by: PyQt4 UI code generator 4.4.3 +# Created: Fri Sep 17 16:46:35 2010 +# by: PyQt4 UI code generator 4.4.2 # # WARNING! All changes made in this file will be lost! @@ -12,20 +12,20 @@ from PyQt4 import QtCore, QtGui class Ui_DInc1(object): def setupUi(self, DInc1): DInc1.setObjectName("DInc1") - DInc1.resize(521, 511) - DInc1.setMinimumSize(QtCore.QSize(505, 0)) + DInc1.resize(521,511) + DInc1.setMinimumSize(QtCore.QSize(505,0)) self.gridlayout = QtGui.QGridLayout(DInc1) self.gridlayout.setObjectName("gridlayout") self.bOk = QtGui.QPushButton(DInc1) - self.bOk.setMinimumSize(QtCore.QSize(0, 30)) + self.bOk.setMinimumSize(QtCore.QSize(0,30)) self.bOk.setAutoDefault(True) self.bOk.setDefault(True) self.bOk.setObjectName("bOk") - self.gridlayout.addWidget(self.bOk, 2, 1, 1, 1) + self.gridlayout.addWidget(self.bOk,2,1,1,1) self.Commentaire = QtGui.QLabel(DInc1) self.Commentaire.setWordWrap(False) self.Commentaire.setObjectName("Commentaire") - self.gridlayout.addWidget(self.Commentaire, 1, 0, 1, 3) + self.gridlayout.addWidget(self.Commentaire,1,0,1,3) self.TWChoix = QtGui.QTabWidget(DInc1) self.TWChoix.setObjectName("TWChoix") self.MotClef = QtGui.QWidget() @@ -33,22 +33,22 @@ class Ui_DInc1(object): self.gridlayout1 = QtGui.QGridLayout(self.MotClef) self.gridlayout1.setObjectName("gridlayout1") self.LBMCPermis = QtGui.QListWidget(self.MotClef) - self.LBMCPermis.setMinimumSize(QtCore.QSize(0, 0)) + self.LBMCPermis.setMinimumSize(QtCore.QSize(0,0)) self.LBMCPermis.setObjectName("LBMCPermis") - self.gridlayout1.addWidget(self.LBMCPermis, 1, 0, 1, 1) + self.gridlayout1.addWidget(self.LBMCPermis,1,0,1,1) self.textLabel1 = QtGui.QLabel(self.MotClef) - self.textLabel1.setMinimumSize(QtCore.QSize(0, 0)) + self.textLabel1.setMinimumSize(QtCore.QSize(0,0)) self.textLabel1.setWordWrap(False) self.textLabel1.setObjectName("textLabel1") - self.gridlayout1.addWidget(self.textLabel1, 0, 0, 1, 1) + self.gridlayout1.addWidget(self.textLabel1,0,0,1,1) self.LBRegles = QtGui.QListWidget(self.MotClef) self.LBRegles.setObjectName("LBRegles") - self.gridlayout1.addWidget(self.LBRegles, 1, 1, 1, 1) + self.gridlayout1.addWidget(self.LBRegles,1,1,1,1) self.textLabel1_2 = QtGui.QLabel(self.MotClef) self.textLabel1_2.setWordWrap(False) self.textLabel1_2.setObjectName("textLabel1_2") - self.gridlayout1.addWidget(self.textLabel1_2, 0, 1, 1, 1) - self.TWChoix.addTab(self.MotClef, "") + self.gridlayout1.addWidget(self.textLabel1_2,0,1,1,1) + self.TWChoix.addTab(self.MotClef,"") self.Commande = QtGui.QWidget() self.Commande.setObjectName("Commande") self.gridLayout_2 = QtGui.QGridLayout(self.Commande) @@ -56,7 +56,7 @@ class Ui_DInc1(object): self.textLabel1_4 = QtGui.QLabel(self.Commande) self.textLabel1_4.setWordWrap(False) self.textLabel1_4.setObjectName("textLabel1_4") - self.gridLayout_2.addWidget(self.textLabel1_4, 0, 0, 1, 3) + self.gridLayout_2.addWidget(self.textLabel1_4,0,0,1,3) self.groupBox = QtGui.QGroupBox(self.Commande) self.groupBox.setObjectName("groupBox") self.gridLayout = QtGui.QGridLayout(self.groupBox) @@ -64,63 +64,63 @@ class Ui_DInc1(object): self.RBalpha = QtGui.QRadioButton(self.groupBox) self.RBalpha.setChecked(True) self.RBalpha.setObjectName("RBalpha") - self.gridLayout.addWidget(self.RBalpha, 0, 0, 1, 1) + self.gridLayout.addWidget(self.RBalpha,0,0,1,1) self.RBGroupe = QtGui.QRadioButton(self.groupBox) self.RBGroupe.setObjectName("RBGroupe") - self.gridLayout.addWidget(self.RBGroupe, 1, 0, 1, 1) - self.gridLayout_2.addWidget(self.groupBox, 0, 3, 2, 1) + self.gridLayout.addWidget(self.RBGroupe,1,0,1,1) + self.gridLayout_2.addWidget(self.groupBox,0,3,2,1) self.textLabel6 = QtGui.QLabel(self.Commande) - self.textLabel6.setMinimumSize(QtCore.QSize(50, 30)) + self.textLabel6.setMinimumSize(QtCore.QSize(50,30)) self.textLabel6.setWordWrap(False) self.textLabel6.setObjectName("textLabel6") - self.gridLayout_2.addWidget(self.textLabel6, 1, 0, 1, 1) + self.gridLayout_2.addWidget(self.textLabel6,1,0,1,1) self.LEFiltre = QtGui.QLineEdit(self.Commande) - self.LEFiltre.setMinimumSize(QtCore.QSize(160, 30)) + self.LEFiltre.setMinimumSize(QtCore.QSize(160,30)) self.LEFiltre.setObjectName("LEFiltre") - self.gridLayout_2.addWidget(self.LEFiltre, 1, 1, 1, 1) + self.gridLayout_2.addWidget(self.LEFiltre,1,1,1,1) self.BNext = QtGui.QPushButton(self.Commande) self.BNext.setObjectName("BNext") - self.gridLayout_2.addWidget(self.BNext, 1, 2, 1, 1) + self.gridLayout_2.addWidget(self.BNext,1,2,1,1) self.LBNouvCommande = QtGui.QListWidget(self.Commande) self.LBNouvCommande.setObjectName("LBNouvCommande") - self.gridLayout_2.addWidget(self.LBNouvCommande, 2, 0, 1, 4) + self.gridLayout_2.addWidget(self.LBNouvCommande,2,0,1,4) self.textLabel4 = QtGui.QLabel(self.Commande) self.textLabel4.setWordWrap(False) self.textLabel4.setObjectName("textLabel4") - self.gridLayout_2.addWidget(self.textLabel4, 3, 0, 1, 4) - self.TWChoix.addTab(self.Commande, "") + self.gridLayout_2.addWidget(self.textLabel4,3,0,1,4) + self.TWChoix.addTab(self.Commande,"") self.maPageOk = QtGui.QWidget() self.maPageOk.setObjectName("maPageOk") self.textLabel1_3 = QtGui.QLabel(self.maPageOk) - self.textLabel1_3.setGeometry(QtCore.QRect(30, 40, 440, 41)) + self.textLabel1_3.setGeometry(QtCore.QRect(30,10,440,41)) self.textLabel1_3.setWordWrap(False) self.textLabel1_3.setObjectName("textLabel1_3") self.LENomFichier = QtGui.QLineEdit(self.maPageOk) - self.LENomFichier.setGeometry(QtCore.QRect(18, 117, 450, 40)) - sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) + self.LENomFichier.setGeometry(QtCore.QRect(20,50,450,40)) + sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.LENomFichier.sizePolicy().hasHeightForWidth()) self.LENomFichier.setSizePolicy(sizePolicy) - self.LENomFichier.setMinimumSize(QtCore.QSize(450, 40)) + self.LENomFichier.setMinimumSize(QtCore.QSize(450,40)) self.LENomFichier.setObjectName("LENomFichier") self.BBrowse = QtGui.QPushButton(self.maPageOk) - self.BBrowse.setGeometry(QtCore.QRect(280, 240, 161, 41)) - sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) + self.BBrowse.setGeometry(QtCore.QRect(20,110,161,41)) + sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.BBrowse.sizePolicy().hasHeightForWidth()) self.BBrowse.setSizePolicy(sizePolicy) self.BBrowse.setObjectName("BBrowse") self.BChangeFile = QtGui.QPushButton(self.maPageOk) - self.BChangeFile.setGeometry(QtCore.QRect(280, 290, 161, 41)) - sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) + self.BChangeFile.setGeometry(QtCore.QRect(20,160,161,41)) + sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.BChangeFile.sizePolicy().hasHeightForWidth()) self.BChangeFile.setSizePolicy(sizePolicy) self.BChangeFile.setObjectName("BChangeFile") - self.TWChoix.addTab(self.maPageOk, "") + self.TWChoix.addTab(self.maPageOk,"") self.maPageBad = QtGui.QWidget() self.maPageBad.setObjectName("maPageBad") self.gridlayout2 = QtGui.QGridLayout(self.maPageBad) @@ -128,22 +128,22 @@ class Ui_DInc1(object): self.textLabel1_5 = QtGui.QLabel(self.maPageBad) self.textLabel1_5.setWordWrap(False) self.textLabel1_5.setObjectName("textLabel1_5") - self.gridlayout2.addWidget(self.textLabel1_5, 0, 0, 1, 1) - self.TWChoix.addTab(self.maPageBad, "") - self.gridlayout.addWidget(self.TWChoix, 0, 0, 1, 3) + self.gridlayout2.addWidget(self.textLabel1_5,0,0,1,1) + self.TWChoix.addTab(self.maPageBad,"") + self.gridlayout.addWidget(self.TWChoix,0,0,1,3) self.retranslateUi(DInc1) - self.TWChoix.setCurrentIndex(0) + self.TWChoix.setCurrentIndex(2) 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) + 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)) diff --git a/UiQT4/desListeParam.py b/UiQT4/desListeParam.py index 2546d4ef..d6da7271 100644 --- a/UiQT4/desListeParam.py +++ b/UiQT4/desListeParam.py @@ -2,8 +2,8 @@ # Form implementation generated from reading ui file 'desListeParam.ui' # -# Created: Tue Jan 27 12:25:36 2009 -# by: PyQt4 UI code generator 4.4.3 +# Created: Fri Sep 24 15:14:55 2010 +# by: PyQt4 UI code generator 4.7.3 # # WARNING! All changes made in this file will be lost! @@ -12,17 +12,30 @@ 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") + DLisParam.resize(420, 425) + self.gridLayout = QtGui.QGridLayout(DLisParam) + self.gridLayout.setObjectName("gridLayout") self.LBParam = QtGui.QListWidget(DLisParam) + self.LBParam.setSelectionMode(QtGui.QAbstractItemView.MultiSelection) self.LBParam.setObjectName("LBParam") - self.gridlayout.addWidget(self.LBParam, 0, 0, 1, 1) + self.gridLayout.addWidget(self.LBParam, 0, 0, 1, 1) + self.horizontalLayout = QtGui.QHBoxLayout() + self.horizontalLayout.setObjectName("horizontalLayout") + spacerItem = QtGui.QSpacerItem(128, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) + self.horizontalLayout.addItem(spacerItem) + self.BOk = QtGui.QPushButton(DLisParam) + self.BOk.setObjectName("BOk") + self.horizontalLayout.addWidget(self.BOk) + spacerItem1 = QtGui.QSpacerItem(168, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) + self.horizontalLayout.addItem(spacerItem1) + self.gridLayout.addLayout(self.horizontalLayout, 1, 0, 1, 1) self.retranslateUi(DLisParam) + QtCore.QMetaObject.connectSlotsByName(DLisParam) def retranslateUi(self, DLisParam): DLisParam.setWindowTitle(QtGui.QApplication.translate("DLisParam", "Sélection de paramétres", None, QtGui.QApplication.UnicodeUTF8)) + self.BOk.setText(QtGui.QApplication.translate("DLisParam", "Valider", None, QtGui.QApplication.UnicodeUTF8)) if __name__ == "__main__": diff --git a/UiQT4/desListeParam.ui b/UiQT4/desListeParam.ui index f7eb2483..6cd58761 100644 --- a/UiQT4/desListeParam.ui +++ b/UiQT4/desListeParam.ui @@ -15,7 +15,11 @@ - + + + QAbstractItemView::MultiSelection + + diff --git a/UiQT4/desPlusieursBase.py b/UiQT4/desPlusieursBase.py index 3c1d55d7..4b6afa3d 100644 --- a/UiQT4/desPlusieursBase.py +++ b/UiQT4/desPlusieursBase.py @@ -2,8 +2,8 @@ # Form implementation generated from reading ui file 'desPlusieursBase.ui' # -# Created: Fri Apr 24 15:50:34 2009 -# by: PyQt4 UI code generator 4.4.3 +# Created: Fri Sep 17 16:46:35 2010 +# by: PyQt4 UI code generator 4.4.2 # # WARNING! All changes made in this file will be lost! @@ -12,8 +12,8 @@ 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)) + 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) @@ -29,134 +29,125 @@ class Ui_DPlusBase(object): 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.setMinimumSize(QtCore.QSize(200,0)) self.LBValeurs.setObjectName("LBValeurs") self.verticalLayout_2.addWidget(self.LBValeurs) - self.gridLayout_2.addLayout(self.verticalLayout_2, 0, 0, 1, 1) - self.verticalLayout_5 = QtGui.QVBoxLayout() - self.verticalLayout_5.setObjectName("verticalLayout_5") + 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.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) + 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.gridLayout.addLayout(self.horizontalLayout,0,0,1,3) self.BAjout1Val = QtGui.QToolButton(self.Widget8) - sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) + sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.BAjout1Val.sizePolicy().hasHeightForWidth()) self.BAjout1Val.setSizePolicy(sizePolicy) - self.BAjout1Val.setMinimumSize(QtCore.QSize(40, 30)) + self.BAjout1Val.setMinimumSize(QtCore.QSize(40,30)) icon = QtGui.QIcon() - icon.addPixmap(QtGui.QPixmap("../Editeur/icons/arrow_left.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) + icon.addPixmap(QtGui.QPixmap("../Editeur/icons/arrow_left.png"),QtGui.QIcon.Normal,QtGui.QIcon.Off) self.BAjout1Val.setIcon(icon) self.BAjout1Val.setObjectName("BAjout1Val") - self.gridLayout.addWidget(self.BAjout1Val, 1, 0, 1, 1) + 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 = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Minimum) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.LEValeur.sizePolicy().hasHeightForWidth()) self.LEValeur.setSizePolicy(sizePolicy) - self.LEValeur.setMinimumSize(QtCore.QSize(220, 30)) + self.LEValeur.setMinimumSize(QtCore.QSize(220,30)) self.LEValeur.setObjectName("LEValeur") - self.gridLayout.addWidget(self.LEValeur, 1, 1, 1, 2) + 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 = 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("../../EficasV1/Editeur/icons/arrow_right.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) - self.BSup1Val.setIcon(icon1) + self.BSup1Val.setMinimumSize(QtCore.QSize(40,30)) + icon = QtGui.QIcon() + icon.addPixmap(QtGui.QPixmap("../Editeur/icons/arrow_right.png"),QtGui.QIcon.Normal,QtGui.QIcon.Off) + self.BSup1Val.setIcon(icon) self.BSup1Val.setObjectName("BSup1Val") - self.gridLayout.addWidget(self.BSup1Val, 2, 0, 1, 1) + 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 = 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.setMinimumSize(QtCore.QSize(40,30)) + 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, 2, 1, 1, 1) + self.gridLayout.addWidget(self.BSalome,2,1,1,1) self.BView2D = QtGui.QPushButton(self.Widget8) - self.BView2D.setMinimumSize(QtCore.QSize(120, 30)) + self.BView2D.setMinimumSize(QtCore.QSize(120,30)) self.BView2D.setObjectName("BView2D") - self.gridLayout.addWidget(self.BView2D, 2, 2, 1, 1) - self.verticalLayout_5.addLayout(self.gridLayout) - spacerItem1 = QtGui.QSpacerItem(20, 158, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) - self.verticalLayout_5.addItem(spacerItem1) - self.verticalLayout_4 = QtGui.QVBoxLayout() - self.verticalLayout_4.setObjectName("verticalLayout_4") + 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) + 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.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.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.verticalLayout_4.addLayout(self.horizontalLayout_2) - self.verticalLayout_3 = QtGui.QVBoxLayout() - self.verticalLayout_3.setObjectName("verticalLayout_3") - spacerItem3 = QtGui.QSpacerItem(265, 48, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) - self.verticalLayout_3.addItem(spacerItem3) + 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(251, 21)) + self.Commentaire.setMinimumSize(QtCore.QSize(298,61)) self.Commentaire.setObjectName("Commentaire") - self.verticalLayout_3.addWidget(self.Commentaire) - spacerItem4 = QtGui.QSpacerItem(265, 48, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) - self.verticalLayout_3.addItem(spacerItem4) - self.verticalLayout_4.addLayout(self.verticalLayout_3) + 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) + 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.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.verticalLayout_4.addLayout(self.horizontalLayout_3) - self.verticalLayout_5.addLayout(self.verticalLayout_4) - self.gridLayout_2.addLayout(self.verticalLayout_5, 0, 1, 1, 1) - self.tabuniqueinto.addTab(self.Widget8, "") - self.gridLayout_4.addWidget(self.tabuniqueinto, 0, 0, 1, 1) + 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) + 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)) diff --git a/UiQT4/desUniqueBase.py b/UiQT4/desUniqueBase.py index d88cadb8..f709d5d5 100644 --- a/UiQT4/desUniqueBase.py +++ b/UiQT4/desUniqueBase.py @@ -2,8 +2,8 @@ # Form implementation generated from reading ui file 'desUniqueBase.ui' # -# Created: Fri Apr 24 14:36:52 2009 -# by: PyQt4 UI code generator 4.4.3 +# Created: Fri Sep 17 16:46:35 2010 +# by: PyQt4 UI code generator 4.4.2 # # WARNING! All changes made in this file will be lost! @@ -12,16 +12,16 @@ from PyQt4 import QtCore, QtGui class Ui_DUnBase(object): def setupUi(self, DUnBase): DUnBase.setObjectName("DUnBase") - DUnBase.resize(482, 480) - DUnBase.setMinimumSize(QtCore.QSize(350, 0)) + DUnBase.resize(482,480) + DUnBase.setMinimumSize(QtCore.QSize(350,0)) self.gridlayout = QtGui.QGridLayout(DUnBase) self.gridlayout.setObjectName("gridlayout") self.tabuniqueinto = QtGui.QTabWidget(DUnBase) self.tabuniqueinto.setObjectName("tabuniqueinto") self.Widget8 = QtGui.QWidget() self.Widget8.setObjectName("Widget8") - self.gridLayout = QtGui.QGridLayout(self.Widget8) - self.gridLayout.setObjectName("gridLayout") + self.gridLayout_2 = QtGui.QGridLayout(self.Widget8) + self.gridLayout_2.setObjectName("gridLayout_2") self.horizontalLayout = QtGui.QHBoxLayout() self.horizontalLayout.setObjectName("horizontalLayout") self.textLabel2 = QtGui.QLabel(self.Widget8) @@ -29,95 +29,83 @@ class Ui_DUnBase(object): self.textLabel2.setObjectName("textLabel2") self.horizontalLayout.addWidget(self.textLabel2) self.lineEditVal = QtGui.QLineEdit(self.Widget8) - self.lineEditVal.setMinimumSize(QtCore.QSize(290, 50)) + self.lineEditVal.setMinimumSize(QtCore.QSize(290,50)) self.lineEditVal.setObjectName("lineEditVal") self.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.gridLayout_2.addLayout(self.horizontalLayout,0,0,1,1) + self.gridLayout = QtGui.QGridLayout() + self.gridLayout.setObjectName("gridLayout") + spacerItem = QtGui.QSpacerItem(293,20,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum) + self.gridLayout.addItem(spacerItem,0,0,1,1) + 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,0,1,1,1) self.bParametres = QtGui.QPushButton(self.Widget8) - sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) + sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.bParametres.sizePolicy().hasHeightForWidth()) self.bParametres.setSizePolicy(sizePolicy) - self.bParametres.setMinimumSize(QtCore.QSize(140, 45)) + 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.gridLayout.addWidget(self.bParametres,0,2,1,1) + spacerItem1 = QtGui.QSpacerItem(138,20,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum) + self.gridLayout.addItem(spacerItem1,1,0,1,1) self.BView2D = QtGui.QPushButton(self.Widget8) - sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) + sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.BView2D.sizePolicy().hasHeightForWidth()) self.BView2D.setSizePolicy(sizePolicy) - self.BView2D.setMinimumSize(QtCore.QSize(140, 40)) + self.BView2D.setMinimumSize(QtCore.QSize(140,40)) self.BView2D.setObjectName("BView2D") - self.gridLayout.addWidget(self.BView2D, 3, 3, 1, 1) + self.gridLayout.addWidget(self.BView2D,1,1,1,1) self.BFichier = QtGui.QPushButton(self.Widget8) - sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) + sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.BFichier.sizePolicy().hasHeightForWidth()) self.BFichier.setSizePolicy(sizePolicy) - self.BFichier.setMinimumSize(QtCore.QSize(140, 40)) + self.BFichier.setMinimumSize(QtCore.QSize(140,40)) + icon = QtGui.QIcon() + icon.addPixmap(QtGui.QPixmap("image240.png"),QtGui.QIcon.Normal,QtGui.QIcon.Off) 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.gridLayout.addWidget(self.BFichier,1,2,1,1) + self.gridLayout_2.addLayout(self.gridLayout,1,0,1,1) 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.gridLayout_2.addWidget(self.Commentaire,2,0,1,1) 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) + spacerItem2 = QtGui.QSpacerItem(40,20,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum) + self.horizontalLayout_2.addItem(spacerItem2) self.bOk = QtGui.QPushButton(self.Widget8) - sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) + sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.bOk.sizePolicy().hasHeightForWidth()) self.bOk.setSizePolicy(sizePolicy) - self.bOk.setMinimumSize(QtCore.QSize(140, 40)) - self.bOk.setAutoDefault(True) - self.bOk.setDefault(True) + self.bOk.setMinimumSize(QtCore.QSize(140,40)) 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) + spacerItem3 = QtGui.QSpacerItem(40,20,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum) + self.horizontalLayout_2.addItem(spacerItem3) + self.gridLayout_2.addLayout(self.horizontalLayout_2,3,0,1,1) + self.tabuniqueinto.addTab(self.Widget8,"") + self.gridlayout.addWidget(self.tabuniqueinto,0,0,1,1) self.retranslateUi(DUnBase) QtCore.QMetaObject.connectSlotsByName(DUnBase) - DUnBase.setTabOrder(self.lineEditVal, self.bOk) - DUnBase.setTabOrder(self.bOk, self.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.BSalome.setText(QtGui.QApplication.translate("DUnBase", "Selectionner", 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)) diff --git a/UiQT4/myMain.py b/UiQT4/myMain.py index 1f4c506e..e6ff9ad6 100644 --- a/UiQT4/myMain.py +++ b/UiQT4/myMain.py @@ -2,8 +2,8 @@ # Form implementation generated from reading ui file 'myMain.ui' # -# Created: Thu Apr 23 16:20:17 2009 -# by: PyQt4 UI code generator 4.4.3 +# Created: Fri Sep 17 16:46:35 2010 +# by: PyQt4 UI code generator 4.4.2 # # WARNING! All changes made in this file will be lost! @@ -12,12 +12,12 @@ from PyQt4 import QtCore, QtGui class Ui_Eficas(object): def setupUi(self, Eficas): Eficas.setObjectName("Eficas") - Eficas.resize(1383, 811) + 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.setGeometry(QtCore.QRect(0,0,1383,32)) self.menubar.setObjectName("menubar") self.menuFichier = QtGui.QMenu(self.menubar) self.menuFichier.setObjectName("menuFichier") @@ -29,8 +29,6 @@ class Ui_Eficas(object): 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) @@ -39,23 +37,23 @@ class Ui_Eficas(object): Eficas.setStatusBar(self.statusbar) self.toolBar = QtGui.QToolBar(Eficas) self.toolBar.setObjectName("toolBar") - Eficas.addToolBar(QtCore.Qt.TopToolBarArea, self.toolBar) + Eficas.addToolBar(QtCore.Qt.TopToolBarArea,self.toolBar) self.action_Nouveau = QtGui.QAction(Eficas) icon = QtGui.QIcon() - icon.addPixmap(QtGui.QPixmap("../Editeur/icons/New24.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) + icon.addPixmap(QtGui.QPixmap("../Editeur/icons/New24.png"),QtGui.QIcon.Normal,QtGui.QIcon.Off) self.action_Nouveau.setIcon(icon) self.action_Nouveau.setObjectName("action_Nouveau") self.actionNouvel_Include = QtGui.QAction(Eficas) self.actionNouvel_Include.setObjectName("actionNouvel_Include") self.action_Ouvrir = QtGui.QAction(Eficas) - icon1 = QtGui.QIcon() - icon1.addPixmap(QtGui.QPixmap("../Editeur/icons/Open24.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) - self.action_Ouvrir.setIcon(icon1) + icon = QtGui.QIcon() + icon.addPixmap(QtGui.QPixmap("../Editeur/icons/Open24.png"),QtGui.QIcon.Normal,QtGui.QIcon.Off) + self.action_Ouvrir.setIcon(icon) 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) + icon = QtGui.QIcon() + icon.addPixmap(QtGui.QPixmap("../Editeur/icons/Save24.png"),QtGui.QIcon.Normal,QtGui.QIcon.Off) + self.actionEnregistrer.setIcon(icon) self.actionEnregistrer.setObjectName("actionEnregistrer") self.actionEnregistrer_sous = QtGui.QAction(Eficas) self.actionEnregistrer_sous.setObjectName("actionEnregistrer_sous") @@ -64,19 +62,22 @@ class Ui_Eficas(object): 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) + icon = QtGui.QIcon() + icon.addPixmap(QtGui.QPixmap("../Editeur/icons/Cut24.png"),QtGui.QIcon.Normal,QtGui.QIcon.Off) + self.actionCouper.setIcon(icon) + self.actionCouper.setShortcutContext(QtCore.Qt.ApplicationShortcut) 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) + icon = QtGui.QIcon() + icon.addPixmap(QtGui.QPixmap("../Editeur/icons/Copy24.png"),QtGui.QIcon.Normal,QtGui.QIcon.Off) + self.actionCopier.setIcon(icon) + self.actionCopier.setShortcutContext(QtCore.Qt.ApplicationShortcut) 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) + icon = QtGui.QIcon() + icon.addPixmap(QtGui.QPixmap("../Editeur/icons/Paste24.png"),QtGui.QIcon.Normal,QtGui.QIcon.Off) + self.actionColler.setIcon(icon) + self.actionColler.setShortcutContext(QtCore.Qt.ApplicationShortcut) self.actionColler.setObjectName("actionColler") self.actionQuitter = QtGui.QAction(Eficas) self.actionQuitter.setObjectName("actionQuitter") @@ -90,10 +91,12 @@ class Ui_Eficas(object): 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.actionEficas = QtGui.QAction(Eficas) + self.actionEficas.setObjectName("actionEficas") + self.actionVersion = QtGui.QAction(Eficas) + self.actionVersion.setObjectName("actionVersion") + self.actionSupprimer = QtGui.QAction(Eficas) + self.actionSupprimer.setObjectName("actionSupprimer") self.menuFichier.addAction(self.action_Nouveau) self.menuFichier.addAction(self.actionNouvel_Include) self.menuFichier.addAction(self.action_Ouvrir) @@ -107,19 +110,19 @@ class Ui_Eficas(object): self.menuEdition.addAction(self.actionCouper) self.menuEdition.addAction(self.actionCopier) self.menuEdition.addAction(self.actionColler) + self.menuEdition.addAction(self.actionSupprimer) self.menuJdC.addAction(self.actionRapport_de_Validation) self.menuJdC.addAction(self.actionFichier_Source) self.menuJdC.addAction(self.actionFichier_Resultat) + self.menu_Aide.addAction(self.actionEficas) + self.menu_Aide.addAction(self.actionVersion) 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) @@ -139,7 +142,6 @@ class Ui_Eficas(object): 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)) @@ -167,8 +169,9 @@ class Ui_Eficas(object): 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)) + self.actionEficas.setText(QtGui.QApplication.translate("Eficas", "Eficas", None, QtGui.QApplication.UnicodeUTF8)) + self.actionVersion.setText(QtGui.QApplication.translate("Eficas", "Version", None, QtGui.QApplication.UnicodeUTF8)) + self.actionSupprimer.setText(QtGui.QApplication.translate("Eficas", "Supprimer", None, QtGui.QApplication.UnicodeUTF8)) if __name__ == "__main__":