From: Pascale Noyret Date: Fri, 24 Apr 2009 13:46:06 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: V0_a1_SEPQT4~11 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=60eb6c22d16b40271f97cbdeb41b856a2e9e756c;p=modules%2Feficas.git *** empty log message *** --- diff --git a/UiQT4/OptionsEditeur.py b/UiQT4/OptionsEditeur.py index f3dbd928..f674b1ed 100644 --- a/UiQT4/OptionsEditeur.py +++ b/UiQT4/OptionsEditeur.py @@ -2,7 +2,7 @@ # Form implementation generated from reading ui file 'OptionsEditeur.ui' # -# Created: Tue Jan 27 12:25:38 2009 +# 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! @@ -13,8 +13,10 @@ 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.setGeometry(QtCore.QRect(11, 11, 548, 191)) + 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)) @@ -29,51 +31,63 @@ class Ui_desOptions(object): 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.setGeometry(QtCore.QRect(11, 208, 548, 90)) + 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.PBQuit = QtGui.QPushButton(desOptions) - self.PBQuit.setGeometry(QtCore.QRect(400, 420, 151, 31)) - self.PBQuit.setMinimumSize(QtCore.QSize(0, 30)) - self.PBQuit.setObjectName("PBQuit") + self.gridLayout.addWidget(self.groupBox2, 1, 0, 1, 2) self.groupBox3 = QtGui.QGroupBox(desOptions) - self.groupBox3.setGeometry(QtCore.QRect(10, 310, 548, 90)) + 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.setGeometry(QtCore.QRect(10, 430, 340, 20)) + 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)) @@ -86,10 +100,10 @@ class Ui_desOptions(object): "Version :", None, QtGui.QApplication.UnicodeUTF8)) self.PBajout.setText(QtGui.QApplication.translate("desOptions", "Ajouter\n" "Version :", None, QtGui.QApplication.UnicodeUTF8)) - self.PBQuit.setText(QtGui.QApplication.translate("desOptions", "Quitter", 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__": diff --git a/UiQT4/OptionsEditeur.ui b/UiQT4/OptionsEditeur.ui index bbe72dd4..91f63f3f 100644 --- a/UiQT4/OptionsEditeur.ui +++ b/UiQT4/OptionsEditeur.ui @@ -1,258 +1,295 @@ - - - - - desOptions - - - - 0 - 0 - 570 - 474 - - - - Options Aster - + + desOptions + + + + 0 + 0 + 570 + 474 + + + + Options Aster + + + + + + 548 + 191 + + + + Configurer une Version + + - - 11 - 11 - 548 - 191 - - - - Configurer une Version - - - - - 30 - 60 - 280 - 20 - - - - Répertoire d'accès au catalogue : - - - false - - - - - - 30 - 120 - 280 - 20 - - - - Répertoire d'accès aux matériaux : - - - false - - - - - - 30 - 20 - 90 - 30 - - - - - - - 30 - 140 - 501 - 31 - - - - - - - - - - 30 - 80 - 501 - 31 - - - - - - - - - - 440 - 20 - 90 - 31 - - - - Valider - - - false - - + + 30 + 60 + 280 + 20 + + + + Répertoire d'accès au catalogue : + + + false + + + + + + 30 + 120 + 280 + 20 + + + + Répertoire d'accès aux matériaux : + + + false + + + + + + 30 + 20 + 90 + 30 + + + + + + + 30 + 140 + 501 + 31 + + + + + 501 + 31 + + + + + + + + + + 30 + 80 + 501 + 31 + + + + + 501 + 31 + + + + + + + + + + 440 + 20 + 90 + 31 + + + + + 90 + 31 + + + + Valider + + + false + + + + + + + 548 + 90 + + + + Gérer les versions + + - - 11 - 208 - 548 - 90 - - - - Gérer les versions - - - - - 120 - 31 - 101 - 30 - - - - - - - 410 - 30 - 101 - 30 - - - - - - - 300 - 20 - 101 - 41 - - - - Supprimer -Version : - - - - - - 10 - 20 - 101 - 41 - - - - Ajouter + + 120 + 31 + 101 + 30 + + + + + 101 + 30 + + + + + + + 410 + 30 + 101 + 30 + + + + + + + 300 + 20 + 101 + 41 + + + + + 101 + 41 + + + + Supprimer Version : - - - - + + + - - 400 - 420 - 151 - 31 - + + 10 + 20 + 101 + 41 + - - 0 - 30 - + + 101 + 41 + - Quitter + Ajouter +Version : + + + + + + 548 + 90 + + + + Doc + + - - 10 - 310 - 548 - 90 - - - - Doc - - - - - 20 - 50 - 520 - 31 - - - - - - - - - - 20 - 20 - 280 - 30 - - - - Repertoire d'acces à la documentation : - - - false - - - - + + 20 + 50 + 520 + 31 + + + + + 520 + 31 + + + + + + + - - 10 - 430 - 340 - 20 - - - - - 12 - + + 20 + 20 + 280 + 30 + - Reinitialiser avec les valeurs par defaut + Repertoire d'acces à la documentation : + + false + + + + + + + + + 340 + 20 + + + + + 12 + + + + Reinitialiser avec les valeurs par defaut + + + + + + + + 151 + 31 + + + + Quitter + - - - qPixmapFromMimeSource + + + + + qPixmapFromMimeSource + + diff --git a/UiQT4/desCommande.py b/UiQT4/desCommande.py index a3917379..62a7a3db 100644 --- a/UiQT4/desCommande.py +++ b/UiQT4/desCommande.py @@ -2,7 +2,7 @@ # Form implementation generated from reading ui file 'desCommande.ui' # -# Created: Thu Mar 12 11:13:57 2009 +# 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! @@ -12,58 +12,113 @@ from PyQt4 import QtCore, QtGui class Ui_DComm(object): def setupUi(self, DComm): DComm.setObjectName("DComm") - DComm.resize(505, 573) + 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_5 = QtGui.QGridLayout(DComm) - self.gridLayout_5.setObjectName("gridLayout_5") + 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_3 = QtGui.QGridLayout(self.MotClef) - self.gridLayout_3.setObjectName("gridLayout_3") + 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_3.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_3.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_3.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_3.addWidget(self.LBRegles, 1, 1, 1, 1) + 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 = QtGui.QGridLayout(self.Concept) - self.gridlayout.setObjectName("gridlayout") + self.gridLayout_9 = QtGui.QGridLayout(self.Concept) + self.gridLayout_9.setObjectName("gridLayout_9") self.groupBox1 = QtGui.QGroupBox(self.Concept) self.groupBox1.setObjectName("groupBox1") - self.textLabel1_3 = QtGui.QLabel(self.groupBox1) - self.textLabel1_3.setGeometry(QtCore.QRect(80, 50, 130, 31)) + 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.setGeometry(QtCore.QRect(80, 170, 150, 31)) self.textLabel1_3_2.setWordWrap(False) self.textLabel1_3_2.setObjectName("textLabel1_3_2") - self.LENomConcept = QtGui.QLineEdit(self.groupBox1) - self.LENomConcept.setGeometry(QtCore.QRect(80, 110, 310, 30)) - self.LENomConcept.setObjectName("LENomConcept") + self.gridLayout_7.addWidget(self.textLabel1_3_2, 0, 0, 1, 1) self.textLabel3 = QtGui.QLabel(self.groupBox1) - self.textLabel3.setGeometry(QtCore.QRect(10, 200, 290, 31)) 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.setGeometry(QtCore.QRect(310, 200, 130, 31)) self.typeConcept.setWordWrap(False) self.typeConcept.setObjectName("typeConcept") - self.gridlayout.addWidget(self.groupBox1, 0, 0, 1, 1) + 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") @@ -74,70 +129,60 @@ 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, 2, 3) + 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, 3, 6, 1) - self.BNext = QtGui.QPushButton(self.Commande) - self.BNext.setObjectName("BNext") - self.gridLayout_2.addWidget(self.BNext, 1, 2, 5, 1) + self.gridLayout_2.addWidget(self.groupBox, 0, 4, 2, 1) self.textLabel6 = QtGui.QLabel(self.Commande) - self.textLabel6.setMinimumSize(QtCore.QSize(50, 30)) + self.textLabel6.setMinimumSize(QtCore.QSize(91, 30)) self.textLabel6.setWordWrap(False) self.textLabel6.setObjectName("textLabel6") - self.gridLayout_2.addWidget(self.textLabel6, 3, 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(231, 30)) self.LEFiltre.setObjectName("LEFiltre") - self.gridLayout_2.addWidget(self.LEFiltre, 3, 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.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_5.addWidget(self.TWChoix, 0, 0, 1, 1) - self.Commentaire = QtGui.QLabel(DComm) - self.Commentaire.setFrameShape(QtGui.QFrame.NoFrame) - self.Commentaire.setFrameShadow(QtGui.QFrame.Plain) - self.Commentaire.setWordWrap(False) - self.Commentaire.setObjectName("Commentaire") - self.gridLayout_5.addWidget(self.Commentaire, 1, 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(DComm) - self.bOk.setMinimumSize(QtCore.QSize(0, 30)) - self.bOk.setAutoDefault(True) - self.bOk.setDefault(True) - self.bOk.setObjectName("bOk") - self.horizontalLayout.addWidget(self.bOk) - spacerItem1 = QtGui.QSpacerItem(128, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) - self.horizontalLayout.addItem(spacerItem1) - self.gridLayout_5.addLayout(self.horizontalLayout, 2, 0, 1, 1) + self.gridLayout_3.addWidget(self.TWChoix, 0, 0, 1, 1) self.retranslateUi(DComm) - self.TWChoix.setCurrentIndex(2) + self.TWChoix.setCurrentIndex(0) QtCore.QMetaObject.connectSlotsByName(DComm) - DComm.setTabOrder(self.LENomConcept, self.TWChoix) 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)) @@ -151,13 +196,10 @@ class Ui_DComm(object): 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.BNext.setText(QtGui.QApplication.translate("DComm", "Suivant", 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)) - 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/desCommande.ui b/UiQT4/desCommande.ui index cece3ff2..72b3a67f 100644 --- a/UiQT4/desCommande.ui +++ b/UiQT4/desCommande.ui @@ -5,10 +5,16 @@ 0 0 - 505 - 573 + 792 + 770 + + + 0 + 0 + + 505 @@ -18,48 +24,141 @@ DComm - + + + + + + 793 + 20 + + + + QFrame::NoFrame + + + QFrame::Plain + + + + + + false + + + + + + + + + Qt::Horizontal + + + + 263 + 27 + + + + + + + + + 0 + 0 + + + + + 160 + 30 + + + + + 16777215 + 30 + + + + validation de la saisie + + + &Valider + + + Shift+A, Alt+A, Alt+A, Alt+A + + + true + + + true + + + + + + + Qt::Horizontal + + + + 254 + 27 + + + + + + - 2 + 0 Ajouter Mot-Clef - + - - - - 0 - 0 - - - - <h3><p align="center"><u><b>Mots Clefs Permis</b></u></p></h3> - - - false - - - - - - - <h3><p align="center"><u><b>Règles</b></u></p></h3> - - - false - - - - - - - - + + + + + + 0 + 0 + + + + <h3><p align="center"><u><b>Mots Clefs Permis</b></u></p></h3> + + + false + + + + + + + <h3><p align="center"><u><b>Règles</b></u></p></h3> + + + false + + + + + + + + + + @@ -67,86 +166,120 @@ Nommer Concept - + Concept - - - - 80 - 50 - 130 - 31 - - - - <u>Nom du concept :</u> - - - false - - - - - - 80 - 170 - 150 - 31 - - - - <u>Type du concept :</u> - - - false - - - - - - 80 - 110 - 310 - 30 - - - - - - - 10 - 200 - 290 - 31 - - - - L'opérateur retourne un concept de type : - - - false - - - - - - 310 - 200 - 130 - 31 - - - - TypeDuConcept - - - false - - + + + + + Qt::Horizontal + + + + <u>Nom du concept :</u> + + + false + + + + + + + + + + + 360 + 40 + + + + + + + + Qt::Horizontal + + + + 356 + 20 + + + + + + + + + + Qt::Vertical + + + + 20 + 51 + + + + + + + + + + + + <u>Type du concept :</u> + + + false + + + + + + + L'opérateur retourne un concept de type : + + + false + + + + + + + TypeDuConcept + + + false + + + + + + + + + Qt::Vertical + + + + 20 + 338 + + + + + + + @@ -158,7 +291,7 @@ - + <b><u>Commandes :</u></b> @@ -168,14 +301,32 @@ - + + + + 171 + 71 + + Affichage + + + 149 + 16 + + + + + 149 + 16 + + alphabétique @@ -194,18 +345,11 @@ - - - - Suivant - - - - + - 50 + 91 30 @@ -217,16 +361,42 @@ - + - 160 + 231 + 30 + + + + + + + + + 90 30 + + Suivant + + + + + Qt::Horizontal + + + + 108 + 20 + + + + @@ -234,6 +404,12 @@ + + + 721 + 20 + + La commande choisie sera ajoutée APRES la commande courante @@ -246,83 +422,11 @@ - - - - QFrame::NoFrame - - - QFrame::Plain - - - - - - false - - - - - - - - - Qt::Horizontal - - - - 128 - 20 - - - - - - - - - 0 - 30 - - - - validation de la saisie - - - &Valider - - - Shift+A, Alt+A, Alt+A, Alt+A - - - true - - - true - - - - - - - Qt::Horizontal - - - - 128 - 20 - - - - - - qPixmapFromMimeSource - LENomConcept TWChoix LBNouvCommande bOk diff --git a/UiQT4/desCommentaire.py b/UiQT4/desCommentaire.py index 0d0f7d53..4217847c 100644 --- a/UiQT4/desCommentaire.py +++ b/UiQT4/desCommentaire.py @@ -2,7 +2,7 @@ # Form implementation generated from reading ui file 'desCommentaire.ui' # -# Created: Thu Mar 12 10:55:27 2009 +# Created: Fri Apr 24 12:05:46 2009 # by: PyQt4 UI code generator 4.4.3 # # WARNING! All changes made in this file will be lost! @@ -12,16 +12,10 @@ from PyQt4 import QtCore, QtGui class Ui_DComment(object): def setupUi(self, DComment): DComment.setObjectName("DComment") - DComment.resize(505, 482) + DComment.resize(796, 618) DComment.setMinimumSize(QtCore.QSize(505, 0)) - self.gridlayout = QtGui.QGridLayout(DComment) - self.gridlayout.setObjectName("gridlayout") - self.bOk = QtGui.QPushButton(DComment) - self.bOk.setMinimumSize(QtCore.QSize(0, 30)) - self.bOk.setAutoDefault(True) - self.bOk.setDefault(True) - self.bOk.setObjectName("bOk") - self.gridlayout.addWidget(self.bOk, 1, 1, 1, 1) + 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() @@ -36,63 +30,87 @@ class Ui_DComment(object): 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_4.addWidget(self.textLabel1_4, 0, 0, 1, 3) + 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_3 = QtGui.QGridLayout(self.groupBox) - self.gridLayout_3.setObjectName("gridLayout_3") + 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.gridLayout_3.addWidget(self.RBalpha, 0, 0, 1, 1) + self.gridLayout1.addWidget(self.RBalpha, 0, 0, 1, 1) self.RBGroupe = QtGui.QRadioButton(self.groupBox) self.RBGroupe.setObjectName("RBGroupe") - self.gridLayout_3.addWidget(self.RBGroupe, 1, 0, 1, 1) - self.gridLayout_4.addWidget(self.groupBox, 0, 3, 2, 1) - self.textLabel6_2 = QtGui.QLabel(self.Commande) - self.textLabel6_2.setMinimumSize(QtCore.QSize(50, 30)) - self.textLabel6_2.setWordWrap(False) - self.textLabel6_2.setObjectName("textLabel6_2") - self.gridLayout_4.addWidget(self.textLabel6_2, 1, 0, 1, 1) + 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(160, 30)) + self.LEFiltre.setMinimumSize(QtCore.QSize(231, 30)) self.LEFiltre.setObjectName("LEFiltre") - self.gridLayout_4.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.setObjectName("BNext") - self.gridLayout_4.addWidget(self.BNext, 1, 2, 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, 2, 0, 1, 4) + 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, 3, 0, 1, 4) + self.gridLayout_4.addWidget(self.textLabel4, 2, 0, 1, 1) self.TWChoix.addTab(self.Commande, "") - self.gridlayout.addWidget(self.TWChoix, 0, 0, 1, 3) + 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(1) + 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.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)) 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_2.setText(QtGui.QApplication.translate("DComment", "Filtre", 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__": diff --git a/UiQT4/desCommentaire.ui b/UiQT4/desCommentaire.ui index 90535222..98bed3e2 100644 --- a/UiQT4/desCommentaire.ui +++ b/UiQT4/desCommentaire.ui @@ -5,8 +5,8 @@ 0 0 - 505 - 482 + 796 + 618 @@ -18,36 +18,11 @@ DComm - - - - - - 0 - 30 - - - - validation de la saisie - - - &Valider - - - Shift+A, Alt+A, Alt+A, Alt+A - - - true - - - true - - - - + + - 1 + 0 @@ -58,86 +33,135 @@ + textCommentaire + bOk Nouvelle Commande - - - - <b><u>Commandes :</u></b> - - - false - - - - - - - Affichage - - - - - - alphabétique - - - true - - - - - - - par groupe - - - - - + + + + + + <b><u>Commandes :</u></b> + + + false + + + + + + + + 171 + 71 + + + + Affichage + + + + + + + 149 + 16 + + + + + 149 + 16 + + + + alphabétique + + + true + + + + + + + par groupe + + + + + + + + + + + 91 + 30 + + + + Filtre + + + false + + + + + + + + 231 + 30 + + + + + + + + + 90 + 30 + + + + Suivant + + + + + + + Qt::Horizontal + + + + 108 + 20 + + + + + - - - - 50 - 30 - - - - Filtre - - - false - - + - - - + + + - 160 - 30 + 721 + 20 - - - - - - Suivant - - - - - - - - La commande choisie sera ajoutée APRES la commande courante @@ -150,6 +174,67 @@ + + + + + + Qt::Horizontal + + + + 268 + 20 + + + + + + + + + 160 + 30 + + + + + 160 + 30 + + + + validation de la saisie + + + &Valider + + + Shift+A, Alt+A, Alt+A, Alt+A + + + true + + + true + + + + + + + Qt::Horizontal + + + + 328 + 20 + + + + + + diff --git a/UiQT4/desFormule.py b/UiQT4/desFormule.py index 4f70d84e..8eb796ae 100644 --- a/UiQT4/desFormule.py +++ b/UiQT4/desFormule.py @@ -2,7 +2,7 @@ # Form implementation generated from reading ui file 'desFormule.ui' # -# Created: Thu Mar 12 10:42:30 2009 +# Created: Fri Apr 24 14:18:26 2009 # by: PyQt4 UI code generator 4.4.3 # # WARNING! All changes made in this file will be lost! @@ -14,12 +14,9 @@ class Ui_DFormule(object): DFormule.setObjectName("DFormule") DFormule.resize(529, 493) DFormule.setMinimumSize(QtCore.QSize(505, 0)) - self.Commentaire = QtGui.QLabel(DFormule) - self.Commentaire.setGeometry(QtCore.QRect(9, 431, 511, 16)) - self.Commentaire.setWordWrap(False) - self.Commentaire.setObjectName("Commentaire") + self.gridLayout_3 = QtGui.QGridLayout(DFormule) + self.gridLayout_3.setObjectName("gridLayout_3") self.TWChoix = QtGui.QTabWidget(DFormule) - self.TWChoix.setGeometry(QtCore.QRect(9, 9, 511, 431)) self.TWChoix.setObjectName("TWChoix") self.Formule = QtGui.QWidget() self.Formule.setObjectName("Formule") @@ -84,56 +81,75 @@ class Ui_DFormule(object): self.TWChoix.addTab(self.Formule, "") self.Commande = QtGui.QWidget() self.Commande.setObjectName("Commande") - self.gridLayout_2 = QtGui.QGridLayout(self.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, 1) + 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, 1, 2, 1) - self.horizontalLayout = QtGui.QHBoxLayout() - self.horizontalLayout.setObjectName("horizontalLayout") + self.gridLayout_2.addWidget(self.groupBox, 0, 4, 2, 1) self.textLabel6 = QtGui.QLabel(self.Commande) - self.textLabel6.setMinimumSize(QtCore.QSize(50, 30)) + self.textLabel6.setMinimumSize(QtCore.QSize(91, 30)) self.textLabel6.setWordWrap(False) self.textLabel6.setObjectName("textLabel6") - self.horizontalLayout.addWidget(self.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.setMinimumSize(QtCore.QSize(231, 30)) self.LEFiltre.setObjectName("LEFiltre") - self.horizontalLayout.addWidget(self.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.horizontalLayout.addWidget(self.BNext) - self.gridLayout_2.addLayout(self.horizontalLayout, 1, 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_2.addWidget(self.LBNouvCommande, 2, 0, 1, 2) + 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_2.addWidget(self.textLabel4, 3, 0, 1, 2) + 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.setGeometry(QtCore.QRect(183, 453, 163, 30)) - self.bOk.setMinimumSize(QtCore.QSize(0, 30)) + 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(1) + self.TWChoix.setCurrentIndex(0) QtCore.QMetaObject.connectSlotsByName(DFormule) DFormule.setTabOrder(self.LEFiltre, self.LENomFormule) DFormule.setTabOrder(self.LENomFormule, self.LENomsArgs) diff --git a/UiQT4/desFormule.ui b/UiQT4/desFormule.ui index 47744ee6..984a27d3 100644 --- a/UiQT4/desFormule.ui +++ b/UiQT4/desFormule.ui @@ -18,308 +18,365 @@ DMacro - - - - 9 - 431 - 511 - 16 - - - - - - - false - - - - - - 9 - 9 - 511 - 431 - - - - 1 - - - - Définition Formule - - - - - - - 0 - 0 - - - - <h3><p align="center"><u><b>Nom de la formule</b></u></p></h3> - - - false - - - - - - - Retour-Chariot permet de vérifier que l'expression est valide. - - - false - - - - - - - + + + + + 0 + + + + Définition Formule + + + + 0 - 40 + 0 + + <h3><p align="center"><u><b>Nom de la formule</b></u></p></h3> + + + false + - + + + + Retour-Chariot permet de vérifier que l'expression est valide. + + + false + + + + - + + + + 0 + 40 + + + + + + + + + + <h1><b>(</b></h1> + + + false + + + + + + + + 230 + 40 + + + + + + + + <h1><b>)</b></h1> + + + false + + + + + + + + + + + variables séparées par des "," + par ex. : x,y,z + + + false + + + + + + + Ce n'est qu'après avoir appuyé sur le bouton Valider que les nouvelles +valeurs seront effectivement prises en compte + + + false + + + + + + + <font size="+4" face="Helvetica"><b>=</b></font> + + + false + + + + + + + + 0 + 0 + + + + <h3><p align="center"><u><b>Expression</b></u></p></h3> + + + false + + + + + + + + 0 + 30 + + + + + + + + <h3><p align="center"><u><b>Arguments</b></u></p></h3> + + + false + + + + + + + + Nouvelle Commande + + + + + + - <h1><b>(</b></h1> + <b><u>Commandes :</u></b> false - - + + - 230 - 40 + 171 + 71 + + Affichage + + + + + + + 149 + 16 + + + + + 149 + 16 + + + + alphabétique + + + true + + + + + + + par groupe + + + + - - + + + + + 91 + 30 + + - <h1><b>)</b></h1> + Filtre false + + + + + 231 + 30 + + + + + + + + + 90 + 30 + + + + Suivant + + + + + + + Qt::Horizontal + + + + 108 + 20 + + + + + + + + + + + + 721 + 20 + + + + La commande choisie sera ajoutée APRES la commande courante + + + false + + + - - - - - variables séparées par des "," - par ex. : x,y,z - - - false - - - - - - - Ce n'est qu'après avoir appuyé sur le bouton Valider que les nouvelles -valeurs seront effectivement prises en compte - - - false - - - - - - - <font size="+4" face="Helvetica"><b>=</b></font> - - - false + + + + + + + + + + false + + + + + + + + + Qt::Horizontal - - - - - + - 0 - 0 + 158 + 20 - - <h3><p align="center"><u><b>Expression</b></u></p></h3> - - - false - - + - - + + - 0 + 163 30 - - - - + + validation de la saisie + - <h3><p align="center"><u><b>Arguments</b></u></p></h3> + &Valider - - false + + Shift+A, Alt+A, Alt+A, Alt+A - - - - - - - Nouvelle Commande - - - - - - <b><u>Commandes :</u></b> + + true - - false + + true - - - - Affichage + + + + Qt::Horizontal - - - - - alphabétique - - - true - - - - - - - par groupe - - - - - - - - - - - - - 50 - 30 - - - - Filtre - - - false - - - - - - - - 160 - 30 - - - - - - - - Suivant - - - - - - - - - - - - La commande choisie sera ajoutée APRES la commande courante - - - false + + + 158 + 20 + - + - - - - - - 183 - 453 - 163 - 30 - - - - - 0 - 30 - - - - validation de la saisie - - - &Valider - - - Shift+A, Alt+A, Alt+A, Alt+A - - - true - - - true - - + + qPixmapFromMimeSource diff --git a/UiQT4/desParam.py b/UiQT4/desParam.py index 040982d7..6c9bb635 100644 --- a/UiQT4/desParam.py +++ b/UiQT4/desParam.py @@ -2,7 +2,7 @@ # Form implementation generated from reading ui file 'desParam.ui' # -# Created: Thu Mar 12 15:06:08 2009 +# Created: Fri Apr 24 10:10:36 2009 # by: PyQt4 UI code generator 4.4.3 # # WARNING! All changes made in this file will be lost! @@ -12,95 +12,117 @@ from PyQt4 import QtCore, QtGui class Ui_DParam(object): def setupUi(self, DParam): DParam.setObjectName("DParam") - DParam.resize(505, 483) + DParam.resize(682, 552) DParam.setMinimumSize(QtCore.QSize(505, 0)) - self.gridlayout = QtGui.QGridLayout(DParam) - self.gridlayout.setObjectName("gridlayout") + 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_3 = QtGui.QGridLayout(self.Valeur_Parametre) - self.gridLayout_3.setObjectName("gridLayout_3") + 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_3.addWidget(self.textLabel2_2_2, 0, 1, 1, 1) + 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_3.addWidget(self.textLabel2_2, 1, 0, 1, 1) + 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_3.addWidget(self.lineEditNom, 1, 1, 1, 1) + 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_3.addWidget(self.textLabel2, 2, 0, 1, 1) + 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_3.addWidget(self.lineEditVal, 2, 1, 1, 1) + 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_3.addWidget(self.Commentaire2, 4, 0, 1, 2) + 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_3.addWidget(self.Commentaire_2, 6, 0, 1, 2) - self.Commentaire = QtGui.QLineEdit(self.Valeur_Parametre) - self.Commentaire.setObjectName("Commentaire") - self.gridLayout_3.addWidget(self.Commentaire, 7, 0, 1, 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_2 = QtGui.QGridLayout(self.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, 3) + 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.RBGroupe = QtGui.QRadioButton(self.groupBox) - self.RBGroupe.setObjectName("RBGroupe") - self.gridLayout.addWidget(self.RBGroupe, 1, 0, 1, 1) 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.gridLayout_2.addWidget(self.groupBox, 0, 3, 2, 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(50, 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.LEFiltre = QtGui.QLineEdit(self.Commande) - self.LEFiltre.setMinimumSize(QtCore.QSize(160, 30)) + 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_2.addWidget(self.LBNouvCommande, 2, 0, 1, 4) + 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_2.addWidget(self.textLabel4, 3, 0, 1, 4) + self.gridLayout_4.addWidget(self.textLabel4, 2, 0, 1, 1) self.TWChoix.addTab(self.Commande, "") - self.gridlayout.addWidget(self.TWChoix, 0, 0, 1, 3) + 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(0, 30)) + 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.gridlayout.addWidget(self.bOk, 1, 1, 1, 1) + 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) @@ -125,8 +147,8 @@ class Ui_DParam(object): 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.RBGroupe.setText(QtGui.QApplication.translate("DParam", "par groupe", 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)) diff --git a/UiQT4/desParam.ui b/UiQT4/desParam.ui index 081ba111..f418cc9b 100644 --- a/UiQT4/desParam.ui +++ b/UiQT4/desParam.ui @@ -5,8 +5,8 @@ 0 0 - 505 - 483 + 682 + 552 @@ -18,8 +18,8 @@ DComm - - + + 0 @@ -28,8 +28,8 @@ Valeur Parametre - - + + <u><b><p align="center">Parametre</p></b></u> @@ -79,7 +79,7 @@ - + Retour Chariot dans une sone de saisie permet de vérifier la @@ -93,6 +93,38 @@ appuyé sur le bouton Valider. + + + + Qt::Vertical + + + + 460 + 139 + + + + + + + + + 0 + 20 + + + + + 465 + 16777215 + + + + + + + @@ -103,90 +135,134 @@ appuyé sur le bouton Valider. - - - Nouvelle Commande - - - - - <b><u>Commandes :</u></b> - - - false - - - - - - - Affichage - - - - - - par groupe - - - - - - - alphabétique - - - true - - - - - + + + + + + + <b><u>Commandes :</u></b> + + + false + + + + + + + + 171 + 71 + + + + Affichage + + + + + + + 149 + 16 + + + + + 149 + 16 + + + + alphabétique + + + true + + + + + + + par groupe + + + + + + + + + + + 91 + 30 + + + + Filtre + + + false + + + + + + + + 231 + 30 + + + + + + + + + 90 + 30 + + + + Suivant + + + + + + + Qt::Horizontal + + + + 108 + 20 + + + + + - - - - 50 - 30 - - - - Filtre - - - false - - + - - - + + + - 160 - 30 + 721 + 20 - - - - - - Suivant - - - - - - - - La commande choisie sera ajoutée APRES la commande courante @@ -199,30 +275,66 @@ appuyé sur le bouton Valider. - - - - - 0 - 30 - - - - validation de la saisie - - - &Valider - - - Shift+A, Alt+A, Alt+A, Alt+A - - - true - - - true - - + + + + + + Qt::Horizontal + + + + 158 + 20 + + + + + + + + + 160 + 30 + + + + + 160 + 30 + + + + validation de la saisie + + + &Valider + + + Shift+A, Alt+A, Alt+A, Alt+A + + + true + + + true + + + + + + + Qt::Horizontal + + + + 148 + 20 + + + + + diff --git a/UiQT4/desPlusieursBase.py b/UiQT4/desPlusieursBase.py index 22a8348c..3c1d55d7 100644 --- a/UiQT4/desPlusieursBase.py +++ b/UiQT4/desPlusieursBase.py @@ -2,7 +2,7 @@ # Form implementation generated from reading ui file 'desPlusieursBase.ui' # -# Created: Thu Mar 12 10:42:31 2009 +# Created: Fri Apr 24 15:50:34 2009 # by: PyQt4 UI code generator 4.4.3 # # WARNING! All changes made in this file will be lost! @@ -12,35 +12,42 @@ from PyQt4 import QtCore, QtGui class Ui_DPlusBase(object): def setupUi(self, DPlusBase): DPlusBase.setObjectName("DPlusBase") - DPlusBase.resize(552, 480) + DPlusBase.resize(643, 728) DPlusBase.setMinimumSize(QtCore.QSize(350, 0)) - self.gridlayout = QtGui.QGridLayout(DPlusBase) - self.gridlayout.setObjectName("gridlayout") + 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 = QtGui.QGridLayout(self.Widget8) - self.gridLayout.setObjectName("gridLayout") + 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.gridLayout.addWidget(self.textLabel1, 0, 0, 1, 1) - spacerItem = QtGui.QSpacerItem(31, 30, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) - self.gridLayout.addItem(spacerItem, 0, 1, 1, 2) - self.hboxlayout = QtGui.QHBoxLayout() - self.hboxlayout.setObjectName("hboxlayout") - self.textLabel1_2 = QtGui.QLabel(self.Widget8) - self.textLabel1_2.setWordWrap(False) - self.textLabel1_2.setObjectName("textLabel1_2") - self.hboxlayout.addWidget(self.textLabel1_2) - spacerItem1 = QtGui.QSpacerItem(111, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) - self.hboxlayout.addItem(spacerItem1) - self.gridLayout.addLayout(self.hboxlayout, 0, 3, 1, 3) + self.verticalLayout_2.addWidget(self.textLabel1) self.LBValeurs = QtGui.QListWidget(self.Widget8) self.LBValeurs.setMinimumSize(QtCore.QSize(200, 0)) self.LBValeurs.setObjectName("LBValeurs") - self.gridLayout.addWidget(self.LBValeurs, 1, 0, 8, 1) + 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 = 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) @@ -52,7 +59,7 @@ class Ui_DPlusBase(object): 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, 1, 1, 2) + 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) @@ -61,7 +68,7 @@ class Ui_DPlusBase(object): self.LEValeur.setSizePolicy(sizePolicy) self.LEValeur.setMinimumSize(QtCore.QSize(220, 30)) self.LEValeur.setObjectName("LEValeur") - self.gridLayout.addWidget(self.LEValeur, 1, 3, 1, 3) + 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) @@ -73,7 +80,7 @@ class Ui_DPlusBase(object): icon1.addPixmap(QtGui.QPixmap("../../EficasV1/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, 1, 1, 2) + 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) @@ -85,52 +92,69 @@ class Ui_DPlusBase(object): 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, 3, 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.setObjectName("BView2D") - self.gridLayout.addWidget(self.BView2D, 2, 4, 1, 2) - spacerItem2 = QtGui.QSpacerItem(21, 231, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) - self.gridLayout.addItem(spacerItem2, 3, 1, 5, 2) - self.Commentaire = QtGui.QLabel(self.Widget8) - self.Commentaire.setMinimumSize(QtCore.QSize(0, 60)) - self.Commentaire.setWordWrap(False) - self.Commentaire.setObjectName("Commentaire") - self.gridLayout.addWidget(self.Commentaire, 3, 3, 1, 3) - spacerItem3 = QtGui.QSpacerItem(31, 50, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) - self.gridLayout.addItem(spacerItem3, 4, 5, 1, 1) - spacerItem4 = QtGui.QSpacerItem(150, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) - self.gridLayout.addItem(spacerItem4, 6, 2, 1, 3) - self.vboxlayout = QtGui.QVBoxLayout() - self.vboxlayout.setObjectName("vboxlayout") + 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.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(0, 30)) + self.bParam.setMinimumSize(QtCore.QSize(100, 30)) + self.bParam.setMaximumSize(QtCore.QSize(100, 30)) self.bParam.setAutoDefault(True) self.bParam.setObjectName("bParam") - self.vboxlayout.addWidget(self.bParam) + self.verticalLayout.addWidget(self.bParam) self.bImport = QtGui.QPushButton(self.Widget8) - self.bImport.setMinimumSize(QtCore.QSize(0, 30)) + self.bImport.setMinimumSize(QtCore.QSize(100, 30)) + self.bImport.setMaximumSize(QtCore.QSize(100, 30)) self.bImport.setAutoDefault(True) self.bImport.setObjectName("bImport") - self.vboxlayout.addWidget(self.bImport) - self.gridLayout.addLayout(self.vboxlayout, 5, 5, 2, 1) - spacerItem5 = QtGui.QSpacerItem(31, 50, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) - self.gridLayout.addItem(spacerItem5, 7, 5, 1, 1) + 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.Commentaire = QtGui.QLabel(self.Widget8) + self.Commentaire.setMinimumSize(QtCore.QSize(251, 21)) + 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.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(0, 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.gridLayout.addWidget(self.bOk, 8, 1, 1, 4) + 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.addWidget(self.tabuniqueinto, 0, 0, 1, 1) + 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.bParam) - DPlusBase.setTabOrder(self.bParam, self.bImport) + DPlusBase.setTabOrder(self.bOk, self.bImport) DPlusBase.setTabOrder(self.bImport, self.LBValeurs) DPlusBase.setTabOrder(self.LBValeurs, self.BView2D) diff --git a/UiQT4/desPlusieursBase.ui b/UiQT4/desPlusieursBase.ui index 44371528..265ee207 100644 --- a/UiQT4/desPlusieursBase.ui +++ b/UiQT4/desPlusieursBase.ui @@ -5,8 +5,8 @@ 0 0 - 552 - 480 + 643 + 728 @@ -18,46 +18,20 @@ DUnIn - + Saisir Valeur - + - - - <u><font size="+1">Valeur(s) actuelle(s)</font></u> - - - false - - - - - - - Qt::Vertical - - - QSizePolicy::Expanding - - - - 31 - 30 - - - - - - + - + - <font size="+1">Valeur</font> + <u><font size="+1">Valeur(s) actuelle(s)</font></u> false @@ -65,293 +39,368 @@ - - - Qt::Horizontal - - - QSizePolicy::Expanding - - + + - 111 - 20 + 200 + 0 - + - - - - - 200 - 0 - - - - - - - - - 0 - 0 - - - - - 40 - 30 - - - - ajoute la valeur saisie sous l occurence selectionnée (en fin de liste si il n y a pas de selection) - - - - - - - ../Editeur/icons/arrow_left.png../Editeur/icons/arrow_left.png - - - - - - - - 0 - 0 - - - - - 220 - 30 - - - - - - - - - 0 - 0 - - - - - 40 - 30 - - - - enleve l occurence selectionnee - - - - - - - ../../EficasV1/Editeur/icons/arrow_right.png../../EficasV1/Editeur/icons/arrow_right.png - - - - - - - - 0 - 0 - - - - - 40 - 30 - - - - ajoute la valeur saisie sous l occurence selectionnée (en fin de liste si il n y a pas de selection) - - - - - - - image240.pngimage240.png - - - - - - - - 120 - 30 - - - - Visualiser - - - - - - - Qt::Vertical - - - QSizePolicy::Expanding - - - - 21 - 231 - - - - - - - - - 0 - 60 - - - - - - - false - - - - - - - Qt::Vertical - - - QSizePolicy::Expanding - - - - 31 - 50 - - - - - - - - Qt::Horizontal - - - QSizePolicy::Expanding - - - - 150 - 20 - - - - - - + + - - - - 0 - 30 - - - - suppression du mot clef - - - &Parametres - - - Alt+P - - - true - - + + + + + + + + 61 + 21 + + + + + 61 + 21 + + + + <font size="+1">Valeur</font> + + + false + + + + + + + Qt::Horizontal + + + QSizePolicy::Expanding + + + + 168 + 18 + + + + + + + + + + + 0 + 0 + + + + + 40 + 30 + + + + ajoute la valeur saisie sous l occurence selectionnée (en fin de liste si il n y a pas de selection) + + + + + + + ../Editeur/icons/arrow_left.png../Editeur/icons/arrow_left.png + + + + + + + + 0 + 0 + + + + + 220 + 30 + + + + + + + + + 0 + 0 + + + + + 40 + 30 + + + + enleve l occurence selectionnee + + + + + + + ../../EficasV1/Editeur/icons/arrow_right.png../../EficasV1/Editeur/icons/arrow_right.png + + + + + + + + 0 + 0 + + + + + 40 + 30 + + + + ajoute la valeur saisie sous l occurence selectionnée (en fin de liste si il n y a pas de selection) + + + + + + + image240.pngimage240.png + + + + + + + + 120 + 30 + + + + Visualiser + + + + - - + + + Qt::Vertical + + - 0 - 30 + 20 + 158 - - suppression du mot clef - - - &Importer - - - Alt+I - - - true - - + + + + + + + + + + Qt::Horizontal + + + QSizePolicy::Expanding + + + + 150 + 20 + + + + + + + + + + + 100 + 30 + + + + + 100 + 30 + + + + suppression du mot clef + + + &Parametres + + + Alt+P + + + true + + + + + + + + 100 + 30 + + + + + 100 + 30 + + + + suppression du mot clef + + + &Importer + + + Alt+I + + + true + + + + + + + + + + + + + Qt::Vertical + + + QSizePolicy::Expanding + + + + 265 + 48 + + + + + + + + + 251 + 21 + + + + + + + + + + + Qt::Vertical + + + QSizePolicy::Expanding + + + + 265 + 48 + + + + + + + + + + + + Qt::Horizontal + + + + 118 + 27 + + + + + + + + + 160 + 30 + + + + + 160 + 30 + + + + validation de la saisie + + + &Valider + + + Shift+A, Alt+A, Alt+A, Alt+A + + + true + + + false + + + + + + - - - - Qt::Vertical - - - QSizePolicy::Expanding - - - - 31 - 50 - - - - - - - - - 0 - 30 - - - - validation de la saisie - - - &Valider - - - Shift+A, Alt+A, Alt+A, Alt+A - - - true - - - false - - - @@ -363,7 +412,6 @@ LEValeur tabuniqueinto bOk - bParam bImport LBValeurs BView2D diff --git a/UiQT4/desPlusieursInto.py b/UiQT4/desPlusieursInto.py index 103a0eae..e26579cd 100644 --- a/UiQT4/desPlusieursInto.py +++ b/UiQT4/desPlusieursInto.py @@ -2,7 +2,7 @@ # Form implementation generated from reading ui file 'desPlusieursInto.ui' # -# Created: Thu Mar 12 10:42:31 2009 +# Created: Fri Apr 24 15:53:20 2009 # by: PyQt4 UI code generator 4.4.3 # # WARNING! All changes made in this file will be lost! @@ -20,31 +20,19 @@ class Ui_DPlusInto(object): 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.setGeometry(QtCore.QRect(9, 9, 203, 19)) self.textLabel1.setWordWrap(False) self.textLabel1.setObjectName("textLabel1") - self.bOk = QtGui.QPushButton(self.Widget8) - self.bOk.setGeometry(QtCore.QRect(149, 396, 130, 30)) - self.bOk.setMinimumSize(QtCore.QSize(130, 30)) - self.bOk.setAutoDefault(True) - self.bOk.setDefault(True) - self.bOk.setObjectName("bOk") - self.Commentaire = QtGui.QLabel(self.Widget8) - self.Commentaire.setGeometry(QtCore.QRect(9, 356, 442, 31)) - self.Commentaire.setMinimumSize(QtCore.QSize(0, 20)) - self.Commentaire.setWordWrap(False) - self.Commentaire.setObjectName("Commentaire") + self.gridLayout.addWidget(self.textLabel1, 0, 0, 1, 1) self.textLabel1_2 = QtGui.QLabel(self.Widget8) - self.textLabel1_2.setGeometry(QtCore.QRect(217, 9, 234, 19)) self.textLabel1_2.setWordWrap(False) self.textLabel1_2.setObjectName("textLabel1_2") - self.widget = QtGui.QWidget(self.Widget8) - self.widget.setGeometry(QtCore.QRect(9, 33, 442, 331)) - self.widget.setObjectName("widget") - self.hboxlayout = QtGui.QHBoxLayout(self.widget) + self.gridLayout.addWidget(self.textLabel1_2, 0, 1, 1, 1) + self.hboxlayout = QtGui.QHBoxLayout() self.hboxlayout.setObjectName("hboxlayout") - self.LBValeurs = QtGui.QListWidget(self.widget) + self.LBValeurs = QtGui.QListWidget(self.Widget8) self.LBValeurs.setObjectName("LBValeurs") self.hboxlayout.addWidget(self.LBValeurs) self.vboxlayout = QtGui.QVBoxLayout() @@ -53,7 +41,7 @@ class Ui_DPlusInto(object): self.vboxlayout.addItem(spacerItem) self.vboxlayout1 = QtGui.QVBoxLayout() self.vboxlayout1.setObjectName("vboxlayout1") - self.BAjout1Val = QtGui.QToolButton(self.widget) + self.BAjout1Val = QtGui.QToolButton(self.Widget8) self.BAjout1Val.setMinimumSize(QtCore.QSize(40, 31)) self.BAjout1Val.setMaximumSize(QtCore.QSize(40, 31)) icon = QtGui.QIcon() @@ -61,7 +49,7 @@ class Ui_DPlusInto(object): self.BAjout1Val.setIcon(icon) self.BAjout1Val.setObjectName("BAjout1Val") self.vboxlayout1.addWidget(self.BAjout1Val) - self.BSup1Val = QtGui.QToolButton(self.widget) + self.BSup1Val = QtGui.QToolButton(self.Widget8) self.BSup1Val.setMinimumSize(QtCore.QSize(40, 31)) self.BSup1Val.setMaximumSize(QtCore.QSize(40, 31)) icon1 = QtGui.QIcon() @@ -73,9 +61,28 @@ class Ui_DPlusInto(object): self.vboxlayout1.addItem(spacerItem1) self.vboxlayout.addLayout(self.vboxlayout1) self.hboxlayout.addLayout(self.vboxlayout) - self.listBoxVal = QtGui.QListWidget(self.widget) + 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) @@ -88,12 +95,12 @@ class Ui_DPlusInto(object): 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.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.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)) diff --git a/UiQT4/desPlusieursInto.ui b/UiQT4/desPlusieursInto.ui index 62b59acd..a44f52e5 100644 --- a/UiQT4/desPlusieursInto.ui +++ b/UiQT4/desPlusieursInto.ui @@ -25,201 +25,201 @@ Saisir Valeur - - - - 9 - 9 - 203 - 19 - - - - <u><font size="+1">Valeur(s) actuelle(s)</font></u> - - - false - - - - - - 149 - 396 - 130 - 30 - - - - - 130 - 30 - - - - validation de la saisie - - - &Valider - - - Shift+A, Alt+A, Alt+A, Alt+A - - - true - - - true - - - - - - 9 - 356 - 442 - 31 - - - - - 0 - 20 - - - - - - - false - - - - - - 217 - 9 - 234 - 19 - - - - <u><font size="+1">Valeur(s) possibles(s)</font></u> - - - false - - - - - - 9 - 33 - 442 - 331 - - - - - - - - - - - - Qt::Vertical - - - QSizePolicy::Expanding - - - - 21 - 44 - - - - - - - - - - - 40 - 31 - - - - - 40 - 31 - - - - enleve l occurence selectionnee - - - - - - - ../Editeur/icons/arrow_left.png../Editeur/icons/arrow_left.png - - - - - - - - 40 - 31 - - - - - 40 - 31 - - - - ajoute la valeur saisie sous l occurence selectionnée (en fin de liste si il n y a pas de selection) - - - - - - - ../Editeur/icons/arrow_right.png../Editeur/icons/arrow_right.png - - - - - - - Qt::Vertical - - - QSizePolicy::Expanding - - - - 21 - 176 - - - - - - - - - - - - - + + + + + <u><font size="+1">Valeur(s) actuelle(s)</font></u> + + + false + + + + + + + <u><font size="+1">Valeur(s) possibles(s)</font></u> + + + false + + + + + + + + + + + + + + Qt::Vertical + + + QSizePolicy::Expanding + + + + 21 + 44 + + + + + + + + + + + 40 + 31 + + + + + 40 + 31 + + + + enleve l occurence selectionnee + + + + + + + ../Editeur/icons/arrow_left.png../Editeur/icons/arrow_left.png + + + + + + + + 40 + 31 + + + + + 40 + 31 + + + + ajoute la valeur saisie sous l occurence selectionnée (en fin de liste si il n y a pas de selection) + + + + + + + ../Editeur/icons/arrow_right.png../Editeur/icons/arrow_right.png + + + + + + + Qt::Vertical + + + QSizePolicy::Expanding + + + + 21 + 176 + + + + + + + + + + + + + + + + + + 0 + 20 + + + + + + + false + + + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + + 130 + 30 + + + + validation de la saisie + + + &Valider + + + Shift+A, Alt+A, Alt+A, Alt+A + + + true + + + true + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + diff --git a/UiQT4/desRacine.py b/UiQT4/desRacine.py index 87e2f672..d0c26ca3 100644 --- a/UiQT4/desRacine.py +++ b/UiQT4/desRacine.py @@ -2,7 +2,7 @@ # Form implementation generated from reading ui file 'desRacine.ui' # -# Created: Thu Mar 12 12:08:36 2009 +# Created: Thu Apr 23 16:04:23 2009 # by: PyQt4 UI code generator 4.4.3 # # WARNING! All changes made in this file will be lost! diff --git a/UiQT4/desUniqueASSD.py b/UiQT4/desUniqueASSD.py index 3d843230..e7da3d8b 100644 --- a/UiQT4/desUniqueASSD.py +++ b/UiQT4/desUniqueASSD.py @@ -2,7 +2,7 @@ # Form implementation generated from reading ui file 'desUniqueASSD.ui' # -# Created: Thu Mar 12 10:42:31 2009 +# Created: Fri Apr 24 14:45:17 2009 # by: PyQt4 UI code generator 4.4.3 # # WARNING! All changes made in this file will be lost! @@ -20,25 +20,34 @@ class Ui_DUnASSD(object): 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.setGeometry(QtCore.QRect(9, 9, 442, 50)) 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.setGeometry(QtCore.QRect(9, 64, 442, 289)) self.listBoxASSD.setObjectName("listBoxASSD") + self.gridLayout.addWidget(self.listBoxASSD, 1, 0, 1, 1) self.Commentaire = QtGui.QLabel(self.Widget8) - self.Commentaire.setGeometry(QtCore.QRect(9, 359, 442, 30)) 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.setGeometry(QtCore.QRect(160, 395, 140, 30)) - self.bOk.setMinimumSize(QtCore.QSize(0, 30)) + 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) diff --git a/UiQT4/desUniqueASSD.ui b/UiQT4/desUniqueASSD.ui index 3aa7434c..5f205a7e 100644 --- a/UiQT4/desUniqueASSD.ui +++ b/UiQT4/desUniqueASSD.ui @@ -25,92 +25,99 @@ Saisir Valeur - - - - 9 - 9 - 442 - 50 - - - - - 436 - 50 - - - - <font size="+1"><p align="center">Structures de données du type + + + + + + 436 + 50 + + + + <font size="+1"><p align="center">Structures de données du type requis par l'objet courant :</p></font> - - - false - - - - - - 9 - 64 - 442 - 289 - - - - - - - 9 - 359 - 442 - 30 - - - - - 380 - 30 - - - - - - - false - - - - - - 160 - 395 - 140 - 30 - - - - - 0 - 30 - - - - validation de la saisie - - - &Valider - - - Shift+A, Alt+A, Alt+A, Alt+A - - - true - - - true - - + + + false + + + + + + + + + + + 380 + 30 + + + + + + + false + + + + + + + + + Qt::Horizontal + + + + 138 + 20 + + + + + + + + + 160 + 30 + + + + validation de la saisie + + + &Valider + + + Shift+A, Alt+A, Alt+A, Alt+A + + + true + + + true + + + + + + + Qt::Horizontal + + + + 138 + 20 + + + + + + + diff --git a/UiQT4/desUniqueBase.py b/UiQT4/desUniqueBase.py index cf105c5f..d88cadb8 100644 --- a/UiQT4/desUniqueBase.py +++ b/UiQT4/desUniqueBase.py @@ -2,7 +2,7 @@ # Form implementation generated from reading ui file 'desUniqueBase.ui' # -# Created: Thu Mar 12 15:01:03 2009 +# Created: Fri Apr 24 14:36:52 2009 # by: PyQt4 UI code generator 4.4.3 # # WARNING! All changes made in this file will be lost! @@ -20,8 +20,8 @@ class Ui_DUnBase(object): 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.gridLayout = QtGui.QGridLayout(self.Widget8) + self.gridLayout.setObjectName("gridLayout") self.horizontalLayout = QtGui.QHBoxLayout() self.horizontalLayout.setObjectName("horizontalLayout") self.textLabel2 = QtGui.QLabel(self.Widget8) @@ -32,18 +32,31 @@ class Ui_DUnBase(object): self.lineEditVal.setMinimumSize(QtCore.QSize(290, 50)) self.lineEditVal.setObjectName("lineEditVal") self.horizontalLayout.addWidget(self.lineEditVal) - self.gridLayout_2.addLayout(self.horizontalLayout, 0, 0, 1, 3) - self.gridLayout = QtGui.QGridLayout() - self.gridLayout.setObjectName("gridLayout") + 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(50, 40)) + 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, 1, 0, 1, 1) - spacerItem = QtGui.QSpacerItem(41, 112, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) - self.gridLayout.addItem(spacerItem, 1, 1, 2, 1) + 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) @@ -52,7 +65,7 @@ class Ui_DUnBase(object): self.BView2D.setSizePolicy(sizePolicy) self.BView2D.setMinimumSize(QtCore.QSize(140, 40)) self.BView2D.setObjectName("BView2D") - self.gridLayout.addWidget(self.BView2D, 1, 2, 1, 1) + 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) @@ -62,31 +75,23 @@ class Ui_DUnBase(object): self.BFichier.setMinimumSize(QtCore.QSize(140, 40)) self.BFichier.setIcon(icon) self.BFichier.setObjectName("BFichier") - self.gridLayout.addWidget(self.BFichier, 2, 2, 1, 1) - spacerItem1 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) - self.gridLayout.addItem(spacerItem1, 0, 1, 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, 0, 2, 1, 1) - self.gridLayout_2.addLayout(self.gridLayout, 1, 0, 1, 3) + 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") - spacerItem2 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) - self.verticalLayout.addItem(spacerItem2) - self.Commentaire = QtGui.QLineEdit(self.Widget8) + 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) - spacerItem3 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) - self.verticalLayout.addItem(spacerItem3) - self.gridLayout_2.addLayout(self.verticalLayout, 2, 0, 1, 3) - spacerItem4 = QtGui.QSpacerItem(138, 17, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) - self.gridLayout_2.addItem(spacerItem4, 3, 0, 1, 1) + 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) @@ -97,9 +102,10 @@ class Ui_DUnBase(object): self.bOk.setAutoDefault(True) self.bOk.setDefault(True) self.bOk.setObjectName("bOk") - self.gridLayout_2.addWidget(self.bOk, 3, 1, 1, 1) - spacerItem5 = QtGui.QSpacerItem(108, 17, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) - self.gridLayout_2.addItem(spacerItem5, 3, 2, 1, 1) + 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) @@ -112,9 +118,10 @@ class Ui_DUnBase(object): 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.bParametres.setText(QtGui.QApplication.translate("DUnBase", "Parametres", 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)) diff --git a/UiQT4/desUniqueBase.ui b/UiQT4/desUniqueBase.ui index 2ae2f40e..ad9c6a75 100644 --- a/UiQT4/desUniqueBase.ui +++ b/UiQT4/desUniqueBase.ui @@ -25,8 +25,8 @@ Saisir Valeur - - + + @@ -50,98 +50,206 @@ - - - - - - - 50 - 40 - - - - - - - - image240.pngimage240.png - - - - - + + + + Qt::Vertical + + + + 137 + 43 + + + + + + + + + 0 + 0 + + + + + 140 + 45 + + + + Parametres + + + + + + + Qt::Horizontal + + + + 293 + 20 + + + + + + + + + 142 + 40 + + + + + + + + image240.pngimage240.png + + + + + + + Qt::Horizontal + + + + 138 + 20 + + + + + + + + Qt::Vertical + + + QSizePolicy::Expanding + + + + 137 + 77 + + + + + + + + + 0 + 0 + + + + + 140 + 40 + + + + Visualiser + + + + + + + + 0 + 0 + + + + + 140 + 40 + + + + Fichier + + + + image240.pngimage240.png + + + + + + + Qt::Horizontal + + + + 293 + 20 + + + + + + + + Qt::Vertical - - QSizePolicy::Expanding - - 41 - 112 + 20 + 40 - - - - - 0 - 0 - - - - - 140 - 40 - - + + - Visualiser + TextLabel - - - - - 0 - 0 - + + + + Qt::Vertical - + - 140 + 20 40 - - Fichier - - - - image240.pngimage240.png - - + - - + + + + + + - Qt::Vertical + Qt::Horizontal - 20 - 40 + 40 + 20 - - + + 0 @@ -151,110 +259,41 @@ 140 - 45 + 40 + + validation de la saisie + - Parametres + &Valider - - - - - - - - - - Qt::Vertical + + Shift+A, Alt+A, Alt+A, Alt+A - - - 20 - 40 - + + true - - - - - - TextLabel + + true - + - Qt::Vertical + Qt::Horizontal - 20 - 40 + 40 + 20 - - - - Qt::Horizontal - - - - 138 - 17 - - - - - - - - - 0 - 0 - - - - - 140 - 40 - - - - validation de la saisie - - - &Valider - - - Shift+A, Alt+A, Alt+A, Alt+A - - - true - - - true - - - - - - - Qt::Horizontal - - - - 108 - 17 - - - - diff --git a/UiQT4/desUniqueComp.py b/UiQT4/desUniqueComp.py index 0c0f5f49..e3810b31 100644 --- a/UiQT4/desUniqueComp.py +++ b/UiQT4/desUniqueComp.py @@ -2,7 +2,7 @@ # Form implementation generated from reading ui file 'desUniqueComp.ui' # -# Created: Thu Mar 12 10:42:31 2009 +# Created: Fri Apr 24 16:01:08 2009 # by: PyQt4 UI code generator 4.4.3 # # WARNING! All changes made in this file will be lost! @@ -20,40 +20,69 @@ class Ui_DUnComp(object): 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.setGeometry(QtCore.QRect(10, -10, 444, 87)) self.textLabel1.setWordWrap(False) self.textLabel1.setObjectName("textLabel1") + self.verticalLayout_2.addWidget(self.textLabel1) self.LEcomp = QtGui.QLineEdit(self.Widget8) - self.LEcomp.setGeometry(QtCore.QRect(10, 60, 444, 51)) 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.setGeometry(QtCore.QRect(10, 170, 444, 89)) self.groupBox.setObjectName("groupBox") + self.gridLayout = QtGui.QGridLayout(self.groupBox) + self.gridLayout.setObjectName("gridLayout") self.RBRI = QtGui.QRadioButton(self.groupBox) - self.RBRI.setGeometry(QtCore.QRect(10, 30, 444, 23)) self.RBRI.setObjectName("RBRI") + self.gridLayout.addWidget(self.RBRI, 0, 0, 1, 1) self.RBMP = QtGui.QRadioButton(self.groupBox) - self.RBMP.setGeometry(QtCore.QRect(10, 50, 444, 23)) 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.setGeometry(QtCore.QRect(4, 270, 219, 51)) 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.setGeometry(QtCore.QRect(230, 270, 218, 51)) 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.setGeometry(QtCore.QRect(9, 332, 444, 51)) 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.setGeometry(QtCore.QRect(150, 430, 140, 41)) + 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) diff --git a/UiQT4/desUniqueComp.ui b/UiQT4/desUniqueComp.ui index 870b6210..f7a21519 100644 --- a/UiQT4/desUniqueComp.ui +++ b/UiQT4/desUniqueComp.ui @@ -25,150 +25,184 @@ Saisir Valeur - - - - 10 - -10 - 444 - 87 - - - - <font size="+2">Complexe de la forme : a+bj</font> - - - false - - - - - - 10 - 60 - 444 - 51 - - - - - 390 - 40 - - - - - - - 10 - 170 - 444 - 89 - - - - Ou - - - - - 10 - 30 - 444 - 23 - - - - RI : Réel Imaginaire - - - - - - 10 - 50 - 444 - 23 - - - - MP : Module Phase - - - - - - - 4 - 270 - 219 - 51 - - - - - 190 - 40 - - - - - - - 230 - 270 - 218 - 51 - - - - - 190 - 40 - - - - - - - 9 - 332 - 444 - 51 - - - - <font size="+2">Un complexe est attendu</font> - - - false - - - - - - 150 - 430 - 140 - 41 - - - - validation de la saisie - - - &Valider - - - Shift+A, Alt+A, Alt+A, Alt+A - - - true - - - true - - + + + + + + + <font size="+2">Complexe de la forme : a+bj</font> + + + false + + + + + + + + 390 + 40 + + + + + + + + + + + + Qt::Vertical + + + + 20 + 40 + + + + + + + + Ou + + + + + + RI : Réel Imaginaire + + + + + + + MP : Module Phase + + + + + + + + + + + + + + + 190 + 40 + + + + + + + + + 190 + 40 + + + + + + + + + + + + <font size="+2">Un complexe est attendu</font> + + + false + + + + + + + Qt::Vertical + + + + 20 + 40 + + + + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + + 160 + 30 + + + + + 160 + 30 + + + + validation de la saisie + + + &Valider + + + Shift+A, Alt+A, Alt+A, Alt+A + + + true + + + true + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + + diff --git a/UiQT4/desUniqueInto.py b/UiQT4/desUniqueInto.py index 108c10f2..d3d887dc 100644 --- a/UiQT4/desUniqueInto.py +++ b/UiQT4/desUniqueInto.py @@ -2,7 +2,7 @@ # Form implementation generated from reading ui file 'desUniqueInto.ui' # -# Created: Thu Mar 12 10:42:31 2009 +# Created: Fri Apr 24 14:21:54 2009 # by: PyQt4 UI code generator 4.4.3 # # WARNING! All changes made in this file will be lost! @@ -14,32 +14,42 @@ class Ui_DUnIn(object): DUnIn.setObjectName("DUnIn") DUnIn.resize(482, 480) DUnIn.setMinimumSize(QtCore.QSize(350, 0)) - self.gridlayout = QtGui.QGridLayout(DUnIn) - self.gridlayout.setObjectName("gridlayout") + 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.setGeometry(QtCore.QRect(9, 359, 442, 30)) self.Commentaire.setMinimumSize(QtCore.QSize(420, 30)) self.Commentaire.setWordWrap(False) self.Commentaire.setObjectName("Commentaire") - self.listBoxVal = QtGui.QListWidget(self.Widget8) - self.listBoxVal.setGeometry(QtCore.QRect(9, 31, 442, 322)) - self.listBoxVal.setObjectName("listBoxVal") - self.textLabel2 = QtGui.QLabel(self.Widget8) - self.textLabel2.setGeometry(QtCore.QRect(9, 9, 442, 17)) - self.textLabel2.setWordWrap(False) - self.textLabel2.setObjectName("textLabel2") + 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.setGeometry(QtCore.QRect(160, 395, 140, 30)) - self.bOk.setMinimumSize(QtCore.QSize(0, 30)) + 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.addWidget(self.tabuniqueinto, 0, 0, 1, 1) + self.gridLayout_2.addWidget(self.tabuniqueinto, 0, 0, 1, 1) self.retranslateUi(DUnIn) QtCore.QMetaObject.connectSlotsByName(DUnIn) diff --git a/UiQT4/desUniqueInto.ui b/UiQT4/desUniqueInto.ui index 6eb525db..0023c022 100644 --- a/UiQT4/desUniqueInto.ui +++ b/UiQT4/desUniqueInto.ui @@ -18,92 +18,105 @@ DUnIn - + Saisir Valeur - - - - 9 - 359 - 442 - 30 - - - - - 420 - 30 - - - - - - - false - - - - - - 9 - 31 - 442 - 322 - - - - - - - 9 - 9 - 442 - 17 - - - - <b><u><p align="center">Valeurs possibles</p></u></b> - - - false - - - - - - 160 - 395 - 140 - 30 - - - - - 0 - 30 - - - - validation de la saisie - - - &Valider - - - Shift+A, Alt+A, Alt+A, Alt+A - - - true - - - true - - + + + + + <b><u><p align="center">Valeurs possibles</p></u></b> + + + false + + + + + + + + + + + 420 + 30 + + + + + + + false + + + + + + + + + Qt::Horizontal + + + + 138 + 20 + + + + + + + + + 160 + 30 + + + + + 160 + 30 + + + + validation de la saisie + + + &Valider + + + Shift+A, Alt+A, Alt+A, Alt+A + + + true + + + true + + + + + + + Qt::Horizontal + + + + 118 + 20 + + + + + + + diff --git a/UiQT4/myMain.py b/UiQT4/myMain.py index 02b3f50c..1f4c506e 100644 --- a/UiQT4/myMain.py +++ b/UiQT4/myMain.py @@ -2,7 +2,7 @@ # Form implementation generated from reading ui file 'myMain.ui' # -# Created: Wed Jan 28 11:24:41 2009 +# Created: Thu Apr 23 16:20:17 2009 # by: PyQt4 UI code generator 4.4.3 # # WARNING! All changes made in this file will be lost! @@ -12,13 +12,12 @@ from PyQt4 import QtCore, QtGui class Ui_Eficas(object): def setupUi(self, Eficas): Eficas.setObjectName("Eficas") - Eficas.resize(1406, 600) + Eficas.resize(1383, 811) self.centralwidget = QtGui.QWidget(Eficas) - self.centralwidget.setGeometry(QtCore.QRect(0, 68, 1406, 510)) self.centralwidget.setObjectName("centralwidget") Eficas.setCentralWidget(self.centralwidget) self.menubar = QtGui.QMenuBar(Eficas) - self.menubar.setGeometry(QtCore.QRect(0, 0, 1406, 29)) + self.menubar.setGeometry(QtCore.QRect(0, 0, 1383, 29)) self.menubar.setObjectName("menubar") self.menuFichier = QtGui.QMenu(self.menubar) self.menuFichier.setObjectName("menuFichier") @@ -36,11 +35,9 @@ class Ui_Eficas(object): self.menuPatrons.setObjectName("menuPatrons") Eficas.setMenuBar(self.menubar) self.statusbar = QtGui.QStatusBar(Eficas) - self.statusbar.setGeometry(QtCore.QRect(0, 578, 1406, 22)) self.statusbar.setObjectName("statusbar") Eficas.setStatusBar(self.statusbar) self.toolBar = QtGui.QToolBar(Eficas) - self.toolBar.setGeometry(QtCore.QRect(0, 29, 1406, 39)) self.toolBar.setObjectName("toolBar") Eficas.addToolBar(QtCore.Qt.TopToolBarArea, self.toolBar) self.action_Nouveau = QtGui.QAction(Eficas) diff --git a/UiQT4/myMain.ui b/UiQT4/myMain.ui index 4ffb0e3f..d658dd50 100644 --- a/UiQT4/myMain.ui +++ b/UiQT4/myMain.ui @@ -5,29 +5,20 @@ 0 0 - 1406 - 600 + 1383 + 811
MainWindow - - - - 0 - 68 - 1406 - 510 - - - + 0 0 - 1406 + 1383 29 @@ -94,25 +85,8 @@ - - - - 0 - 578 - 1406 - 22 - - - + - - - 0 - 29 - 1406 - 39 - - toolBar