From c9c6a7c9a0cf2a636536ef00f38d8455a9afca14 Mon Sep 17 00:00:00 2001 From: Pascale Noyret Date: Thu, 4 Nov 2010 13:39:38 +0000 Subject: [PATCH] *** empty log message *** --- UiQT4/OptionsEditeur.py | 117 -------------------------------------- UiQT4/desListeParam.py | 14 ++--- UiQT4/desPlusieursInto.py | 60 ++++++++++--------- 3 files changed, 39 insertions(+), 152 deletions(-) delete mode 100644 UiQT4/OptionsEditeur.py diff --git a/UiQT4/OptionsEditeur.py b/UiQT4/OptionsEditeur.py deleted file mode 100644 index f674b1ed..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 Apr 24 13:21: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_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/desListeParam.py b/UiQT4/desListeParam.py index d6da7271..64e468ef 100644 --- a/UiQT4/desListeParam.py +++ b/UiQT4/desListeParam.py @@ -2,8 +2,8 @@ # Form implementation generated from reading ui file 'desListeParam.ui' # -# Created: Fri Sep 24 15:14:55 2010 -# by: PyQt4 UI code generator 4.7.3 +# Created: Tue Nov 2 16:22:59 2010 +# by: PyQt4 UI code generator 4.4.2 # # WARNING! All changes made in this file will be lost! @@ -12,23 +12,23 @@ from PyQt4 import QtCore, QtGui class Ui_DLisParam(object): def setupUi(self, DLisParam): DLisParam.setObjectName("DLisParam") - DLisParam.resize(420, 425) + 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) + 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) + 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.gridLayout.addLayout(self.horizontalLayout,1,0,1,1) self.retranslateUi(DLisParam) QtCore.QMetaObject.connectSlotsByName(DLisParam) diff --git a/UiQT4/desPlusieursInto.py b/UiQT4/desPlusieursInto.py index e26579cd..542310ee 100644 --- a/UiQT4/desPlusieursInto.py +++ b/UiQT4/desPlusieursInto.py @@ -2,8 +2,8 @@ # Form implementation generated from reading ui file 'desPlusieursInto.ui' # -# Created: Fri Apr 24 15:53:20 2009 -# by: PyQt4 UI code generator 4.4.3 +# Created: Tue Nov 2 16:31:46 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_DPlusInto(object): def setupUi(self, DPlusInto): DPlusInto.setObjectName("DPlusInto") - DPlusInto.resize(482, 480) - DPlusInto.setMinimumSize(QtCore.QSize(350, 0)) + DPlusInto.resize(482,480) + DPlusInto.setMinimumSize(QtCore.QSize(350,0)) self.gridlayout = QtGui.QGridLayout(DPlusInto) self.gridlayout.setObjectName("gridlayout") self.tabuniqueinto = QtGui.QTabWidget(DPlusInto) @@ -25,11 +25,11 @@ class Ui_DPlusInto(object): self.textLabel1 = QtGui.QLabel(self.Widget8) 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_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.gridLayout.addWidget(self.textLabel1_2,0,1,1,1) self.hboxlayout = QtGui.QHBoxLayout() self.hboxlayout.setObjectName("hboxlayout") self.LBValeurs = QtGui.QListWidget(self.Widget8) @@ -37,60 +37,63 @@ class Ui_DPlusInto(object): self.hboxlayout.addWidget(self.LBValeurs) self.vboxlayout = QtGui.QVBoxLayout() self.vboxlayout.setObjectName("vboxlayout") - spacerItem = QtGui.QSpacerItem(21, 44, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) + spacerItem = QtGui.QSpacerItem(21,44,QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Expanding) self.vboxlayout.addItem(spacerItem) self.vboxlayout1 = QtGui.QVBoxLayout() self.vboxlayout1.setObjectName("vboxlayout1") self.BAjout1Val = QtGui.QToolButton(self.Widget8) - self.BAjout1Val.setMinimumSize(QtCore.QSize(40, 31)) - self.BAjout1Val.setMaximumSize(QtCore.QSize(40, 31)) + self.BAjout1Val.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) + 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.setMinimumSize(QtCore.QSize(40,31)) + self.BSup1Val.setMaximumSize(QtCore.QSize(40,31)) + 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.vboxlayout1.addWidget(self.BSup1Val) - spacerItem1 = QtGui.QSpacerItem(21, 176, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) + spacerItem1 = QtGui.QSpacerItem(21,176,QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Expanding) self.vboxlayout1.addItem(spacerItem1) self.vboxlayout.addLayout(self.vboxlayout1) self.hboxlayout.addLayout(self.vboxlayout) self.listBoxVal = QtGui.QListWidget(self.Widget8) self.listBoxVal.setObjectName("listBoxVal") self.hboxlayout.addWidget(self.listBoxVal) - self.gridLayout.addLayout(self.hboxlayout, 1, 0, 1, 2) + self.gridLayout.addLayout(self.hboxlayout,1,0,1,2) self.Commentaire = QtGui.QLabel(self.Widget8) - self.Commentaire.setMinimumSize(QtCore.QSize(0, 20)) + 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.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) + spacerItem2 = QtGui.QSpacerItem(148,27,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.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) + spacerItem3 = QtGui.QSpacerItem(58,27,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.BAlpha = QtGui.QPushButton(self.Widget8) + self.BAlpha.setObjectName("BAlpha") + self.horizontalLayout.addWidget(self.BAlpha) + 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) + 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)) @@ -101,6 +104,7 @@ class Ui_DPlusInto(object): 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.BAlpha.setText(QtGui.QApplication.translate("DPlusInto", "Alpha", None, QtGui.QApplication.UnicodeUTF8)) self.tabuniqueinto.setTabText(self.tabuniqueinto.indexOf(self.Widget8), QtGui.QApplication.translate("DPlusInto", "Saisir Valeur", None, QtGui.QApplication.UnicodeUTF8)) -- 2.39.2